++++
[options="header", cols="a"]
|===
1+| TomEE Philosophy
|
Apache TomEE, pronounced "Tommy", is an all-Apache Java EE 6 Web Profile
certified stack where Tomcat is top dog. Apache TomEE is assembled from
a vanilla Apache Tomcat zip file. We start with Tomcat, add our jars and zip
up the rest. The result is Tomcat with added EE features - TomEE.
Its core values are:
- Be Tomcat
- Be certified
- Be small
|===
[options="header" cols="a"]
|===
1+| TomEE Links
|
- TomEE Website: link:http://tomee.apache.org[http://tomee.apache.org]
- TomEE Examples: link:http://tomee.apache.org/examples-trunk/index.html[http://tomee.apache.org/examples-trunk/index.html]
|===
++++
++++
[options="header", cols="a"]
|===
| TomEE ClassLoading
|
[source]
----
bootstrap ($JAVA_HOME/jre/lib/ext)
\|
system (bin/boostrap.jar:bin/tomcat-juli.jar)
\|
common (lib/*.jar)
/ \
webapp1 webapp2
----
Classloading configuration (properties):
- `openejb.classloader.forced-load=`: classes to load from the webapp first
whatever is in the container
- `openejb.classloader.forced-skip=`: classes to load from the container
whatever is in the application
|===
++++
++++
[options="header", cols=",m"]
|===
2+| TomEE Basic Operation
| Start and wait Ctrl+C | ./bin/catalina.sh run
| Start and forget | ./bin/catalina.sh start
| Stop | ./bin/catalina.sh stop
| Deploy manually a webapp | copy war over webapps/
| Redeploy manually a webapp | delete exploded war then deploy
|===
[options="header" cols="a"]
|===
1+| TomEE Distributions
|
- TomEE Web Profile: JavaEE 6 Web profile sever (certified)
- TomEE JAX-RS: previous one + JAX-RS (certified)
- TomEE+: previous one + JAXWS + JMS + Connectors
|===
++++
++++
[options="header", cols="1m,2"]
|===
2+| TomEE Directory Layout
| bin | contains script to manage (start/stop/...) TomEE
| conf | server global configuration
| endorsed | override JVM API because too old for JavaEE
| lib | server libraries
| logs | logs directory (using default configuration)
| temp | default tmp directory
| webapps | default folder which aims to contain webapps
| work | folder used by Tomcat to store "work" binaries (compiled jsp...)
|===
++++
++++