Java Reference
In-Depth Information
Listing 4-19. Underwriting-beans.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""
Finally, to complete the EJB, you also need an application server vendor-specific
deployment descriptor, which is used to provide meta-information such as the JNDI
name to bind the EJB home object in the JNDI tree. Listing 4-20 shows the JBoss-specific
deployment descriptor.
Listing 4-20. jboss.xml
<?xml version="1.0" encoding="UTF-8"?>
The final task is to compile, package, and deploy this EJB in a JBoss 4. x application
server. The clients can easily look up this EJB using the Service Locator pattern described
earlier in this chapter.
Search WWH ::

Custom Search