Developer
DeveloperAvoid these Java threading gotchas
Writing multithreaded applications in Java can trip up beginner and intermediate programmers alike. Before you tie yourself in a knot, learn how to sidestep these common threading mistakes.
Writing multithreaded applications in Java can trip up beginner and intermediate programmers alike. Before you tie yourself in a knot, learn how to sidestep these common threading mistakes.
Direct Internet Message Encapsulation (DIME) offers a better alternative to MIME and raw XML to combine multiple text and binary records into one binary stream. See how DIME can work with your applications.
Iterator objects don't store objects the way arrays and linked lists do. See how using a filtering Iterator class can help you avoid wasted memory and decreased performance.
Java Web Start simplifies deployment of applications, but Sun's Plug-in makes the task even easier. See how the Java Plug-in from Sun enables browsers to fetch a Java Virtual Machine (JVM).
Java Web Start can make deploying Java apps a breeze, but it may prevent those apps from accessing needed resources. Find out how to use Java Network Launching Protocol and application signing to access a user's system resources beyond the sandbox.
Buffered iterators work in a similar fashion as BufferedInputStreams and can reduce delays in an iterator series. We'll walk you through some sample code line by line to demonstrate the process.
Java Web Start allows you to deploy full-featured applications using your Web browser, bypassing complex installation procedures. See if Web Start is right for your build and deployment process.
Additions to Java 1.4 enable an easier way to chain exceptions. Find out how java.lang.Throwable class and its member field passes error details to the user's log file.
WikiWikiWeb is an authoring tool that provides an easy, collaborative way to create browser-based, organic documentation. A Wiki may be the answer to your documentation woes.
You may be able to recover data from a self-inflicted disaster, but will your career recover? One pro's experience-based tips can help you put things right after you do the wrong thing.