ejb-3.1
Expose current progress of an @Asynchronous function to use in View
In my JEE6-App (running on Glassfish 3.0.1) I have an EmailEJB which has to send lots of mails. The mails are sent asynchronously, so its annotated with the new EJB3.1 @Asynchronous, letting it be run[详细]
2023-01-09 12:00 分类:问答Getting Entitymanager/EJB inside a @FacesConverter/Validator of a WAR-packaged app
I have a JavaEE6-application running on Glassfish v3.0.1 with EJB 3.1 (app is packaged as WAR), and all my EJBs are @LocalBeans.[详细]
2023-01-08 11:42 分类:问答JavaEE6 DAO: Should it be @Stateless or @ApplicationScoped?
I\'m currently creating an EJB3 Data Access Class to hand开发者_StackOverflow社区le all database operations in my Java EE 6-application. Now, since Java EE 6 provides the new ApplicationScoped annotat[详细]
2023-01-07 05:02 分类:问答CDI with ejb 3.1 , weld-logger on glassfish v3.0.1
Scenario: 1) create maven ear project, create war project inside 2) add beans.xml to war project`s WEB-INF/[详细]
2023-01-05 12:08 分类:问答EJB injection in Glassfish webapp
I\'ve got an app that is trying to use @EJB annotation to inject remote references to EJBs in my ejb.jar file.I\'m getting inconsistent results.In one case, I have a listener in web.xml that gets call[详细]
2022-12-30 13:21 分类:问答Is it possible to get collection of some ejb`s instances from container?
Scenario: I have some @Statefull bean for user session (not an HTTP session, it is web services session). And I need to manage user\'s session per user.[详细]
2022-12-29 23:17 分类:问答Deployment secription of Basic Authentication with JAX-WS for EJB 3.1
There is good tutorial Basic Authentication withJAX-WS But it describe deployment description for web based application (war). Is it passable describe in ejb jar deployment description ?[详细]
2022-12-29 22:35 分类:问答EJB 3.1 Embedded API - Unit test EJB + JPA entities
Has anyone done this or attempted to do this for a preexisting project? It seems there are two options to go with here, either using the embedded EJB API basically the following class[详细]
2022-12-29 20:12 分类:问答new Stateful session bean instance without calling lookup
Scenario: I have @Singleton UserFactory (@Stateless could be) , its method createSession() generating @Stateful UserSession bean by manual lookup.[详细]
2022-12-29 13:02 分类:问答Injecting jms resource in servlet & best practice for MDB
using ejb 3.1, servlet 3.0 (glassfish server v3) Scenario: I have MDB that listen to jms messages and give processing to some other session bean (Stateless).[详细]
2022-12-28 18:51 分类:问答
加载中,请稍侯......