Having made its Java EE 6 Web Profile certification debut at JavaOne 2011 and having won a JavaOne Rock Star award in 2012, Apache TomEE combines the simplicity of Tomcat with the power of Java EE. This updated presentation traverses the world of TomEE and shows how Tomcat applications leveraging Java EE technologies can become simpler and lighter with a Java EE–certified solution built right on Tomcat. The first part jumps right into action and gives a coding tour of TomEE, including quickly bootstrapping projects, doing proper testing with Arquillian, and setting up environments. The second part gives insight into how TomEE was created and explores the budding TomEE ecosystem of tools, platforms, and the latest community advancements.
5. Did you say J2EE?
#TomEE @dblevins
Friday, October 18, 13
6. Some things you might have
missed....
#TomEE @dblevins
Friday, October 18, 13
7. Milestone changes...
• Now Java EE
• Is it Istanbul or Constantinople?
• Web Profile
• Cuts Java EE in half
• EARs are dead
• Long live war files
• Testable
• Embedded Containers
• Arquillian
#TomEE @dblevins
Friday, October 18, 13
8. What is Apache TomEE?
#TomEE @dblevins
Friday, October 18, 13
9. What is TomEE?
• Tomcat + Java EE = TomEE
• Pronounced “Tommy”
• Java EE 6 Web Profile certified
• Java EE 7 in progress
• Built from All-Apache Components
• What we’ve all been building ourselves
• ... for years
#TomEE @dblevins
Friday, October 18, 13
13. TomEE Goals
• Be simple
• Avoid complexity and making users work
• Be Tomcat
• Should work with Tomcat tools and apps
• Be Certified
• Drop-in replacement for any Java EE Web Profile
server
#TomEE @dblevins
Friday, October 18, 13
14. The Jars are there
...that’s integration, right?
#TomEE @dblevins
Friday, October 18, 13
22. Certification
• Months and months of work
• Thousands and thousands of tests
• Passed by All Java EE Platforms/Vendors
• Oracle WebLogic / GlassFish
• IBM WebSphere / WebSphere CE
• RedHat JBoss
• Apache TomEE / Apache Geronimo
• Amazon EC2
• t1.micros 613MB, run with default jvm memory
• Raspberry PI Model B (new)
#TomEE @dblevins
Friday, October 18, 13
23. Show me the code!
#TomEE @dblevins
Friday, October 18, 13
24. YAP PetStore
• Written by Antonio Goncalves
• No 3rd party libraries (sans Arquillian)
• JPA
• Bean Validation
• CDI
• JAX-RS
• EJB
• JSF
#TomEE @dblevins
Friday, October 18, 13
25. ...and more
• Arquillian
• TomEE Maven Plugin
• I must be insane to show this but... new ideas
• Abstract Beans
• Meta-Annotations
• WARNING: Probably will not WORK! Days old!
#TomEE @dblevins
Friday, October 18, 13