devxlogo

Tip Bank

An Incremental Search in the .NET IDE

Suppose you want to search for the strings com, comment, and comments in your code. Press Ctrl + I and start typing. The .NET IDE will start searching as you

Tracking Memory Leaks in Java

Most “memory leaks” in Java are caused by references to objects that are no longer needed?if an object is still being referenced, then it cannot be finalized, and the memory

Selecting One Record Before and After a Value

Suppose you want to select records from a table (say orders from a Northwind database), before and after a certain value (orderid). For instance, one order before and after 10250.

How Powerful Is Your StAX Parser?

This tip is a simple application that demonstrates the possibilities of your StAX parser by setting the XMLInputFactory properties to true/false. The StAX parser tested in this example is the