This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB + DAO usage question.
 
Similar Threads
New to Hibernate
DAO implementation questions
Another Q: SFSB and DAO
Data flow from Bean to Jsp
DisplayTag Probelm.