The answer is no. In the EJB design, create methods play a role of CONTRUCTORs. ----This is a design pattern.

jabber (jabber)
2001-3-14 -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技术讨论