Top "Java-ee-6" questions

Use this tag for questions relating specifically to Java Enterprise Edition 6.

Hibernate SchemaExport fails to first create schema

I am running tests using Arquillian, JBoss, JPA/Hibernate, H2 DB and Maven. In my test persistence.xml file I …

hibernate jboss java-ee-6 jboss-arquillian hbm2ddl
Scope of jsp:useBean

home.jsp <jsp:useBean id="username" class="java.lang.String" scope="application"/> <% username="Jitendra"; %> <jsp:…

java jsp jsp-tags java-ee-6 jspinclude
Communication between AngularJS and a Jersey Webservice which are on a different domain. Can't access correct session

Lately I've been playing around with AngularJS and Java EE 6. I've build an webservice with Jersey and deployed the project …

xmlhttprequest jersey angularjs java-ee-6 cors
How can i config module and application name for JNDI Lookups

In EJB 3.1 JNDI Lookups can be made with different Lookup-Names: java:global[/<app-name>]/<module-name>/<bean-name&…

maven-2 jakarta-ee glassfish jndi java-ee-6
How to create instances on the fly in CDI

Let's assume I have a Car class. In my code I want to create 10 cars. Car class has some @Inject …

java java-ee-6 cdi
DCH class error with JavaMail

I'm attempting to set up a simple logging test with JavaMail in Java EE 6, using the jar files provided with …

logging glassfish jakarta-mail java-ee-6
JavaEE 6: How to inject JMS Resource in a standalone JMS client?

I can't get javax.jms.ConnectionFactory injected into my standalone JMS client. I get a java.lang.NullPointerException at connectionFactory.…

jms java-ee-6 glassfish-3 message-driven-bean
JPA Glassfish Database Update Issue

I have an application deployed on Glassfish v3.0.1 which reads events from a table in my database. Once ready it …

jpa persistence glassfish java-ee-6
How to work with interfaces and JPA

I should start out by saying that I am fairly new to Java EE and that I do not have …

java jakarta-ee jpa interface java-ee-6
EAR vs separate EJB + WAR

What's the difference in deploying application as EAR (with 1 EJB and 1 WAR module) vs separate modules? I want to use …

java jakarta-ee war java-ee-6 ear