×

Loading...

NO. Because you cannot start a transaction in ejbCreate. The container will be responsible for transaction only in business methods.

guest (.)
(#33603@0)
2001-3-15 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: EJB:Dear Jabber,in a stateful session bean's ejbCreate(String),I retrieve a record from db to intialize the attributes.Could I do this in one of the constructors instead of ejbCreate?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论