java-ee-6
Who runs the EJB Classes in WAR File
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.[详细]
2023-03-15 09:09 分类:问答How to update schema by adding Annotated classes to an existing Persistence unit in JPA with hibernate?
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[详细]
2023-03-15 06:10 分类:问答Create EJB with two interfaces. @Local interface for web module and @Remote interface for local app client
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[详细]
2023-03-14 18:19 分类:问答Glassfish: Weld won't inject from classes in one jar to classes in an adjacent jar in WEB-INF/lib
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:[详细]
2023-03-14 09:38 分类:问答Hibernate, best method of fetching one-to-many
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.[详细]
2023-03-14 07:06 分类:问答Trouble injecting resources with Java EE 6 and Glassfish 3.1 using @Resource
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[详细]
2023-03-14 03:36 分类:问答Can @Resource be used to inject primitives in EJB3.0?
Using Glassfish, I can setup a string jndi entry: JNDI name: \"com/xyzcompany/echo/EchoServiceBean/viewName\"[详细]
2023-03-13 22:59 分类:问答continous integration, selenium, Java EE 6 on JBoss AS 6
I want to test my Java EE 6 application (EJB, JPA, CDI, JSF, Primefaces) using Selenium as JUnit tests.[详细]
2023-03-13 15:33 分类:问答Netbeans IDE 7.0 Web Application Doesn't Support Java EE 6 Out of the Box? [closed]
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[详细]
2023-03-13 07:43 分类:问答Have to persist both sides of @OneToMany self-join
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[详细]
2023-03-13 05:42 分类:问答