"Kesav, Ramesh" wrote: > Hi all, > i have some quick questions for you to answer > > can anybody let me know > > 1)when we should use a singleton class
<GOF>When there should be only one instance of a class and it must be accessible from well known points.</GOF>. Ex: Supposing you have an ObjectFactory that creates different Objects (say, different implementation of common interface), you might make that factory a singleton. > 2) whats the use of SessionFacade What's the use of any facade? To provide a simple interface to a complex sub-system. In the context of the EJBs, you would encapsulate the bussiness logic in other EJBs and make them accessible through the session facade. You can get some useful tips at : http://www7b.boulder.ibm.com/wsdd/library/techarticles/0106_brown/sessionfacades.html > > 3) why is it that ejbStore is always called up befroe the end of the > transaction > 4) whats the use of <cmr-field> in ejb2.0 > > Regards > > Ramesh Kesavanarayanan > Electronic Data Systems India pvt Ltd > > * [EMAIL PROTECTED] > > =========================================================================== > 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". =========================================================================== 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".
