Saturday, November 27, 2010

Packaging EJB

Descriptor
EAR application.xml
WAR web.xml

EAR File Structure (actionBazaar.ear)
META-INF/application.xml

actionBazaar-ejb.jar
- META-INF/persistence.xml
- actionBazaar/buslogic
- actionBazaar/persistence

actionBazaar-web.war
- WEB-INF/web.xml
- classes/

application.xml


xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">

actionBazaar-ejb.jar



actionBazaar-web.war
actionBazaar






WebLogic application server supports sharing of utility classes in an ear file. The shared utility classes can be packaged in one of two directories :

* APP-INF/lib : shared jar files can be placed here.
* APP-INF/classes : individual classes can be placed here.

GlassFish
lib

persistence.xml



jdbc/ActionBazaarDS

value = "create-tables"/>






Ant Script
...

No comments:

Post a Comment