Jelastic Integration with Eclipse

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.

13 Responses to “Jelastic Integration with Eclipse”

  1. Eclipse Plugin für Jelastic

    [...] Die Installation des Plugins erklären wir ausführlich in unserem Jelastic Blog [...]

    Reply
  2. Jelastic PaaS Integrates With Eclipse IDE | Cloud VPS Hosting

    [...] world of plug-in options,” said Marina Sprava, public relations manager at Jelastic, in a blog post. “Also Eclipse has some of the best tooling available for JEE projects. Eclipse is more than a [...]

    Reply
  3. Lars Hagrot

    I tried the plugin from within a customers private network. Internet connections have to pass a proxy (as usually is the case for enterprises). I did not succeed when it comes to connect to my jelastic provider. Have anybody verified the possibility to configure eclipse to enable the Jelastic plugin to communicate through a proxy?

    Reply
  4. tesnep

    Deploy solves the issue with missing FTP feature.

    Reply
  5. Alvin P. Reyes

    Reblogged this on Alvin "Jay" Reyes Blog and commented:
    Now you can deploy your java web apps directly to your jelastic instance from your eclipse ide!

    Reply
  6. Gal

    In some eclipse versions, jelastic plugin can’t be found via the eclipse market place.
    In such case simple add it via Help->Install new software.. (Add Jelastic URL: http://eclipse.jelastic.com/update/)

    Reply
  7. Thomas P.

    Is this plugin not available any more?

    Reply

Leave a Reply