NetBeans IDE provides the best out-of-the-box experience for Java EE development, deployment, and debugging. Early builds of NetBeans have already started providing support for Java EE 7 features such as
- Registering GlassFish 4
- Creating Java EE 7 application
- Wizard for JAX-RS 2 Filters/Interceptors
- Initial support for Faces Flow
- Loading templates from a resource library
- Non-persistent EJB timers in Web profile
- Wizard for WebSocket endpoints
Creating a Java EE 7 Web application and using GlassFish 4 server
Creating a WebSocket endpoint
Wizard for creating WebSocket endpoint
The generated code looks like:
@WebSocketEndpoint("/endpoint")Creating a JAX-RS 2 Filter
public class NewWSEndpoint {
@WebSocketMessage
public String onMessage(String message) {
return null;
}
}
Wizard for creating a JAX-RS 2 Filter
By default it is a server-side filter but can be made client-side filter too.
Wizard for creating a JAX-RS 2 Interceptor
Creating a RESTful Java Client using JAX-RS 2 Client APIs
Wizard for creating a JAX-RS 2 Client
This is a very early work-in-progress so any feedback is welcome.
Download GlassFish 4.0 promoted build, register it with NetBeans IDE and take it for a test drive!