Tip Bank

DevX - Software Development Resource

The Enhanced for loop in Java 1.5 (5.0)

There have been a lot of enhancements to existing features in Java 1.5 (5.0). One of the simplest improvements is to the most commonly used for loop. Here’s how it

DevX - Software Development Resource

Look Up a Bean Interface in EJB 3.0

In principle, in EJB 3.0, you can access a bean from another bean by looking it up in the interface (local or remote). Here are two solutions for doing that:

DevX - Software Development Resource

The #flastmod and #fsize Server-side Includes

The #flastmod and #fsize server-side includes provide important information on web pages hosted by classic ASP web sites. The #flastmod include prints the date when the file was last modified.

DevX - Software Development Resource

Using ANYDATA in Oracle 9i

First introduced in Oracle 9i, ANYDATA is a “self-describing data instance type” which means it not only holds the value, but it also holds its own data type within each

DevX - Software Development Resource

In-memory JDBC Driver Details

When you’re working with JDBC, you can load more than one JDBC driver in memory. To find out how many drivers are in memory, along with other useful driver information,

DevX - Software Development Resource

Determine Whether a URL Is Valid

Use this Boolean function to determine whether a URL is valid: public static bool checkUrl(string url) { bool rt = false; if (url.StartsWith(“www.”)) { url = “http://” + url; }

DevX - Software Development Resource

When to use ORDER in Sequences in PL/SQL

You may need to use ORDER to force sequence numbers to be output in the order of request when you’re using them for timestamping. Most of the time, your sequence