Using NetBeans
NetBeans 4.1 is like any IDE you've ever used: the central window contains the source, and optionally other views (such as XML properties dialogue, form editor, etc.) depending on the type of file you are viewing. Integrating debugging is available at the click of a button. You can expand/collapse methods or code segments. Code coloration, code hints (with javadoc displays), comment buttons allow you to easily comment/uncomment code blocks during testing, one-click buildingall the good stuff. A few features stood out.
Form Editor
NetBeans' Form Editor is cool (Figure 1
). Simply click on the Swing element you wish to create, then edit any properties. Or, click the source button to edit the source.

Figure 1
The Runtime Window
The Runtime Window (Figure 2
) allows you to see what's going on: currently running processes, external services, debugging sessions, etc.

Figure 2
J2EE Features
As a J2EE developer, I always look for ways to simplify the development of Web and Enterprise applications. NetBeans helps. Wizards shorten the time to develop EJBs and allow for visual linking. JSPs can be edited internally. Deployment is easy (at least to the embedded Sun application server). Modification of deployment descriptors is fast. The HTTP Monitor rocks, allowing for watching the interaction with the Web server, and displaying cookie information, session parameters, request parameters and the like. I think the time spent learning all of this will easily be returned in productivity gains.
Mobility Features
J2ME development with NetBeans requires installation of the Mobility Pack. It's a simple processand well worth it. When you reload NetBeans, simply create a new mobile project. You will then get the Flow Design screen, which shows the flow of your mobile application (Figure 3
).

Figure 3
You can edit the source directly or create new MIDlets and Java classes to use in your development. The Screen Design interface (Figure 4
) allows you to see what will output to the mobile screen. Very cool.

Figure 4
Web Services Features
As Service Oriented Architecture (SOA) continues to allow for remote application integration, it is increasingly necessary to have solid Web services integration. NetBeans allows for simplified creation and consumption of Web services. Web services are consumed by importing a WSDL file, which creates a stub that invokes that Web service. Everything worked as planned when I tested by consuming a Web service from an online Web services directory. Creating is almost as simpleyou create a new Web service as you would any other project element, then either point it to an existing Java class and expose the methods you wish. Or, you can create a Web service from a WSDL file or even create one from scratch.
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|