Can I develop an Entity Bean without implementing the create() method in the home interface?

Alessandro A. Garbagnati

I think you can.

As far as I know, there is nothing, in the EJB specifications, that prevents you to create an Entity Bean without the create() method. In this situation, the only way to obtain an instance of the bean is using a finder method.

Without the create() method, the only way to create new beans is manually accessing to the database and using, for example, SQL insert statements.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact