Jelastic Integration with Eclipse

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

What does make Eclipse a highly successful platform with a lot of free IDEs out there? First of all it’s user-friendly interface, intuitive to learn and use. Secondly, this platform allows anyone to build tools that integrate seamlessly with the environment and other tools. Working within the Eclipse IDE you can pick and choose the features you want to use from the wide open-source world of plug-in options. Also Eclipse has some of the best tooling available for JEE projects. Eclipce is more than a Java IDE, it serves a wide variety of purposes – from Java, AOP, web, to C/C++ development. Thanks to all the benefits above and other advantages Eclipse has tons of fans all over the world.

We also really love this great application platform! That’s why we have created a plug-in for Eclipse. A special plug-in makes development of Java EE web applications on the Jelastic platform much more convenient, since the developer can now log in to Jelastic and deploy the app to the cloud right from Eclipse.

Let’s consider now how to install the plugin and manage Jelastic environments through Eclipse.

Plugin Installation

1. Open main Eclipse window. Navigate to Help > Market Place.

2. Type Jelastic in Find field.

3. Confirm selected features.

4. Accept the license agreement.

5. The installation process may take some minutes. After the installation is finished restart Eclipse for the changes to take place.

Start plug-in

To get started with Jelastic fill in your account data. Navigate to Window > Preferences > Jelastic Preferences. In the opened Eclipse tab fill in Login, Password and Jelastic host.

Working with existing environments and logs viewing

1. Navigate to Window > Show View. You can notice that Jelastic Cloud Platform category is added to the list. Expand this menu item to open Jelastic view in the Eclipse admin panel.

2. In the opened tab your current Jelastic environments and deployed applications can be viewed. Also they can be managed through context menu by choosing the needed option: Start/Stop/Refresh.

3. Expand the environment menu to view the list of the containers included and get their logs.

Deploying Application

After installation at the Eclipse panel there will be added a button with Jelastic logo and the drop-down menu with Deploy and Deploy as options.

Using Deploy option you can redeploy the current project to the environment and context previously used for this project deployment.

If the application hasn’??t been deployed anywhere before, Deploy as option is used. In this case the window with a list of environments is opened for you to choose the project, the environment and the context for deploying the application.

Also the deployment of application can be performed through context menu of the project by using Deploy project to Jelastic and Deploy project to Jelastic as options.

Note: To deploy the projects from Eclipse to Jelastic they should be created as Dynamic/Static web projects. To do this you need to install Web, XML, Java EE and OSGi Enterprise Development plugin.
Navigate to File > New > Project to see the available projects:
  • Dynamic web project
  • Static web project

Here is a video version of the same procedure:

That’s all for today! Though we’ve only scratched the surface of the Eclipse IDE and I’m sure I could miss something the makes Eclipse important for you, so please feel free to share your favorite features in comments below.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

13 Comments

Leave a Reply

Contact Jelastic for More Information CONTACT
%d bloggers like this: