The Latest

DevX - Software Development Resource

Struts to Stripes—A Road Worth Traveling

orting an existing Java Web application to a new framework is probably not at the top of most developers’ fun-stuff-to-do lists. In addition to the time of learning a new

DevX - Software Development Resource

Achieving Synchronicity: A ListBox Double Feature

uilding complex Web controls with rich-client interfaces often requires the integration of some client-side JavaScript code with the control’s server-side code. While in some cases this does not have to

DevX - Software Development Resource

Imitate Sealed Classes and Disable Object Copying

he keywords final and sealed in Java and C# respectively ensure that a certain class shall not be subclassed. C++ doesn’t have a similar keyword. Naive programmers are often tempted

DevX - Software Development Resource

Using Break and a Label to Exit a Loop

Although it is perfectly okay to use a goto to exit a nested loop, many developers prefer not to use gotos. Another way to exit a complicated, nested block of

DevX - Software Development Resource

Hear a PDF Instead of Reading It

Did you know you can listen to any PDF instead of reading it? It’s possible with Adobe Reader 6.0+. Here’s the short cut: CTRL+SHIFT+B: This allows you to hear the

DevX - Software Development Resource

Printing Color Lines in VB

Have you ever had a problem printing lines in color from VB6 (SP4)? The following code works correctly on a PictureBox, but prints black on the Printer (HP LaserJet and

DevX - Software Development Resource

A Numbers Game to Test Your SQL Skills

rogramming is not only remembering Java classes or the numerous utilities that appear almost every day. It is also the ideas in Donald E. Knuth’s “The Art of Computer Programming”

DevX - Software Development Resource

XLinq Part 1: Classes and Methods

early every .NET application needs to handle data that may reside in a wide range of data sources, from relational databases, to XML, to in-memory or disk-persisted objects. Although .NET

DevX - Software Development Resource

Create Lightweight Spring Plug-Ins—à la Eclipse

nterprise software products always require custom integration work at the customer site, and upgrades are nearly impossible when customers have to modify the core product’s configuration to introduce their customizations.

DevX - Software Development Resource

A Safe Way to Stop a Java Thread

The Thread.stop() method is unsafe and thus deprecated. If the thread being stopped was modifying common data, that common data remains in an inconsistent state. A better way would be

DevX - Software Development Resource

Debug-friendly New and Delete

For better handling of resource leaks, try “marking” the allocation with ancillary information: #include #include #include #include typedef void FDEL(void* p, size_t size);typedef FDEL* PFDEL;class A{ int a; static void

DevX - Software Development Resource

System.Transactions and ADO.NET 2.0

ata is the blood in your system; it sits in its comfortable home of a database, and camps out in the tent of XML, but it deserves to be worked

DevX - Software Development Resource

An Introduction to Mono Development

any .NET developers, accustomed to Microsoft’s Windows-only development tools’ capabilities, are quite surprised when they learn that .NET is platform-independent. But it’s true. You can compile and execute .NET assemblies

DevX - Software Development Resource

High-Noon Showdown at Render Gulch

odern computer hardware and powerful graphics cards, now found in even ‘budget’ systems, support a new level of rapid rendering of more high-level descriptions of objects and dynamic response to

DevX - Software Development Resource

Unit Test Secured EJBs in Production

nit testing, a critical part of the software development process, involves individually testing each unit of code to make sure that it works correctly on its own. Performed at different

DevX - Software Development Resource

Fetching the Last Entered Records in Oracle

There are times that you may need to fetch the last couple of records that you’ve inserted. The exact number can vary. Oracle provides an easy way of retrieving these