The following is a collection of links which I have pulled (verbatim) from Sun’s website which I intend to return to in the future. They came from the Intro to Struts Tutorial (linked), but I’m more interested in the follow ups.
Adding Your Favorite Struts Features to the IDE
When using Struts, you are not limited to the functionality provided by the IDE. You can enhance the IDE by adding features that the IDE does not support. Here are some examples:
- You can add Struts-specific HTML snippets to the Component Palette. For example, you can add the HTML code that you used to create the Submit, Reset, and Cancel buttons as snippets to the HTML palette.
Then, you can drag the snippets from the palette and drop them in the Source Editor. You can create a NetBeans plug-in module that contains the snippets, and then share them with your colleagues. To do so, see the NetBeans Code Snippet Module Tutorial. - Instead of adding your Struts snippets to an existing palette, you can create a completely new palette, specifically for the struts-config.xml file. Again, you can share the result with your colleagues, in the form of a plug-in module. To do so, see the NetBeans Component Palette Module Tutorial.
- You can extend the JSP editor, to provide features specifically for use with the Struts framework. As with the above two suggestions, sharing such features with colleagues is easy, once you provide a plug-in module for them. For details, see the NetBeans Editor Extension Module Tutorial.
- You can create samples of Struts applications and make them available via plug-in modules. This way, you can share your knowledge with others, who can then access your samples from the New Project wizard, in the same way as any other NetBeans project sample is accessed. For details, see the NetBeans Project Sample Module Tutorial.
These are taken from a similar tutorial on the Spring Framework.
See Also
This concludes the Introduction to the Spring Framework in NetBeans IDE tutorial. This document demonstrated how to install the Spring Framework into NetBeans IDE, and introduced you to the IDE’s interface for developing in the framework.
You are encouraged to continue learning about the Spring Framework by working through other tutorials in NetBeans IDE, such as Thomas Risberg’s
Developing a Spring Framework MVC Application Step-by-Step tutorial.
For related and more advanced tutorials, see the following resources:
- Spring Framework Hands-on Lab. A comprehensive series of lectures and labs using the Spring Framework in NetBeans IDE.
- NetBeans IDE 6.0 Tutorial for Web Applications. A detailed tutorial that teaches you how to build a complete web application using a composite view, front controllers, JSP pages, and servlets.
- Getting Started with JAX-WS Web Services in NetBeans IDE 6.0. A document describing how to get started developing JAX-WS web services for web applications in NetBeans IDE.
Post a Comment