NetBeans Plugin for Managing Jelastic PaaS Environments from IDE

DZone 's Guide to

NetBeans Plugin for Managing Jelastic PaaS Environments from IDE

Let's take a look at a tutorial that explains how to install the Netbeans plugin and manage Jelastic environments through NetBeans IDE.

· Integration Zone ·
Free Resource

NetBeans 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 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.

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

3. Click the button in the appeared window.

4. Read and accept the terms of the license agreement with the appropriate checkbox.

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.

Now, you have Jelastic Plugin in your NetBeans IDE.

Connect NetBeans Plugin to Jelastic Account

1. Navigate to the menu item. Window > Services

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

paas3. Choose .Jelastic in the list of cloud providers and click Next

4. In the opened window specify fields with Jelastic credentials. 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

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 cloudNote: 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.

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.

Stop/Start Environment

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

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

manage environmentsGet 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 plugin2. Log file will be automatically opened.

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

netbeans guideApplication 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.

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.

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

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

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

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.

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 tab. Open App in browser in the Services

As a result, your application will be opened.

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.

integration ,tutorial ,netbeans ,jelastic paas environments ,ide ,open source

Published at DZone with permission of Tetiana Fydorenchyk , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}