|
Diagnosing Java code: The case for static types
|
Other links at Java > Tutorials > Development |
| 1. |
Weighing in on Java native compilation
|
|
|
Learn the pros and cons of generating native code from Java source. This article includes the basics of code compilation, including a brief overview of why many developers are employing Java native compilers for their applications.
|
| 2. |
Concurrency in JDK 5.0 Tutorial
|
|
|
JDK 5.0 added major new support for developing concurrent applications, including JVM changes, new low-level synchronization utilities, and higher-level, thread-safe, high-performance concurrency classes such as thread pools, concurrent collections, semaphores, latches, and barriers. Learn how these new classes can help make your code faster, more scalable, more reliable, and easier to maintain.
|
| 3. |
Threading lightly : Reducing contention
|
|
|
While its common to hear that synchronized method calls can be 50 times as expensive as unsynchronized method calls, these numbers can actually be quite misleading. With each successive JVM version, overall performance has improved, and the cost of uncontended synchronization has been reduced, making the issue of uncontended synchronization overhead less significant. Contended synchronization, however, is quite expensive. Moreover, a high degree of contention is disastrous for scalability -- an application that had a high degree of contended synchronization will exhibit markedly worse performance as the load increases. This article explores several techniques for reducing contention, and hence improving scalability, in your programs.
|
| 4. |
Download SCJP 310-035 Free Exam Simulator
|
|
|
Sun Certified Programmer for Java 2 Platform 1.4 (CX-310-035). Download SCJP 310-035 Free Exam Simulator which helps you to prepare for the exam. The Exam Simulator is a computer program designed to help you pass your examination on the first try. The Exam Simulator pinpoints your strengths and weaknesses by quizzing you with questions similar to those found on your actual exam. The questions will familiarize you with everything you need to know to pass your exam. The Exam Simulator helps you manage your time and learn quickly by allowing you to study your material on a topical basis, or by taking timed exam simulations that look and feel exactly like the real thing. The Exam Simulator makes studying simple. Youll be comfortable with the format of the test and confident that youll pass on the first try.
|
| 5. |
Exploiting ThreadLocal to enhance scalability
|
|
|
The ThreadLocal class appeared with little fanfare in version 1.2 of the Java platform. While support for thread-local variables has long been a part of many threading facilities, such as the Posix pthreads facility, the initial design of the Java Threads API lacked this useful feature. Further, the initial implementation was quite inefficient. For these reasons, ThreadLocal gets relatively little attention, but it can be very handy for simplifying the development of thread-safe concurrent programs. This article examines ThreadLocal and offers tips for exploiting its power.
|
|
|