Posted on 2008-06-28 13:28
guanminglin@gmail.com 閱讀(13757)
評論(5) 編輯 收藏 所屬分類:
NetBeans
說實在的這個版本的Struts2 plugin for NetBeans 并不怎么樣! 功能有限,但是有總比沒有的好,至少還可以提高一點生產(chǎn)力! 這個插件帶的lib 很少最好還是用自己的lib。
下面是 Struts2 Support Features:
Apache Struts 2 is an elegant, extensible framework
for
creating enterprise-ready Java web applications. The framework is
designed to streamline the full development cycle, from building, to
deploying, to maintaining applications over time. You can read more about Struts 2 at http://struts.apache.org/2.x/
.
Installation instructions can be found here
.
下載地址 https://nbstruts2support.dev.java.net/servlets/ProjectDocumentList?folderID=9422%26expandFolder=9422%26folderID=8962
Framework Support
***To be added***
Context based Code Completion(基于上下文的代碼自動補全)
Code completion assists the programmers/developers to fill in the
values for the various attributes. It enlists all possible entries that
a attribute/element value can have in a configuration file. By doing
so, we improve the ease of use for editing a Struts Configuration file.
Some screen shots of code completion:
Code completion also assists while specifying a fully qualified java name (inclusive of packages)
For an exhaustive list on the code completion scenarios, please visit this link
.
Hyperlinking (超連接跳轉(zhuǎn))
With the help of this plugin, the developer will be able to jump to the
point of origin (declaration) of an entity. It would be applicable to
all the elements present in the configuration file, right from
Interceptors, results,etc. to externally referenced Java files. Some of
the hyperlinking scenarios that have been implemented are shown below.
For an exhaustive list on the hyperlinking scenarios, please visit this link
.
Wizards(向?qū)?
Wizards assist the programmers by generating a default template for
Struts 2 components like Interceptors, Results, Actions and
Configuration files. Once, we have a web project with Struts 2
framework, we can add an Interceptor/Action/Result/Configuration file
into our project by clicking on 'File -> New File -> Struts 2'.
The screen shot below shows the scenario of creating a new Interceptor using a wizard: