ejb-3.1
Hibernate lazy loading requires EJB transaction?
When trying to optimize transactions on my java ee 6 project using hibernate, I tried to do as I did with Eclipselink and have transactions turned开发者_C百科 off for read-only queries, like follows:[详细]
2023-03-16 16: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 分类:问答EJB invoke a method which later invoke another EJB -> return null
I have a structure like this @Stateless public class CoreMainEJB implements CoreMainEJBRemote, CoreMainEJBLocal {[详细]
2023-03-14 06:04 分类:问答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 分类:问答Spring + EJB 3.1 CMT vs BMT transactions
We have a simple statele开发者_JAVA百科ss EJB timer that gets an instance of a spring service injected into it. The spring service has a method marked as transactional. When the EJB uses Transaction M[详细]
2023-03-13 05:48 分类:问答How should be EJB Stateless Session Bean correctly injected into the web module?
Being completely new to Java EE (but not to Java itself) I\'m trying to build a very simple \"Enterprise Application\" with Hibernate as JPA provider and JSF as the actual UI framework. For this purpo[详细]
2023-03-11 13:45 分类:问答Using spring service inside of ejb 3.1 stateless timer
I know that the general consensus is to use one or the other, but we have a specific task where we would like to use our spring services from within a stateless ejb timer.[详细]
2023-03-11 08:41 分类:问答ejb3.1 @Startup.. @Singleton .. @PostConstruct read from XML the Objects
I need to initialize a set of static String values stored in an XML files [ I know this is against the EJB spec ][详细]
2023-03-10 17:56 分类:问答Are CDI event observer methods compatible with EJBs?
I have a Singleton EJB (javax.ejb.Singleton version. sigh.) which has a CDI observer method on it. When I try to deploy this to glassfish 3.1 the server fails to deploy the EAR file without any real e[详细]
2023-03-06 03:06 分类:问答synchronous MDB communication, problem with max-pool-size
I am using Java Enterprise (3.1) with Glassfish. I have two seperate EARs which are communicating synchronously via JMS. More specifically:[详细]
2023-03-05 02:41 分类:问答