NetBeans Plugin for Managing Jelastic PaaS Environments from IDE

By | September 25, 2018

netbeansNetBeans is a free and open-source integrated development environment (IDE). It supports the development of all Java application types (Java SE, Java ME, web, EJB, and mobile applications) out of the box.

All the functions of the IDE are provided by modules, which allow NetBeans IDE to be extended. Each module provides a well-defined function, such as support for the Java language, editing, support for the CVS or SVN versioning system. NetBeans IDE contains all the modules needed for Java development in a single download, allowing the user to start working immediately.

Jelastic team has created a plugin for NetBeans development platform that simplifies the process of application management and development in Jelastic PaaS.

Use the following instruction to install the plugin and manage Jelastic environments through NetBeans IDE.

NetBeans Plugin Installation

In order to start working with the Jelastic NetBeans plugin, you need to get it installed within the IDE.

1. Run the latest version of NetBeans IDE (Java EE or All bundle) and navigate to the Tools > Plugins menu item.ide

2. Switch to the Available Plugins tab and enter jelastic in the Search field. Choose Jelastic Netbeans Plugin in the list and click the Install button.java ide

3. Click the Next button in the appeared window.javascript ide4. Read and accept the terms of the license agreement with the appropriate checkbox.netbeans ide

Click Install to proceed.

5. After installation success, close the window with the Finish button.netbeans java

Tip: Before the last step you may need to Verify Certificate for the Jelastic plugin, click the Continue button to proceed.

java netbeans

Now, you have Jelastic Plugin in your NetBeans IDE.

Connect NetBeans Plugin to Jelastic Account

1. Navigate to the Window > Services menu item.netbeans tutorial

2. Within the opened section, right-click on the Cloud line and add a new cloud.paas

3. Choose Jelastic in the list of cloud providers and click Next.platform as a service

4. In the opened window specify Display name (any preferable name, for example, myjelastic), choose (from the drop-down list) or type your Jelastic hosting Provider domain, and fill in Login and Password fields with Jelastic credentials.cloud paas

Click Finish to establish the connection.

5. Now, if you expand the Cloud list, you will see a new one with the name you’ve specified.paas cloud

Note: To delete your cloud from NetBeans IDE, navigate to Tools > Cloud Providers. Within the opened window, choose Jelastic installation and click the Remove Cloud button.cloud provider

NetBeans Plugin Management

Now, as you have the Jelastic NetBeans plugin installed and connection established, you can proceed to the management of your existing Java environments via the Services tab. For that expand your Cloud list and choose the desired environment.paas environments

Stop/Start Environment

1. To stop an environment right-click on it and choose Stop environment.paas environment

2. If you want to run already stopped environment, right-click on it and choose Start environment.manage environments

Get Log Files

1. You can easily manage log files on your Jelastic instances directly in IDE. Expand the required node to find the log file you are interested in, right-click it and choose Get log (or just double-click).netbeans plugin

2. Log file will be automatically opened.java netbeans ide

3. If you want to save log file, choose the File > Save As menu item. netbeans guide

Application Context

If you have a deployed application, you can right-click on the appropriate context in the environment to open your application in the browser.netbeans plugin

Also, using this menu you can delete the chosen context.

Deploy Application via NetBeans Plugin

You can create own project in NetBeans IDE and deploy it right into your Jelastic environment.

Create New Project

1. Click the New Project button in the upper tools panel of NetBeans IDE.netbeans ide

2. Choose the Java Web category and the Web Application project. Click Next.java ide

3.In the opened window, enter the desired Project Name, specify Project Location and Project Folder. Click Next to proceed.netbeans tutorial

4. Select one of your environments in the Server drop-down list. If needed, specify the context and click Next one more time.netbeans guide

5. If you want to use frameworks in your application, tick the required ones and click Finish.cloud paas

6. Your new web project will be created in a moment.ide

Deploy Project

1. Right-click the name of your project and choose the Deploy menu item.platform as a service paas

2. Next, the .war archive of your project will be built and deployed to the Jelastic PaaS.java netbeans tutorial

3. To make sure everything works, open your application URL in the browser manually or automatically by clicking Open App in browser in the Services tab.netbeans plugin development

As a result, your application will be opened.netbeans java

With Jelastic NetBeans IDE plugin installed you can easily manage, develop and deploy your applications without switching between the IDE and the browser. Get started now at one of the available service providers.

 

Subscribe to get the latest updates