The Latest

DevX - Software Development Resource

Dealing with Floating-point Exceptions in MSVC78

ecause the scientific and engineering numeric floating-point calculation approximates real arithmetic, the precision of this format can create situations wherein your floating-point operations results are not acceptable in some domains.

DevX - Software Development Resource

A Guide to C++ and C Interoperability

orting C code to C++ is no big deal: change the source file’s extension from .c to .cpp and recompile. By contrast, porting C++ source code and binaries to C

DevX - Software Development Resource

kXML-RPC Enables Service-Oriented Mobile Computing

ervice orientation is sweeping through modern enterprise environments like the Black Plague swept through Europe (hopefully the parallels end there). At the same time, enterprises seem increasingly interested in supporting

DevX - Software Development Resource

Meet Jena, a Semantic Web Platform for Java

ava programmers who want to develop semantic web applications have a growing range of tools and libraries to choose from. One such tool, the Jena platform, is an open source

DevX - Software Development Resource

Discover Microformats for Embedding Semantics

he Resource Description Framework (RDF) and Web Ontology Language (OWL) are important technologies driving development on the road to the semantic web. The former is a set of World Wide

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

SQLCLR Security and Designing for Reuse

n important principal of software design is that of “least privilege.” Basically, in any given layer of a program, you should grant only minimal access such that the code has

DevX - Software Development Resource

Spice Up Your SMS Chat on the Pocket PC

MS messaging is one of the most popular means of communication means in this new digital age. While SMS is best suited for asynchronous communications, it’s recently being increasingly used

DevX - Software Development Resource

Making Delicate Decisions

uppose you and your swashbuckling buccaneer friends attack a Spanish galleon. When the smoke clears you find that you have emerged victorious but now you must begin the more difficult

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

DevX - Software Development Resource

If You Build It, They Can Know

n a previous article I showed you how to leverage Semantic Web technology to create a relatively sophisticated sommelier application that recommended wines based on an understanding of wine styles.

DevX - Software Development Resource

Does Your RDBMS Support Savepoints?

Before using savepoints in your application, you need to be sure that your RDBMS supports this facility. To do this, call the DatabaseMetaData.supportsSavepoints method, like this: Connection conn=null;DatabaseMetaData dmd=null;…try{ dmd=conn.getMetaData();

DevX - Software Development Resource

Save a URL as an MHT File

To save a URL as an MHT file (Microsoft “Multipurpose Internet Mail Extension HTML”?a Web Archive File), reference the Microsoft ActiveX Data Objects 2.7 and Microsoft CDO libraries and use

DevX - Software Development Resource

Write Your Own Windows Services

indows services are applications that run in the background without the need for a user interface. If you?re using Windows, you should not be new to Windows services. The Themes

DevX - Software Development Resource

The Business Case for the Semantic Web

“The business market for this integration of data and programs is huge…. The companies who choose to start exploiting semantic web technologies will be the first to reap the rewards.”

DevX - Software Development Resource

Error Handling: The Sooner, The Better

rrors and exceptionsare two similar notions that differ in one crucial aspect: exceptions are a runtime concept, whereas errors are anomalous conditions that can and should be detected as early