Search code examples
java-ee-6

What libraries (or individual jars) do I need for a Java EE6 application?


  1. I want to know jars libraries are needed to run a basic EE6 application?
  2. What is the EAR library? where can I find a listing of constituent these jars?
  3. What is the Web App library? Where can I find a listing of these constituent jars?

Solution

  • The easiest way to get started with Java EE 6 is by using a Java EE 6 application server. These already contain all the jars that make up Java EE 6.

    Examples are TomEE and Resin (both only 25mb), GlassFish, JBoss AS and Geronimo.

    Nearly every part of Java EE is available as seperate jars as well, but you'll need to do a lot of jar hunting and need to make a lot of choices (for JSF, MyFaces or Mojarra, for JPA, Hibernate, EclipseLink, ..., for CDI OpenWebBeans, Weld or CanDI, etc).