aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes EJB + DAO usage question. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "EJB + DAO usage question." Watch "EJB + DAO usage question." New topic
Author

EJB + DAO usage question.

Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
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 ;-)


SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Session Bean using DAO is OK.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: EJB + DAO usage question.