Multitenancy will supported in JEE7. Today there's no official support by the JEE Spec. With Multitenancy4JEE there's a library to enable multitenancy support to your JEE projects (first version for JBoss AS 7 and Hibernate)
Homepage POM file JAR file Javadoc'com.sourcecoding:multitenancy:0.3.2'