File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Spring and DAO Dependency Injection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring and DAO Dependency Injection " Watch "Spring and DAO Dependency Injection " New topic

Spring and DAO Dependency Injection

PavanPL KalyanK
Ranch Hand

Joined: Feb 28, 2009
Posts: 212
Hi ,

The below code is an article from a site .In that the Author mentioned the bean-id for DAO implementation layer.

If i want to perform all the Database related operations inside my EJB 3.0 stateless session bean which contacts the database.

Then the below would be useful , this is what i think .Please give me suggestions.

Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
You mean you'll use both EJB 3 and Spring?

I'm not sure, you may try to search about how to integrate EJB 3 and Spring.

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:
subject: Spring and DAO Dependency Injection
jQuery in Action, 3rd edition