No Image

Java Tip 132: The taming of the thread

15 11 月, 2002 Roy M. Pueschel 0

Threads can be nasty beasts. This is partly attributed to their delicate nature. Threads can die. If the causes of thread death are not in your code, then MutableThread may keep your code running. This article explores a solution using an object-orient…

No Image

Java Tip 132: The taming of the thread

15 11 月, 2002 Roy M. Pueschel 0

Threads can be nasty beasts. This is partly attributed to their delicate nature. Threads can die. If the causes of thread death are not in your code, then MutableThread may keep your code running. This article explores a solution using an object-orient…

No Image

Java 101: Packages organize classes and interfaces

6 9 月, 2002 Jeff Friesen 0

Why reinvent the wheel? That cliche applies to software development where some developers frequently rewrite the same code for different programs. Two disadvantages with that approach are:It wastes timeIt introduces the potential for bugs in debugg…

No Image

Java Tip 131: Make a statement with javac!

30 8 月, 2002 Shawn Silverman 0

Often you may want to test a single piece of code. For example, say you forget how the % operator works with negative numbers, or you must determine how a certain API call operates. Writing, compiling, and running a small program repeatedly just to tes…

No Image

Java Tip 131: Make a statement with javac!

30 8 月, 2002 Shawn Silverman 0

Often you may want to test a single piece of code. For example, say you forget how the % operator works with negative numbers, or you must determine how a certain API call operates. Writing, compiling, and running a small program repeatedly just to tes…

No Image

Java Tip 131: Make a statement with javac!

30 8 月, 2002 Shawn Silverman 0

Often you may want to test a single piece of code. For example, say you forget how the % operator works with negative numbers, or you must determine how a certain API call operates. Writing, compiling, and running a small program repeatedly just to tes…

No Image

Java Tip 130: Do you know your data size?

16 8 月, 2002 Vladimir Roubtsov 0

Recently, I helped design a Java server application that resembled an in-memory database. That is, we biased the design toward caching tons of data in memory to provide super-fast query performance.Once we got the prototype running, we naturally decide…

No Image

Java Tip 130: Do you know your data size?

16 8 月, 2002 Vladimir Roubtsov 0

Recently, I helped design a Java server application that resembled an in-memory database. That is, we biased the design toward caching tons of data in memory to provide super-fast query performance.Once we got the prototype running, we naturally decide…