Jelastic Integration with Eclipse

By | November 13, 2012
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:

[youtube=http://www.youtube.com/watch?v=AzLxdadJtx4&feature=related&w=495&h=285]

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

Subscribe to get the latest updates

  • Pingback: Eclipse Plugin für Jelastic()

  • Pingback: Jelastic PaaS Integrates With Eclipse IDE | Cloud VPS Hosting()

  • 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?

    • Hey Lars!
      Just navigate to Eclipse settings > Genaral > Network connections and specify your proxy parameters.
      Best regards.

  • Deploy solves the issue with missing FTP feature.

  • 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!

  • 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/)

  • Is this plugin not available any more?

    • Marina Sprava

      It’s has to be available. Any problems to get it?

      • yes, the eclipse download site http://eclipse.jelastic.com/update/ seems not to exist anymore

        • soraya

          hello,
          I integrate jelastic in eclipse but I have problem in jelastic preference step

          • Tetiana Fydorenchyk

            hello,
            what exactly problem did you face? please contact your hoster’s support, provide them more details and they will assist you.

          • soraya

            how can I get my username and password

  • Satyajit

    After I updated my eclipse from mars to oxygen then end up with the error while starting or loading the jelastic environment Error with popup window in eclipse says Error loading Environment and Reason is JSONObject[“engine type”] not found.

    Please help as soon as possible
    Thank you

    • Tetiana Fydorenchyk

      Hi, can you please provide the name of hoster you use and your email (you can write this info to support@jelastic.com)? Then our support team will check what could lead to this problem and help you to fix it.