Saturday August 20, 2005
Being Greedy: Instantaneous Struts and JSF Support in NetBeans IDE
When I wrote How to setup a basic Struts project using NetBeans IDE 4.0, I was quite amazed at how much smoother Struts integration had become since NetBeans 3.4. I mean, of course I expected improvements and so on, but I didn't realize, until writing the article, the extent to which Struts support in NetBeans had advanced. NetBeans IDE 4.1 stayed the same for Struts -- no changes were made. But the next release is going to provide a problem though -- Struts (and JSF) will be so tightly integrated in the IDE that there won't be many ways to improve any further after that! On the bright side, my rewrite of that Struts article for the next release is going to be very very simple. It's going to consist of four screenshots, each accompanied by one sentence. Here's the draft... it covers Struts and JSF.
Creating a New Project with Struts and JSF Support
Use the new 'Frameworks' panel in the New Project wizard (click to enlarge):
Adding Struts and JSF Support to an Existing Project
Use the new 'Frameworks' panel in the Project Properties dialog box (click to enlarge):
Let's assume you're greedy -- you chose both Struts and JSF. What does your project look like? Well, click the screenshot below to find out...
And what about code completion? Straight out of the box, without configuring anything anywhere, click Ctrl-Space in the Source Editor, et voila (click to enlarge):
By the way, note the new code snippet panel -- cool, isn't it?
Aug 20 2005, 08:33:13 AM PDT Permalink






