ejb-3.1
EJB singleton as shared memory?
I wish to ask if you would recommend EJB3.1 singleton beans as storage for application memory shared data. Imagine some simple application that needs to hold data in memory (r开发者_JAVA百科ather than[详细]
2023-03-26 00:40 分类:问答EJB 3 can implement 2 remote interfaces?
I have 2 remote interfaces, say Example.java and RealExample.java. My bean Bean.java is implementing those 2 remote interfaces.[详细]
2023-03-25 19:06 分类:问答If EJB exposed @Remote interface, but you inject the EJB bean instead of its Remote interface, will this trigger a remote or local invocation?
I have a EJB bean that exposed to two interface like below: Local interface is for my web app, and Remote interface is for my App Client[详细]
2023-03-23 06:05 分类:问答EJB, JNDI & ENC - real life scenario
I am preparing for the EJB certification and I am going thro the EJB 3.1 book (O\'Reilly) One of the ch开发者_StackOverflowapters discusses about JNDI, ENC and the EJB connections[详细]
2023-03-23 05:42 分类:问答Startup bean not called
I created a Java Web Application Project in NetBeans, and created a startup bean in it: package malibu.util;[详细]
2023-03-22 23:48 分类:问答Having a message driven bean 'fire' as the result of two events?
I would like to have an MDB that fires only after two independent states have been reached. For example:[详细]
2023-03-21 16:40 分类:问答include model libraries in appclient jar
I\'m deploying an ear with an EJB onto glassfish 3.1 which I want to call using the appclient script.[详细]
2023-03-19 17:29 分类:问答EJBContainer.createEJBContainer() Fails if another GF instances is running
I have a maven project running a TestNG test that launches an EJBContainer.createEJBContainer() and fails with the following error ONLY if I have another GF 3.1 running.[详细]
2023-03-18 04:04 分类:问答Automatic JMS Queue/Factory deployment
We have some strange behaviour with the deployment of our message queues and factories on Glassfish 3.1 . There is one factory and some queues which use that factory. The queues are defined in a file[详细]
2023-03-17 22:58 分类:问答EJB3.1 TimerService @Timeout current principal
I have a question regarding authentication and the TimerService @Timeout annotation : In our application users can schedule tasks to be performed at a given interval, They select from a list of task[详细]
2023-03-17 04:51 分类:问答