The central concept for synchronization in the Java model is the monitor. The central notion of a mutex concerns ownership. Only one thread can own the mutex at a time. If a second thread tries to "acquire" ownership, it will block (be suspended) until the owning thread "releases" the mutex.
The best analogy for a monitor is an airplane bathroom. Only one person can be in the bathroom at a time (we hope). Everybody else is queued up in a rather narrow aisle waiting to use it. As long as the door is locked, the bathroom is unaccessible. Given these terms, in our analogy the object is the airplane, the bathroom is the monitor (assuming there's only one bathroom), and the lock on the door is the mutex.
Author: Lakshmi S.V.S.M
Via: java-l@groups.ITtoolbox.com
Friday, October 06, 2006
Wednesday, September 27, 2006
Hibernate - Lazy Fetching
Very Good and easily understandable articles on lazy loading(fetching) using hibernate.
Understanding Lazy Fetching
Tuning Lazy Fetching
Understanding Lazy Fetching
Tuning Lazy Fetching
Thursday, September 21, 2006
Hibernate 3.1 Used with Tomcat 5.5.x
A fine article by Bill Treuman and Igor Dayen as some changes have been done in Tomcat configuration as it advanced from Tomcat 5.0 to 5.5.x. Also, Hibernate version advanced from 3.0 through 3.1(upgrade in thread-safe Hibernate session).
Click here to read more
Click here to read more
Friday, June 23, 2006
Thursday, June 22, 2006
What Version of Java Are You Using?
Following web site addresses four Java issues:
- Is your web browser Java enabled?
- If so, what version of Java is it using?
- How to install and upgrade Java?
- Configuring the Java options in your browser.
Friday, June 09, 2006
Struts and Ant
Today, I searched for some beginner level links for Struts and ANT. Here are few:
First Steps with Jakarta Struts
First Steps with Jakarta Struts - 2
6 Easy Steps to MVC Web Apps
Complete the MVC Puzzle with Struts
Apache Ant Demystified - Parts 1 and 2
Others
First Steps with Jakarta Struts
First Steps with Jakarta Struts - 2
6 Easy Steps to MVC Web Apps
Complete the MVC Puzzle with Struts
Apache Ant Demystified - Parts 1 and 2
Others
Thursday, June 08, 2006
Download - Google Adwords Editor
Google Adwords Editor helps you manage your Adwords campaign offline. The AdWords Editor was earlier available only to a limited number of advertisers by invitation.
Best Feature:To export and archive your complete Adwords account information to a CSV file.
Download From Here
Best Feature:To export and archive your complete Adwords account information to a CSV file.
Download From Here
Subscribe to:
Posts (Atom)