Get Java EE in Tomcat
with Apache TomEE
ISCTE-IUL, Lisboa – January, 16th

João-Luis Goncalves Monteiro
@JLouisMonteiro
#T...
Me




Jean-Louis Monteiro
Senior Java EE Software Architect
Apache Software Foundation

Committer/PMC in various Apach...
Java EE in few words
Before

Guess
Recommend

Explain
Nowadays

The opposite
What is Apache TomEE?
(pronounced « TOMMY »)
2011
Java EE 6 Web Profile
small

Tomcat + « Java EE » = TomEE
certified

Apache stack
Web profile?
Introduced in Java EE 6

Cut Java EE in half

Without legacy stuff

But missing some good parts
Apache TomEE distros
Connectors
Be simple
Be certified

Be Tomcat
History and roadmap
Releases
1.0.0 beta
1

• JavaOne 2011
• Entering the show

1.0.0 beta
2

• January 2012
• Finalization

1.0.0 Final

• Apr...
Today
• JavaOne 2013
• Tomitribe launched
• November 2013
1.6.0 • Lots of new features
• Ongoing maintenance release
• Q2 ...
Feedback
How is it build?
Added files
Modified files
•

conf/server.xml
•

•

conf/tomcat-users.xml
•

•

Getting the proper lifecycle

Optional – to secure UI ...
Removed files
•

lib/annotations-api.jar
•

•

lib/el-api.jar
•

•

Non-compliance, replaced by endorsed/annotations-api.j...
Do we only add/remove files?
No ..

The jars are there
… that’s integration, right?
CDI

JPA

JAX RS
Servlets
CDI

JPA

Hardest
part

JAX RS
Servlets
It never stops …
Spend your time writing
applications …
Not writting
applications servers …
And the result is … TomEE
All integrated

Boot time!

Maven
IDE

All Tomcat available
Memory footprint

Simple
lightweight
Heavily tested
First our tests (lots)

•

Integration tests using Arquillian as well

•

•

Certified Amazon EC2 (100 inst...
Conclusion
•

TomEE
•
•
•

•

As simple as Tomcat
As fast as Tomcat
But … much more built-in

Application
•
•

Ultra light...
Lots of cool stuff
• Arquillian – very advanced adapters
• Useful TomEE Maven Plugin
• Security / cryptography
• Tons of e...
Tools and platforms
Thank you!

Jean-Louis Monteiro
@JLouisMonteiro
jlmonteiro@apache.org
tomee.apache.org
PT.JUG TomEE
PT.JUG TomEE
PT.JUG TomEE
PT.JUG TomEE
PT.JUG TomEE
Upcoming SlideShare
Loading in...5
×

PT.JUG TomEE

1,133

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,133
On Slideshare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "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

×