File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes What is transaction state of stateless session bean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "What is transaction state of stateless session bean?" Watch "What is transaction state of stateless session bean?" New topic
Author

What is transaction state of stateless session bean?

john appadam
Greenhorn

Joined: Jun 13, 2011
Posts: 5
can some body answer
What is transaction state of stateless session bean?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10202
    
166

john appadam wrote:can some body answer
What is transaction state of stateless session bean?


Can you explain what exactly are you looking for?


[My Blog] [JavaRanch Journal]
Piotr Nowicki
Ranch Hand

Joined: Jul 13, 2010
Posts: 610

I don't really know what is the question about... Do you want to know what are possible transaction states values in SLSB, if it's possible to make transactions in SLSB, or....

Provide some more and more accurate information, as it seems a bit ambiguous for me...

Edit: Oh snap, Jaikiran, you were almost 20 seconds faster than me ;-)


OCP Java SE 6 Programmer, OCM Java SE 6 Developer, OCE Java EE 6 JSPSD, OCE Java EE 6 EJBD, OCE Java EE 6 JPAD, Spring 3.0 Core Professional.
john appadam
Greenhorn

Joined: Jun 13, 2011
Posts: 5
I know SLSB wont remember conversation state of client, so for every method invocation it will be a new transaction?
Mike Zal
Ranch Hand

Joined: May 04, 2011
Posts: 144

You can set the TransactionAttribute to one of six values that will the container what to do with the current transaction. See Here for more details


OCJP6, OCWCD5
Piotr Nowicki
Ranch Hand

Joined: Jul 13, 2010
Posts: 610

John, isn't this question similar to your other topic: http://www.coderanch.com/t/541621/EJB-JEE/java/scope-transaction-if-method-bean ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is transaction state of stateless session bean?