dcsimg
Entity Bean create method
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   akshat_n
Posted On:   Wednesday, September 10, 2003 03:36 AM

An entity bean, sometimes may not have any create method at all? can anybody tell me those situations when we dont need any create method to implement in entity bean class.

thanks.

Re: Entity Bean create method

Posted By:   akshat_n  
Posted On:   Thursday, September 11, 2003 02:00 AM

I refered the "Wrox publication book J2EE server programming" for learning EJB. According to the book authors, a stateless session bean MUST have one and only one create method. A stateful session bean can have one or more create mothod and for entity bean, you can have zero or more create methods. Pls varify.

Re: Entity Bean create method

Posted By:   dipankar_datta  
Posted On:   Wednesday, September 10, 2003 04:38 AM

entity beans must have create method.however u can keep it empty in case of BMP if u don't want anybody to insert record in DB.
About | Sitemap | Contact