Today, we want to show you how easy it is to deploy your Enterprise JavaBeans (EJB) apps to the Jelastic Cloud.
You don't have to change a single line of code or custom configuration.
It's just a few simple steps.
If you aren't running or using EJB, there are some pretty great benefits that you can take advantage of. EJB is the server-side component architecture for the Java Platform, Enterprise Edition (Java EE). Enterprise Beans simplify the development of large, distributed applications.
- Simple, elegant component container model (Java server components can be developed once and deployed in any EJB-compliant server).
- Independent architecture (apps developed for one platform can be redeployed on other platforms).
- Customization without access to the source code (application behaviour and runtime settings are defined through attributes that can be changed when the enterprise bean is deployed).
- Caching and transaction (this works for database oriented applications).
- Security (method level security and role assignment).
- Scalability (EJB can be used for small-scale or large-scale business transactions).
- Pooling and threading (works for all kinds of application).
So let's get started now!
1. Create the environment
1. Go to jelastic.com and sign up if you haven't done it yet or log in with your Jelastic credentials by clicking the Sign In link on the page.
2. Click Create environment to set up a new environment in Jelastic.
3. In the Environment topology window, select GlassFish as your application server, set the Cloudlets limit (e.g. 12), type your environment name, for example, ejbtest, and click Create.
In a minute your environment will be created and will appear in the environments list.
Upload Java package
1. Upload your EAR archive to the Deployment manager.
You can download our sample application for testing here.
2. Deploy it to the environment you have created earlier.
Now you can open your application in a web browser and enjoy!
- How to install Apache Roller Weblogger on Jelastic (jelastic.com)
- Flex hosting for [fleXive] CMS (jelastic.com)