apache tomee - events.static.linuxfound.org · • 100 spot instances • 613mb memory max • web...
TRANSCRIPT
Apache TomEE!Java EE Web Profile and more on Apache Tomcat
Jonathan Gallimore and Jean-Louis Monteiro
About us
16/11/14 Apache TomEE 2
Jonathan Gallimore
Senior Java EE Software Engineer Apache Software Foundation
Jean-Louis Monteiro
Senior Java EE Software Architect Apache Software Foundation
EJB 3.2 EG member Java EE teacher at University in France
Java EE in few words
J2EE, but it was before
Guess
Explain
Recommend
16/11/14 Apache TomEE 4
Now, it’s Java EE
The opposite
16/11/14 Apache TomEE 5
16/11/14 Apache TomEE 6
What is Apache TomEE?
Pronounced « TOMMY », by the way ;-)
2011 Java EE Web Profile
Tomcat + « Java EE » = TomEE certified
small
Apache stack
When did the story started?
16/11/14 Apache TomEE 8
Web profile?
Introduced in Java EE 6
Without legacy stuff
Cut Java EE in half
EARs are dead
The Web Profile to the rescue
16/11/14 Apache TomEE 10
Apache TomEE flavors
16/11/14 Apache TomEE 11
Feature Tomcat TomEE Web Profile
TomEE JAX-RS
TomEE Plus
TomEE PluME
Servlets Yes Yes Yes Yes Yes
JSP Yes Yes Yes Yes Yes
JSF Yes Yes Yes Yes (Mojorra)
JTA Yes Yes Yes Yes
JPA Yes Yes Yes Yes (EclipseLink)
CDI Yes Yes Yes Yes
JAAS Yes Yes Yes Yes
JACC Yes Yes Yes Yes
Java Mail API Yes Yes Yes Yes
Bean Validation Yes Yes Yes Yes
EJB Yes Yes Yes Yes
JAX-RS Yes Yes Yes
JAX-WS Yes Yes
JCA Yes Yes
JMS Yes Yes
Connectors
16/11/14 Apache TomEE 12
Proven Apache Stack
Be simple
Be certified
Be Tomcat
Our 3 key drivers
16/11/14 Apache TomEE 13
Feedback
User stories
Try it yourself
And let us know!
User stories
How is it build?
Apache Tomcat vs Apache TomEE
16/11/14 Apache TomEE 18
Do we only add/remove files?
No ..
The jars are there!!… that’s integration, right?
What is integration?
16/11/14 Apache TomEE 20
CDI
JPA
JAX RS Servlets
JARs side by side don’t corporate
16/11/14 Apache TomEE 21
CDI
JPA JAX RS
Servlets
Hardest part
It needs real integration code
16/11/14 Apache TomEE 22
And it never stops…
16/11/14 Apache TomEE 23
Spend your time writing applications …
Your choice …
16/11/14 Apache TomEE 24
Not writing applications servers …
Or continue …
16/11/14 Apache TomEE 25
That’s why we built TomEE
Boot time!
Maven
IDE
lightweight
Simple Memory footprint
All integrated
All Tomcat available
All what you love
16/11/14 Apache TomEE 27
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
16/11/14 Apache TomEE 28
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
Ready to run!
16/11/14 Apache TomEE 29
Lots of cool stuff
• Arquillian – very advanced adapters • Useful TomEE Maven Plugin • Security / cryptography • Multi-tenancy • Tons of examples to learn Java EE and TomEE
• Lots of ideas for upcoming spec releases – Abstract beans – Meta annotations – …
16/11/14 Apache TomEE 30
Tools and platforms
16/11/14 Apache TomEE 32
Thank you!
@JLouisMonteiro [email protected] @JonGallimore [email protected] tomee.apache.org