Enterprise Java Development@TOPIC@

Chapter 107. EJB WAR Deployment

Flexible EJB Deployment

107.1. WAR Structure
107.1.1. Deploying External EJB JARs
107.1.2. Deploying Embedded EJBs
107.2. WAR Clients
107.2.1. Accessing HTTP Resources
|-- index.html                                                                                                                                                        
`-- WEB-INF                                                                                                                                                           
    ...
    |-- jboss-web.xml
    |-- lib
    `-- web.xml
        
	WEB-INF/lib/
	`-- webejbCustomerEJB-3.0.2012.2-SNAPSHOT.jar
WEB-INF
|-- beans.xml                                                                                                                                                     
|-- classes
|   |-- ejava
|   |   `-- examples
|   |       `-- ejbwar
|   |           `-- inventory
|   |               |-- bo
|   |               |   |-- Categories.class
|   |               |   |-- Category.class
|   |               |   |-- InventoryRepresentation.class
|   |               |   |-- Product.class
|   |               |   `-- Products.class
|   |               |-- client
|   |               |   |-- InventoryClient.class
|   |               |   `-- InventoryClientImpl.class
|   |               |-- dao
|   |               |   |-- InventoryDAO.class
|   |               |   `-- InventoryDAOImpl.class
|   |               |-- ejb
|   |               |   |-- InventoryMgmtEJB.class
|   |               |   `-- InventoryResources.class
|   |               |-- rmi
|   |               |   |-- InventoryMgmtRemote.class
|   |               |   `-- InventoryMgmtRMIEJB.class
|   |               `-- rs
|   |                   |-- Application.class
|   |                   |-- CategoriesResource.class
|   |                   |-- PrettyPrinter.class
|   |                   |-- ProductsResource.class
|   |                   |-- ResourceHelper.class
|   |                   `-- TxFilter.class
|   `-- META-INF
|       `-- persistence.xml
...