This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring and DAO Dependency Injection " Watch "Spring and DAO Dependency Injection " New topic
Author

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring and DAO Dependency Injection
 
Similar Threads
Spring 2.5 with Hibernate 3.0 error when creating dataSource for Hibernate SessionFactory
Error running the application
How to display DB table values?
why to extend HibernateDaoSupport
Spring DAO and applicationConfig