The Latest

DevX - Software Development Resource

Keeping Secrets

s a kid, I was fascinated with secret codes. After seeing the movie, “The Miracle Worker” (every kid in the 60s and 70s saw that movie at school, I’m sure),

DevX - Software Development Resource

CoDe Magazine Philosophy

common question I receive at the conferences and user group meetings I attend, is: “How do you find time to develop software with all your duties at CoDe Magazine?” My

DevX - Software Development Resource

Heard on .NET Rocks!

am the host of .NET Rocks!, an Internet audio talk show for .NET developers online at www.franklins.net/dotnetrocks and msdn.microsoft.com/dotnetrocks. My co-host, Rory Blyth (www.neopoleon.com), and I interview the movers and

DevX - Software Development Resource

Build “Win-tuitive” Java Applications

he ability to run Java applications on Windows is a clear demonstration of the language’s interoperability, but it also has its drawbacks from the user’s perspective. Since most Windows users

DevX - Software Development Resource

The Smart Choice for Smart Clients: J2EE or .NET?

n a world of distributed computing, the demand for smart-client applications is growing quickly. IT managers realize they must keep users happy—the user’s experience will make or break any application—while

DevX - Software Development Resource

Closing JDBC Objects Explicitly Can Save You Headaches!

Most Java programmers close a connection with the database directly?without closing the ResultSet or Statement. For example, take a look at the following code snippet: try { Class.forName( “sun.jdbc.odbc.JdbcOdbcDriver” );

DevX - Software Development Resource

Implement a Link Using XSL

Let’s say your XML looks like this: default.aspx?ID=13 Now, you need to transform this tag via XSL to the HTML tag: . The following XSL will do the trick: new

DevX - Software Development Resource

Create a Robust Document Management System with Oracle Text

f you need a way to search through various documents with differing formats (PDF, Word documents, PowerPoint presentations, Excel spreadsheets)?including Web content?use Oracle Text. Oracle Text has a powerful text-search

DevX - Software Development Resource

Extending Eclipse with Helpful Views

s a developer, one of the most important tools at your disposal is your IDE. As a Java developer, there are several IDEs available?both commercial and open source?that are each

DevX - Software Development Resource

Build a Client Application to Access a UDDI Registry

n the first article in this series, you saw how the Universal Description, Discovery, and Integration (UDDI) specification and protocol work together to define messages, application programming interfaces (APIs), and

DevX - Software Development Resource

Count the Number of Occurrences of a String Within a String

The select statement below takes the name “george” and finds how many occurrences of “ge” appear within it. select (length(‘george’) – length (replace(‘george’,’ge’,”))) / length(‘ge’) countfrom dual/ COUNT———- 2 Using

DevX - Software Development Resource

Look Up a DataSource Object in Your Web Server

This code demonstrates how to look up a DataSource object in your Web server using JNDI Lookup. import javax.sql.DataSource;import java.util.Hashtable;import javax.naming.InitialContext;public void findDatasource() { // Initializing DataSource object DataSource dataSource

DevX - Software Development Resource

Sort a Collection of Objects

Suppose you have objects of type MyClass. Further assume that you have a collection (named myCollection) containing objects of type MyClass. To sort this collection, follow these steps: MyClass must

DevX - Software Development Resource

Track Process Runtime for Perl Scripts

For any script that takes more than just a few seconds to run, it’s always a good idea to track the runtime itself. This is especially useful in the development

DevX - Software Development Resource

Power Python: Do More with Less Code

hat’s Power Python, you ask? It’s the effective use of Python language features to get a lot of work done in fewer lines of code. The lambda, reduce, filter, map,

DevX - Software Development Resource

Analysis Services Comparison: SQL 2000 vs. SQL 2005

any SQL Server developers eagerly anticipate the long-awaited release of SQL Server 2005, formerly code-named “Yukon.” Major goals for Business Intelligence (BI) in the 2005 release are better integration of

DevX - Software Development Resource

Turning Our Backs on Beauty?

ast month, Computer Research Associates released their annual Taulbee Survey (of North America’s computer science programs. According to their numbers, enrollment declined nearly 20 percent between 2002 and 2003. Predictably,