wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes the Stateful and Stateless Bean in JBoss is reversed? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "the Stateful and Stateless Bean in JBoss is reversed?" Watch "the Stateful and Stateless Bean in JBoss is reversed?" New topic
Author

the Stateful and Stateless Bean in JBoss is reversed?

frankie huang
Greenhorn

Joined: Dec 17, 2002
Posts: 18
when I deploy a stateful session bean, the state can't keep; while a deploy a stateless session bean,the state keep. why?
my session bean:

the ejb-jar.xml

the client code:

when I code "stateful" in the ejb-jar.xml, I found the result is always "1" even I refresh the browser times. when I code "stateless" in the ejb-jar.xml, I found the result is "1",and then "2" and then "3"...
I feel puzzling, it does not obey the book "Mastering EJB".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: the Stateful and Stateless Bean in JBoss is reversed?
 
Similar Threads
NameNotFoundException in EJB? could anyone tell me?
Stateful and Stateless Session Bean reversed in JBoss?
NameNotFoundException - but the jndi bound
Ejb
unable to deploy stateless session bean using weblogic 7