Hi, in our stack we have moved away from the traditional Java model (Servlet container + multiple WARs) towards the so-called 'fat jar' model: i.e. every app is a stand-alone JAR with an embedded web server in it (and we use the Maven One-Jar plugin to package the whole app + all dependencies into a single jar file). This allows every app to run in its own independent JVM process (for total isolation) and gives each the full optimal 2GB of heap space for GC.
Right now we are using a custom stack based on Jetty (embedded)/Spring/Hibernate/CXF. I would like to evaluate TomEE to do something similar and replace our custom stack with a standard Java EE 6 equivalent. I see there is a tomee-embedded Maven artifact: http://mvnrepository.com/artifact/org.apache.openejb/tomee-embedded but no info whatsoever anywhere on how to use it! So, how can I set up embedded TomEE with the full stack (CDI, JSF, OpenJPA, validators, etc)? A code sample would be priceless.... Thanks in advance, Jacek -- View this message in context: http://openejb.979440.n4.nabble.com/TomEE-embedded-how-tp4655882.html Sent from the OpenEJB User mailing list archive at Nabble.com.
