Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLs in home methods of EJB 2.0 CMP Beans  RSS feed

 
Sun Rise
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it a good practice to use direct SQL calls using JDBC in ejbHome methods of a EJB 2.0 CMP bean. The EJB specification does not specify anything about this. What are the pros and cons of this approach, any thoughts would be appreciated.
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!