Handwritten Text Recognition for manuscripts and early printed texts
Apache Tomcat + Java EE = Apache TomEE
1. Apache TomEE
Tomcat + Java EE
Jacek Laskowski
jacek@japila.pl
@JacekLaskowski
wersja 1.0, 24.10.2012
2. About me
• Java EE, OSGi and functional programming with Clojure, F# and Scala
enthusiast
• Founder and leader of Warszawa Java User Group
• Javarsovia, Confitura, warsjawa conference team member
• Blogger of http://JacekLaskowski.pl
• Blogger of http://blog.japila.pl
• @JacekLaskowski
• Member of Apache Software Foundation
• Apache OpenEJB and TomEE committer
• Member of IBM Academy of Technology
• IBMer in World-wide WebSphere Competitive Migration Team
@jaceklaskowski
3. Thanks David Blevins and the
Apache OpenEJB/TomEE
team for the hard work.
You really rock!
@JacekLaskowski
4. Apache Tomcat is an open source software
implementation of the Java Servlet and JavaServer
Pages technologies.
http://tomcat.apache.org
@JacekLaskowski
5. Java EE Web Profile (“Web Profile”) is a profile
of the Java Platform, Enterprise Edition specifically
targeted at web applications.
Java™ Platform, Enterprise Edition 6 (Java EE 6) Web Profile Specification, page 1
@JacekLaskowski
6. Java EE 6 Web Profile specs
• Servlet 3.0 • Java Transaction API (JTA) 1.1
• JavaServer Pages (JSP) 2.2 • Java Persistence API (JPA) 2.0
• Expression Language (EL) 2.2 • Bean Validation 1.0
• Debugging Support for Other • Managed Beans 1.0
Languages (JSR-45) 1.0
• Interceptors 1.1
• Standard Tag Library for
JavaServer Pages (JSTL) 1.2 • Contexts and Dependency
Injection (CDI) for the Java EE
• JavaServer Faces (JSF) 2.0 Platform 1.0
• Common Annotations for the • Dependency Injection for Java 1.0
Java Platform (JSR-250) 1.1
• Enterprise JavaBeans (EJB) 3.1
Lite
@JacekLaskowski
7. What’s TomEE?
Apache TomEE, pronounced "Tommy", is an all-
Apache Java EE 6 Web Profile certified stack where
Tomcat is top dog. Apache TomEE is assembled from a
vanilla Apache Tomcat zip file.We start with Tomcat,
add our jars and zip up the rest.The result is Tomcat
with added EE features - TomEE.
http://tomee.apache.org/index.html
@JacekLaskowski
17. Files modified - conf/tomcat-users.xml
As a matter of fact, the change is only needed if using
OpenJPA or EclipseLink with no build-time enhancements
and hence optional
@JacekLaskowski
19. Files modified - bin/setclasspath.sh
As a matter of fact, the directory doesn’t exist
whatsoever and is optional, too
@JacekLaskowski
20. Files removed
• lib/annotations-api.jar
• non-compliant, replaced by endorsed/annotations-api.jar
• lib/el-api.jar
• not needed, replaced by lib/javaee-api.jar
• webapps/examples/
• whim, could have easily been left there
@JacekLaskowski
21. TomEE releases
• 1.0.0 Beta 1 • 1.5.0
• JavaOne 2011 • October 2012
• Entering the show • Lots and lots of conferences:
JavaOne, JDD, JavaDay (UA),
• 1.0.0 Beta 2 TopConf, JavaDay (LV)
• January 2012
• Closing gaps
• 1.0.0 Final
• April 2012
• Nailed it
• Flood of feedback
@jaceklaskowski
22. Apache TomEE 1.0 Final Released!
https://blogs.apache.org/openejb/entry/apache_tomee_1_0_final
@JacekLaskowski
25. TomEE works with Tomcat tools
• Tomcat support and hence TomEE
• NetBeans IDE and Eclipse IDE
• IntelliJ IDEA
• http://confluence.jetbrains.net/display/IDEADEV/IDEA+12+EAP - TomEE
server intergation in Major changes in IntelliJ Idea 12
• YourKit, JRebel, NewRelic, etc...
• TomEE Maven Plugin
@JacekLaskowski
28. Demos (TomEE+)
• Servlet 3.0 with @WebServlet (and no web.xml)
• EJB 3.1 with @Stateless + @LocalBean + @EJB
• JAX-WS 2.0 with @WebService
• JAX-RS 1.0 with @Path + @GET
• CDI 1.0 with POJO + @Inject
• JSF 2.0 with @ManagedBean
• @Resource with a resource defined in Tomcat’s server.xml
• JPA 2.0 with MySQL and the samples in NetBeans IDE
• Web JPA (Java EE 6)
• Monitoring with JConsole
• Start TomEE outside NetBeans IDE
@JacekLaskowski