FeaturesPluginsDocs & SupportCommunityPartners

NetBeans IDE 6.1 Features

Java EE (Enterprise Edition)

Use the NetBeans IDE to develop portable, robust, scalable and secure server-side Java applications. Java Enterprise applications are deployed to servers and can be accessed through a web browser.

Enterprise Technologies

Use the NetBeans IDE for development with the Java Persistence API(JSR-220), servlets, JavaServer Pages(JSP), Enterprise JavaBeans(EJB) and web services. The Java EE pack for the NetBeans IDE supports the latest J2EE 1.3, J2EE 1.4 and Java EE 5 standards, including annotations.

enterprise project window

Server Deployment improved!

The NetBeans IDE packages your enterprise applications into a enterprise archive (EAR) and deploys the file to a Java EE application server. The IDE works with any standard Java Enterprise Edition (Java EE) container, such as Sun Java System Application Server 8 and 9, GlassFish v1 and v2, Apache Tomcat 4, 5 and 6, JBoss 4, BEA WebLogic 10, IBM WebSphere 6.0 and 6.1, Sailfin V1 (new in 6.1) and others.

Video: GlassFish Integration

list of enterprise servers

Java Persistence

The IDE provides tools to work with the Java Persistence API. 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.

Hibernate Framework Support new!

Beta Feature in NetBeans IDE 6.1

Automatically bundle Hibernate libraries with your application by selecting the Hibernate framework in the New Project wizard. Create and edit Hibernate configuration files and mapping files using the New File wizard and visual editor.

Refactoring Java classes and fields (find usages, rename, move) also updates the Hibernate mapping files accordingly. The Editor does not only auto-complete Java classes and fields, but also database table and column names in Hibernate mapping files, and some property names and values in Hibernate configuration files. Use hyperlinks to navigate between configuration and mapping files, as well as between mapping files and referenced Java classes.

Install the Hibernate plugin (Beta) for the NetBeans IDE 6.1 from the Beta Update Center.

Generate JSF pages from entity classes

Spring Framework Support new!

You can now select the Spring framework in the New Project Wizard and immediately start out with a skeleton Spring Web MVC application complete with artifacts. Take advantage of refactoring, hyperlinking, and code completion in the editor. Arrange sets of configuration files into custom groups and get a head-start by using wizards for XML configuration files and Spring Web MVC controllers.

Video: Getting Started with Spring

Spring Code Completion

Code Completion, Templates and Wizards

BluePrints*, templates and wizards included in the IDE assist you in creating Enterprise Java Beans (EJB 3.0), servlets, JSP pages, and JAX-WS web services. The Source Editor provides full code completion for Java EE 5 resources injection annotations. The IDE automatically injects resources into your files when you run commands like Call EJB and Use Database.

Java EE code completion

EJB development

In the NetBeans IDE, you code Enterprise Java Beans (EJBs) just like any other Java class, assisted by code completion and editor hints. The IDE makes sure you implement the correct methods and keep the classes in sync with their interfaces.

You do not need to use special commands and dialog boxes to generate things like business methods or web service operations, although the commands are still available to help acquaint you with the syntax of Java EE 5 code.

 

(*) BluePrints are available from the Update Center (Menu: Tools > Plugins > Available Plugins)

 

- Java EE Learning Trail

ejb development
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Open ESB - The Open Enterprise Service Bus Powered by