PT.JUG TomEE

1,767 views

Published on

Published in: Technology
  • Be the first to comment

PT.JUG TomEE

  1. 1. Get Java EE in Tomcat with Apache TomEE ISCTE-IUL, Lisboa – January, 16th João-Luis Goncalves Monteiro @JLouisMonteiro #TomEE
  2. 2. Me    Jean-Louis Monteiro Senior Java EE Software Architect Apache Software Foundation Committer/PMC in various Apache projects: OpenWebBeans, OpenEJB/TomEE, Sirona, …   EJB 3.2 EG member Java EE teacher at University in France
  3. 3. Java EE in few words
  4. 4. Before Guess Recommend Explain
  5. 5. Nowadays The opposite
  6. 6. What is Apache TomEE? (pronounced « TOMMY »)
  7. 7. 2011 Java EE 6 Web Profile small Tomcat + « Java EE » = TomEE certified Apache stack
  8. 8. Web profile?
  9. 9. Introduced in Java EE 6 Cut Java EE in half Without legacy stuff But missing some good parts
  10. 10. Apache TomEE distros Connectors
  11. 11. Be simple Be certified Be Tomcat
  12. 12. History and roadmap
  13. 13. Releases 1.0.0 beta 1 • JavaOne 2011 • Entering the show 1.0.0 beta 2 • January 2012 • Finalization 1.0.0 Final • April 2012 • Flood of feedback 1.5.0 • October 2012 • Still moving forward
  14. 14. Today • JavaOne 2013 • Tomitribe launched • November 2013 1.6.0 • Lots of new features • Ongoing maintenance release • Q2 2014 • Java EE 7 work will really start for us
  15. 15. Feedback
  16. 16. How is it build?
  17. 17. Added files
  18. 18. Modified files • conf/server.xml • • conf/tomcat-users.xml • • Getting the proper lifecycle Optional – to secure UI webapps/tomee/ bin/catalina.sh • Optional – OpenJPA ou EclipseLink load-time enhancement
  19. 19. Removed files • lib/annotations-api.jar • • lib/el-api.jar • • Non-compliance, replaced by endorsed/annotations-api.jar Not needed, replaced by lib/javaee-api.jar webapps/examples/ • Top really necessary 
  20. 20. Do we only add/remove files?
  21. 21. No .. The jars are there … that’s integration, right?
  22. 22. CDI JPA JAX RS Servlets
  23. 23. CDI JPA Hardest part JAX RS Servlets
  24. 24. It never stops …
  25. 25. Spend your time writing applications …
  26. 26. Not writting applications servers …
  27. 27. And the result is … TomEE
  28. 28. All integrated Boot time! Maven IDE All Tomcat available Memory footprint Simple lightweight
  29. 29. Heavily tested First our tests (lots) • Integration tests using Arquillian as well • • Certified Amazon EC2 (100 instances) • • • • • t1.micro linux images 100 spot instances 613MB memory max Web Profile TCK with JVM defaults OSs Certified • • • Amazon Linux AMI 2011.09, EBS boot, 32-bit EC2 t1.micro Amazon Linux AMI 2011.09, EBS boot, 32-bit EC2 m1.small Amazon Linux AMI 2011.09, EBS boot, 32-bit EC2 c1.medium
  30. 30. Conclusion • TomEE • • • • As simple as Tomcat As fast as Tomcat But … much more built-in Application • • Ultra light – focus on the application No configuration boiler plate
  31. 31. Lots of cool stuff • Arquillian – very advanced adapters • Useful TomEE Maven Plugin • Security / cryptography • Tons of examples to learn Java EE and TomEE • Lots of ideas for upcoming spec releases • Abstract beans • Meta annotations • …
  32. 32. Tools and platforms
  33. 33. Thank you! Jean-Louis Monteiro @JLouisMonteiro jlmonteiro@apache.org tomee.apache.org

×