Bonjour, comment Java?

Finally, the Java EE 5 API jar has been published via a Maven repository:  

So if you get this api jar file, you can compile the following class:
import javax.jms.Queue;
import javax.persistence.Entity;
import javax.mail.Session;
public class Foo {
    public static void main(String[] args) {     
   Queue queue = null;     

In a Maven project defined by this pom file: (notice the scope value which is 'provided') 
?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""
  <description>Java source code generation library</description>
You can compile you code with this jar, but of course you cannnot run your application with it since it contains only the Java EE 5 APIs and does not contain any method bodies. If you try to run, you would get this exception:

   Exception in thread "main" java.lang.ClassFormatError:
  Absent Code attribute in method that is not native or abstract in class file javax/mail/Session

In order to execute a Java EE 5 application, you'll still need a Java EE 5 container, like for example the GlassFish application server.