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  JDBC implementation at persistent layer side  in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark " JDBC implementation at persistent layer side  in spring" Watch " JDBC implementation at persistent layer side  in spring" New topic
Author

JDBC implementation at persistent layer side in spring

maha laxmi
Ranch Hand

Joined: Sep 23, 2005
Posts: 68
what is the best approach to do JDBC implementation at persistent layer side in spring framework ;

for larger applications like 500 users hitting the application daily ,this kind of application should i use HibernateDAOsupport class in spring or spring's JDBC Template class;
Junilu Lacar
Ranch Hand

Joined: Feb 26, 2001
Posts: 3008
I would not base the decision on the number of users but in the complexity of the query you want to execute. In my experience, the convenience that Hibernate provides is usually worth any overhead when it comes to simpler queries. Once you start having more complicated queries involving multiple joins and/or more than two tables, then overhead becomes more of an issue. If you program to DAO interfaces, it is easy enough to switch from a Hibernate implementation to a JDBC implementation.


Junilu
[How to Ask Questions] [How to Answer Questions] [MiH]
 
 
subject: JDBC implementation at persistent layer side in spring
 
Threads others viewed
Spring in a non J2EE application
AbstractWizardFormController: teasing command object
Is this right architecture
Is Spring Framework dead?
Use DAO or not? in JDO
MyEclipse, The Clear Choice