This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hibernate is one of the most popular ORM framework now a days. Refer http://www.hibernate.org/ for more information.
If you are interested in book then I would suggest Hibernate in Action and Java Persistence with Hibernate(Manning Publication).
Instead of thousands of threads seeking connection objects and firing the same query to fetch same set of data from the database, we can fire one query per set of data requested very frequently and store it in xml or in objects mapping to that set of data, and then for each thread requesting the data is fetched from these objects or xml which is comparatively very efficient.
Please comment if it is the way hibernet works!? Because it is some thing I have in my mind about hibernet.
Well! thanks a lot for your kind help... Vishal, Lisa.
ramnna jain wrote:Please comment if it is the way hibernet works
No, not really. Firstly, nothing is stored in XML - it's all in memory. An earlier version of Hibernate (versions 1 and 2) used XML files for configuration, but those have been dropped for annotations. Secondly, it can use connection pooling, but that's not specific to Hibernate - it's how just about all multi-threaded applications use databases these days. Thirdly, you're right that it does cache some DB records in memory for performance reasons. And lastly, it's called "Hibernate", not "hibernet".