This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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
 
GeeCON Prague 2014
 
subject: RequiresNew timeout CMP Sequence Pattern