EJB Development Quickstart with MyEclipse---6
天下维客,你可以修改的网络知识库
[编辑]
Configuring Application Server XDoclet (optional)
XDoclet is able to generate application server specific deployment descriptors. This section demonstrates configuring an XDoclet @ejbdoclet with a subdoclet for the JBoss application server. The list of application servers supported by XDoclet can be viewed in the pop-up menu shown in Figure 13.
Note: later in this section we will demonstrate deployment of the firstejb to a local JBoss 3.2 server. Therefore we will use the JBoss subtask.
- Right-click ejbdoclet and select Add from the context-menu.
- Select the jboss from the doclet subtask, followed by OK as shown in Figure 12.
Figure 13. Adding JBoss subtask to ejbdoclet
- Set the following jboss properties as shown in Figure 14.
Version = 3.2
destDir = src/META-INF
Figure 14. Setting jboss subtask attributes
- Select OK .




