From the Java EE6 documentation, I could see: To include enterprise bean class files in a WAR module, the class files should be in the WEB-INF/classes directory.
Environment: JPA 2.0, Hibernate 3.6, in a war file (with jsf 2.0, on jboss 6, etc). I want update schema by adding Annotated classes to an existing Persistence unit in JPA with hibernate. this is what
I have a EAR package that contains a web module and EJB. The EJB is currently exposed its contains to local app client via Remote interface
I\'m having trouble using dependency injection (with CDI/Weld) within libraries used in a war when deploying on Glassfish 3.1. I have two libraries, say:
Background I recently started a new Java EE 6 object, using JBoss and Hibernate. From earlier projects, I have experience with Glassfish using Eclipselink as JPA provider.
I\'m having trouble trying to use the @Resource annotation with Java EE 6 and Glassfish 3.1 (embedded).I want to look up a JNDI datasource, so I\'m trying to get it working with th开发者_C百科e defaul
Using Glassfish, I can setup a string jndi entry: JNDI name: \"com/xyzcompany/echo/EchoServiceBean/viewName\"
I want to test my Java EE 6 application (EJB, JPA, CDI, JSF, Primefaces) using Selenium as JUnit tests.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
I have a bi-directional @OneToMany self-join on a JPA 2.0 entity and I find that I have to persist both sides of the relationship for the changes to be reflected in the persistence context.In this sit