Jelastic plugin for Eclipse
- Tutorial
Hello! We want to share the latest news with the habrasociety: now the Jelastic cloud platform is integrated with the Eclipse IDE. A special plugin for Eclipse makes the development of Java EE web applications on the Jelastic platform much more convenient: now you can deploy the application to the cloud directly from Eclipse and do not constantly switch between the IDE and the browser. Eclipse is known to be at the heart of many Java developers, so we hope that they will appreciate this innovation. Useful functions are also available, such as managing (starting, stopping, etc.) the user environment and access to server logs.
Let's briefly look at how to install the plugin and how to use its main functionality.
Installation
To install the plugin, simply open the main Eclipse window, go to Help> Market Place , select Jelastic from the list of plugins and, in fact, install.

Beginning of work
To get started with Jelastic, you need to enter your account information. Go to Window> Preferences> Jelastic Preferences . In the tab that opens, select a host from the list and enter your credentials.

Work with environments and view logs
1. Go to Window> Show View . The Jelastic Cloud Platform category will be listed. Expand this menu item to make Jelastic accessible from the Eclipse admin panel.
2. In the tab that opens, you can view your current environment. In addition, you can control them through the context menu by selecting the necessary option: Start / Stop / Refresh.

3. Expand the environment menu to see a list of containers and view their logs.

Application Deployment
After installing the plugin, a button with the Jelastic logo and a drop-down menu with the Deploy and Deploy as options will appear in the Eclipse panel . Using the Deploy option, you can redeploy projects in the same environment and context. To deploy a new project to a new environment, use Deploy as .

In addition, application deployment can be done through the project context menu using the Deploy project to Jelastic and Deploy project to Jelastic as options .

It is worth noting that in order to deploy projects from Eclipse to Jelastic, they must be created as dynamic or static web projects. To do this, you need to install the Web, XML, Java EE and OSGi Enterprise Development plugin.
I hope that this short instruction will be useful for you. If you have questions, please contact, we will be happy to help.
Now we are also working on a plugin for IntelliJ IDEA, so soon users of this IDE will also be able to deploy their projects to the cloud in a very easy and convenient way.
Thanks for attention! We will be very grateful for testing the plugin and feedback.