File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: Spring and DAO Dependency Injection
 
Similar Threads
Error running the application
why to extend HibernateDaoSupport
Spring 2.5 with Hibernate 3.0 error when creating dataSource for Hibernate SessionFactory
How to display DB table values?
Spring DAO and applicationConfig