allwiki首页  
天下维客 你可以修改的网络知识库
首页最近更改优秀条目专题展示电脑科技词典软件学习网络知识电脑安全明星时尚天下百科
 

EJB Development Quickstart with MyEclipse---6

天下维客,你可以修改的网络知识库

Jump to: navigation, search

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.

Image:Firstejb-addsubtask-annot.gif

Figure 13. Adding JBoss subtask to ejbdoclet

  • Set the following jboss properties as shown in Figure 14.
     Version = 3.2
     destDir = src/META-INF

Image:firstejb-jbossubtask-properties-annot.gif

Figure 14. Setting jboss subtask attributes

  • Select OK .
Personal tools
工具
金银币拍卖 金币拍卖预展  金银币网店 熊猫金银币 生肖金银币