Java Reference
In-Depth Information
Creating an XML deployment descriptor
Next, we create an XML document for the EJB 2.0 entity deployment descriptor,
which is to be converted to anEJB 3.0 entity. We shall also create EJB 3.0 Session bean
fa├žade classes from the deployment descriptor. Select File | New and in the New
Gallery window select Categories:General | XML . From the Items: window, select
XML Document and click on OK .
In the Create XML File window, specify a File Name ( ejb-jar-modified.xml ). We
shall be using a slightly modified ejb-jar.xml , as the deployment descriptor does
not contain all the required information to convert an EJB 2.0 entity to an EJB 3.0
entity. Click on OK .
Search WWH ::

Custom Search