Development. Tutorials & Tips. Java. Scripts from Hot Scripts. Review before you use or buy a script! Let Hot Scripts uncover the best free, open source and commercial hot-scripts Development scripts for your web site.
Development
-
Scaling Web services and applications with JavaGroups
As the J2EE platform has matured, it has opened up the opportunity to deploy commodity servers in networked cluster configurations for scaling of Web services and Web applications at the Web tier. These commodity servers, interconnected through commodity... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Mash that trash -- Incremental compaction in the IBM JDK Garbage Collector
This article discusses incremental compaction, a new feature in the memory management component of IBM JDK 1.4.0. Incremental compaction is a way of spreading compaction work across different garbage collection cycles, thereby reducing pause times. The... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Diagnosing Java code: The case for static types
Love or hate it, static type checking can make code more robust. Programming languages are moving away from static type checking, but it is too powerful a debug resource to abandon. Static type checking can be one of the key weapons in a powerful arsenal... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Java programming code page considerations
Every Java programmer should be aware of the problem of code pages vs. Java Unicode. This article describes some pitfalls to avoid with code page and Unicode conversions and provides example fixes for the problems. Armed with this informaion, you should... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
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.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Concurrent programming in the Java language
One of the most important features of the Java language is support for multithreaded (also called concurrent) programming. This tutorial introduces you to the proper use of multiple threads in a Java program, using sample programs to illustrate these... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
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... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Working with preferences: the Preferences API Specification
The addition of the java.util.prefs package to Java 1.4 (through JSR 10) lets you manipulate user preference data and configuration data by providing you with access to an implementation-specific registry (for example, the Windows Registry on Windows... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Threading lightly : Reducing contention
While it's 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... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Diagnosing Java Code : The Orphaned Thread bug pattern
In multithreaded code, it is often common to use a single, master thread that drives the actions the other threads take. This master thread may send messages, often by placing them on a queue, that are then processed by the other threads. But if the... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Diagnosing Java Code: The Impostor Type bug pattern
When special tags in fields are used to distinguish between types of objects, errors are possible in which a tag mislabels the associated data -- a bug pattern known as the Impostor Type. This article examines the symptoms and causes of this bug, defines... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Improve the performance of your Java code
Many algorithms are expressed most concisely as tail-recursive methods. Compilers can automatically transform such methods into loops and thereby improve program performance, but this transformation is not required by the Java language specification, so... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
How to lock down your Java code
You inevitably spend some part of your week crunching code that you didn't write, and for which you may not have the source. This beginner's guide to opening up and locking down Java code walks you through the essentials of disassembling, decompiling,... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
How to clone Java objects
This guide shows how to make a java class Cloneable and how to clone an object.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose