⬆️ ⬇️

Jelastic plugin for Eclipse

image Hello!

We want to share with the habrasoobshchestvo the latest news: now the cloud platform Jelastic is integrated with the Eclipse IDE. A special plug-in 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 IDE and browser. It is known that Eclipse underlies the activities of many Java-developers, so we hope that they will appreciate this innovation. Also available are useful features such as managing (start, stop, etc.) user environment and access to server logs.



Let's take a quick 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 plug-ins and, as a matter of fact, install.

')

image



Beginning of work


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



image



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 opened tab you can view your current environment. In addition, you can manage them through the context menu by selecting the necessary option: Start / Stop / Refresh.



image



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



image



Deploy the application


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



image



In addition, application deployment can be performed via the context menu of the project using the Deploy project to Jelastic and Deploy project to Jelastic as options.



image



It should be noted that to deploy projects from Eclipse to Jelastic, they must be created as dynamic or static web projects. To do this, you must install the Web, XML, Java EE and OSGi Enterprise Development plugin.



I hope that this brief instruction will be useful for you. If you have any questions, please, happy to help.



Now we are also working on a plugin for IntelliJ IDEA, so that 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.

Source: https://habr.com/ru/post/158661/



All Articles