Server Deployment
The IDE works with any standard Java Enterprise Edition (Java
EE) container, and was tested with GlassFish Server Open Source Edition
3.1.1, WebLogic 12c and 11g, Apache Tomcat 7.0 and 6.0, JBoss 6.1, and
others.
JSF 2.0 Development
The NetBeans IDE supports Facelets, the official view
technology for JSF 2.0. You can create a new web application project
based on the Facelets framework and work with standard JSF reference
implementation components. This includes a comprehensive library of
JavaServer Faces components such as Table, Calendar, Tree, Tab Set,
File Upload, and more.
The IDE comes with an editor for deployment descriptors
(web.xml files) and an HTTP monitor for tracking and debugging the data
flow between components of a web application.
Introduction
to JavaServer Faces 2.0
JSF Code Generation and Palettes
Use the JSF CRUD application generator
(Create/Read/Update/Delete) to create a complete functional JSF page
for manipulating data from a database. The New File wizard can generate
customizable CRUD JSF pages from existing entities.
Use the customizable HTML and JSF components palettes to drag
and drop HTML and JSF forms into web pages, and let it generate JSF
data tables from entities. The IDE now generates code using annotations
instead of deployment descriptors where possible.
Enterprise Java Beans (EJB) Development
The IDE now supports EJB 3.1 in web application projects and
the EJB project file wizard also offers the Singleton session type. Use
a wizard to easily create a Session Bean for an entity class including
appropriate annotations and commonly used default methods. You can
expose the bean with a local interface or a no-interface view.
Creating an
Enterprise Application with EJB 3.1
Java Persistence
The IDE provides tools to work with the Java Persistence API
2.0. Wizards enable you to generate entity classes from a database, and
a JavaServer Faces CRUD (Create Retrieve Update Delete) application
from entity classes. The IDE supports all types of entity relationships
(one-to-one, one-to-many, many-to-one, and many-to-many) and all types
of primary keys (single-column, composite, and generated). The IDE also
provides templates and graphic editors for creating and maintaining
persistence units.
JavaServer Pages (JSP) Development
In JavaServer Pages (JSP) files, the editor assists you with
code completion, hypertext navigation, error checking, and debugging.
You can also leverage the JavaServer Pages Standard Tag Library (JSTL).
Deploy on Save
The IDE instantly redeploys any running Java EE application
when a change is made to the project. Deploy on Save is available for
web, EJB and EAR applications, and supported for GlassFish 3.x and 2.x,
WebLogic and Tomcat (directory-based deployment is prerequisite).
Java
EE
and
Java Web Learning Trail
|