Network Computing is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Sun's NetBeans 4.1: Page 2 of 3

Calling EJBs and databases and sending JMS messages are as simple as a mouse click with NetBeans 4.1.

I finished the application by whipping up a JSP that used JSTL (JavaServer Pages Tag Library) to reference the session bean and then built the project.

Testing the application requires the same steps as testing J2EE within other Java IDEs; an embedded Sun Java System Application Server 8.1 or Tomcat is used to deploy and run the application. I tested the application locally and then deployed it to a cluster of Sun Java System Application Server 8.1 instances through its DAS (Domain Admin Server) interface. After testing the deployed application, I was able to create a Web service from my beans, again with just a few mouse clicks. NetBeans natively generates DOC/LIT Web services and supports WS-Security in its Application Server 8.1.

What's truly impressive about NetBeans is its ability to debug an application through all the layers of technology from a single window. I was able to set a breakpoint on a JSTL tag in my JSP and then step all the way into the Java code behind the Session and Entity beans. Just being able to debug JSP would have been great, but Sun takes debugging to new heights (or should I say depths?) with NetBeans 4.1.

Like Eclipse, NetBeans 4.1 can be extended through plug-ins. One of the problems with building GUIs using Swing is the rigidity of the layout managers. Sun promises to fix this issue with a new plug-in for NetBeans. I was able to take a peek at an alpha version of Project Matisse, which includes a new, flexible layout manager and a drag-and-drop GUI builder. I was able to drag widgets onto the canvas using a layout manager with no constraints on placement. The GUI builder will be available in NetBeans."next" with a development build available this month.