[EJB 3.0] - Re: reentrant annotation?
by ALRubinger
If I remember correctly...
Entity Beans could be marked as "reentrant". Session Beans did not require a "reentrant" marking because if Stateless, the container would return another separate instance, and Stateful was prohibited (as it is now)...
EJB 2.1 Spec, Final Draft, 7.12.10:
anonymous wrote : The container must ensure that only one thread can be executing an instance at any time. If a client
| request arrives for an instance while the instance is executing another request, the container may throw
| the java.rmi.RemoteException to the second request if the client is a remote client, or the
| javax.ejb.EJBException if the client is a local client.[9]
|
| Note that a session object is intended to support only a single client. Therefore, it would be an
| application error if two clients attempted to invoke the same session object.
|
| One implication of this rule is that an application cannot make loopback calls to a session bean instance.
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989541#3989541
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989541
19Â years, 5Â months
[JBoss Seam] - Re: Seam app on slashdot
by modoc
This url should work:
http://www.10minutemail.com
It's holding up better than I expected. It's a little slow at the moment, but hasn't fallen over. I was taken by surprise by the slashdot article, but so far it's working out well.
I'm not sure where the slowness is coming from, my bandwidth and cpu are both pretty under-utilized, then again I haven't tuned JBoss or Apache for this type of load, as I wasn't expecting any publicity at all.
I finally found and fixed the timer issue i was having, so things are running well for now. It's actually pretty impressive how well an out of the box install of jboss, and a first time seam developer's first app, can handle a slashdotting, following a tech.yahoo.com-dotting, following a digg.com-dotting.
My hat is off to Seam and JBoss.
Modoc/Devon
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989536#3989536
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989536
19Â years, 5Â months