954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Best way of Connecting DataBase to Web Applicaion

Can any one tell me

I learnt about JDBC,Hibernate technologies.

I wonder about WEB Projects which uses JDBC technology exist today.?
If yes
How they are configuring JDBC Logic in web application in practical scenario.

thanks.

madhub2v
Light Poster
36 posts since Jun 2010
Reputation Points: 8
Solved Threads: 0
 

If you are working with relatively small amounts of records (in the low thousands in one hit) with a single transaction, use hibernate or some other object representation framework, if you are working in bulk (hundreds of thousands of records or more in one hit), use straight JDBC (or maybe something like ibatis). In either case use the containers connection pool.

masijade
Industrious Poster
Moderator
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
 

thanks Masijade..for your reply.

in real time scenario do they use JDBC only for
example bank applications or shopping cart web projects.
which technology is used mostly..?

madhub2v
Light Poster
36 posts since Jun 2010
Reputation Points: 8
Solved Threads: 0
 

As already said, it depends on the scope of the individual transactions.

masijade
Industrious Poster
Moderator
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: