Tip Bank

DevX

The new Operator

Question: Is it necessary to check return value after a “new” statement?Does it return null when it cannot allocate any more memory? Answer: You do not have to check the

DevX

Guidelines for Handheld Computer Developers

The proliferation of handheld devices and embedded systems revives old programming and design considerations that existed in the olden days, when every byte of memory and every CPU cycle counted.

DevX

Improve Performance by Putting Loop in a Query

Most applications contain a loop that contains a parameterized query, which is executed many times depending on some logic. This requires a network round trip between the computer running the

DevX

Use Stored Procedures with Output Parameters

If you already know that the execution of your SQL statement will return a single row of data, then you should always prefer stored procedures with output parameters in place

DevX

Useful Thread Terminology

Java makes working with threads relatively straight forward. However, there are situations, or anomalies that can arise due to improper design of a thread-based code. The following provides you with

DevX

What is a JAR File?

Java Archive (JAR) files are compressed files into which you can store many files. If you place the many classes that your application, or applet needin a JAR file, you