ejb-3.1
throwing exceptions from EJB interceptors
Let\'s say I have an interceptor that looks smth like this: public class AuthorizationInterceptor { Logger log = Logger.getLogger(getClass().getName());[详细]
2023-01-29 01:09 分类:问答EJB 3.1 singleton in cluster
I didn\'t find much information about EJB 3.1 Singletons in cluster enviroment. Is it true开发者_StackOverflow中文版 that specification says that those singletons will guarantee one instance per JVM -[详细]
2023-01-29 01:07 分类:问答share env-entry between multiple ejb
I am currently working on a project with multiple ejb and one ejb-jar.xml. I wonder how to share the env-entry from the ejb-jar.xml between the various ejbs.[详细]
2023-01-26 03:05 分类:问答Sporadic javax.ejb.AccessLocalException
I\'m using Glassfish 3.0.1. I sometimes get this error when attempting to call a local EJB: [#|2010-11-10T19:17:25.014+0000|INFO|glassfish3.0.1|javax.enterprise.system.core.security|[详细]
2023-01-24 20:02 分类:问答shared ejb 3 for multiple web project with glassfish
I currently have a J2EE project containing an EJB and a WAR. Everything goes fine while I have only one WAR and one EJB module bundled in the final EAR. I now need to develop an other WAR using the sa[详细]
2023-01-22 18:16 分类:问答Default EJB transaction mode for asynchronous methods?
When I have an @Asynchronous method in an EJB, and I don\'t specify the @TransactionAttribute, then how exactly does the container handle the transaction boundaries? Obviously, it can\'t use the call[详细]
2023-01-22 09:13 分类:问答Do I need to use @Remote when I want to expose an EJB to a different application on same app server?
I have a @Stateless @Local Bean successfully deployed in an ear.I can see the new EJB 3.1 standard global JNDI name when I browse the JNDI tree.(java:global/product/product-ejb/ProductManageme开发者_开[详细]
2023-01-20 09:48 分类:问答Do I need to install glassfish server to use it as embedded server in application?
I am trying to use glassfish as a embedded server in my ejb3.1 project. below are my maven dependencies..[详细]
2023-01-19 00:33 分类:问答How to unit testing EJBs when using JPA2?
How would you go about unit testing an EJB that uses JPA? For example, if I have an Order entity an开发者_如何学编程d and OrderEJB that is supposed to calculate the total of an order (as defined below[详细]
2023-01-18 19:10 分类:问答Can i make my own Singleton Stateless Bean with EJB 3.0?
Now, with EJB 3.1, we can find the javax.ejb.Singleton annocation that can ensure that this bean开发者_开发问答 is going to be singleton.[详细]
2023-01-18 16:43 分类:问答