"Rumble, Nick" wrote:
> Hi - I've a question about the legality of using a class's default
> constructor to perform some initialisation. This is best explained by
> example. I have an abstract Session Bean called "Adaptor" it's main task is
> to call the "startup" method within subclassed "real" Session Beans:
<snip>

> Is this acceptable/legal ?

This is legal, but not recommended. It is recommended that any such
initializations are done during the setEntityContext/setSessionContext
call instead.

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to