File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB + DAO usage question.

 
Steven Colley
Ranch Hand
Posts: 290
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks!! That's me again!

See this :


- EB (BMP) + DA0 = OK, we do need to write our queries.

- EB (CMP) + DAO = NO, because we don't need to write queries anymore.

And what about these other options :

- SLSB + DAO = is this ok or is there any drawback here?

- SFSB + DAO = Why not? because this kind of bean keeps conversational state and shouldn't be using DAO ? is that?

Tks in advance again ;-)
 
Hong Anderson
Ranch Hand
Posts: 1936
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Session Bean using DAO is OK.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic