This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes RequiresNew timeout CMP Sequence Pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "RequiresNew timeout CMP Sequence Pattern" Watch "RequiresNew timeout CMP Sequence Pattern" New topic
Author

RequiresNew timeout CMP Sequence Pattern

Philip Rowley
Greenhorn

Joined: Jul 18, 2007
Posts: 4
I have been following Floyd Marinescu's EJB Design Patters pdf from theserverside.com

I have been trying out his Sequence design pattern, the only problem I seem to have is that the transaction times out for my Sequence Entity bean.

If I remove the container-transaction(s) below it works, but is not clustersafe.

RequiresNew - Sequence Entity
Required - Sequence Session

Excerp



Full



Is there more I need to set in ejb-jar.xml?

I am using

IDE - IBM RAD 7
AS - WebSphere 6.1
DB - Derby 10.1

Thanks

Phil
 
Have you checked out Aspose?
 
subject: RequiresNew timeout CMP Sequence Pattern
 
It's not a secret anymore!