jetty-server-nb - plugin detail

Allows to develop web projects with Jetty Http Server. Supports starting, debugging and profiling ant-based and/or maven-based web application (similar to the Tomcat server).

NetBeans Plugin - jetty-server-nb
Plugin owner: Valery-Sh
Website: https://github.com/Valery-Sh/jee-server-api
Added: 2015-09-29
License: CDDL
Category: Web Applications
Downloaded: 363 times
Rating:
 0, by 0 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.22 MB   Last Update: 2015-10-22

What's new in this version

Version 1.2.0

Few bugs fixed.

Correctly works with classpath as jetty itself does. Add Libraries node in the Project View Window.

Improved hot deployment support.

Correctly works with CDI (needs bean.xml for web apps).

"Add beans.xml" and "Add jsf Listener" menu items for web apps.

Supports Mojarra JSF and My Faces. (Jsf listeners are not required to be configured in a web.xml descriptor).

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

What's new

  • Correctly works with classpath as jetty itself does.
  • Add Libraries node in the Project View Window
  • Improved hot deployment support
  • Correctly works with CDI (needs bean.xml for web apps).
  • Add beans.xml and Add jsf Listener menu items for web apps. Jsf listeners are not required for Jsf Mojarra or Jsf My Faces
  • Supports Mojarra JSF and My Faces.

Supported JSF Frameworks:

  • PrimeFaces
  • IceFaces
  • RichFaces

Purpose

Allows to develop web projects with Jetty Http Server. Supports starting, debugging and profiling ant-based and/or maven-based web application (similar to the Tomcat server).

Plugin provides API for Incremental deployment (compile on save and deploy on save) and jsp compilation.

System Requirements

The plugin supports Jetty version 9.3.0, 9.3.1, 9.3.2, 9.3.3, 9.3.5 The recommended version of Jetty is 9.3.2 or higher,

To install the plugin, you need to have Java Developer Kit (JDK) v1.8.0 or higher and NetBeans IDE v8.0.2 and above pre-installed on the user computer.

Installation

How to create a Server Instance

Option 1
To create and register a Server Instance in a usual NetBeans IDE manner, use the menu Tools -> Servers -> Add Server. In the dialog box "Add Server Instance" select "Jetty Server" item from the "Choose Server" list and click "Next".
  • Specify the name of the directory that will be used to configure and to customize the Server Instance. As you may know, Jetty 9.1 introduced the concept of Jetty Base and Jetty Home. This means that it is now possible to separate the installation of the jetty standalone server in a certain directory (known as ${jetty.home}) and the customizations for your specific environment (known as ${jetty.base}). Specify the directory for NetBeans to create jettybasesubdirectory in the "Jetty Base Folder" box; such subdirectory corresponds to the concept of ${jetty.base}.
  • Specify the path to the root directory with the binary installation of the standalone Jetty in the 'Jetty Home' box.
  • If required, change http port, debug port and stop (shutdown) port fields in the Connection tab ). If necessary, change the default values for Http Timeout.
Option 2
We mentioned above, registration of a server instance in a standard manner leads to the creation of a project. Therefore, the plugin allows the creation of such a project by using the menu File -> New Project.

In the dialog window in the Choose Project panel, go to the Categories list,choose JettyServer and then click the Next button.

A new window is then opened containing the same fields and tabs as described in Option 1.. Use of Option 2 results in registration of a new Server Instance and creation of a new corresponding Project containing the jettybase subdirectory .

[ You have to be logged in to be able to comment. ]

User Comments

There are no comments yet.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo