The TomEE container adapts org.apache.tomee.embedded.Container
to the Pax Exam test container API.
This is the lifecycle of the TomEE container:
pax.exam.tomee.config.dir
(defaulting to src/test/resources/tomee-config
) contains a tomee.xml
file, then this file is used to configure the embedded TomEE server.
If you require any additional libraries for the server or domain class loader (e.g. JDBC drivers), simply add them to the classpath of your project. |