The Latest

DevX - Software Development Resource

Using the GRANT Command

The SQL GRANT command is used to grant access privileges to database objects and role authorizations. For example, the following statement grants the user username the right to SELECT tabname:

DevX - Software Development Resource

Use an XMLReporter for Report Customizable Errors in StAX Applications

To customize error reports in StAX applications (except fatal errors), you can configure an XMLReporter like this: XMLInputFactory XMLif=null; //get an XMLInputFactory objectXMLif=XMLInputFactory.newInstance();//setting an XMLReporterXMLif.setXMLReporter(new XMLReporter() { public void report(String

DevX - Software Development Resource

JavaOne : Semantic Web : Ontologies

Dean Allemang gave an extremely informative talk at JavaOne today in the session, “Semantic Web for the Working Ontologist.” I walked away thinking the term Semantic Web is misnamed. And

DevX - Software Development Resource

Taming Trees: Building Branching Structures

isual Studio is chock full of classes to implement exotic data structures such as collections, hash tables, and dictionaries. One notable data structure that’s missing is the tree. Trees are

DevX - Software Development Resource

JavaOne : Semantic Web : You

The “Developing Semantic Web Application on the Java Platform” session just wrapped up at the Moscone Center. Did the panel discuss Java to the audience of Java developers in attendance?

DevX - Software Development Resource

Clean Up Function Syntax Mess with decltype

he auto keyword presented here is related to another C++09 proposal: the decltype operator. decltype(e) retrieves the type of the expression e. By combining decltype and auto, you can simplify

DevX - Software Development Resource

Processing Linked Web Data with XSLT

he Semantic Web is a grand vision for increasing the power of the web through better expression and management of context. Semantic Web developers are building a framework to open

DevX - Software Development Resource

Web 2.0 Blues: The Politics of Access

If you’ve been living under a rock for the last month, you may not have heard about the Web 2.0 Expo in San Francisco last week. As I’m the Mistress

DevX - Software Development Resource

A Guide to Cryptography in PHP

n an ideal world, words like cryptography and security wouldn’t even exist, but the real world is far from perfect, so software developers have to spend a good deal of

DevX - Software Development Resource

It’s an Agile World

gile software development has arrived in a big way. I know you’re probably thinking, “Wow! Rod, you are really on top of things.” I know that agile methodologies have been

DevX - Software Development Resource

Heard on .NET Rocks! Don Demsak on LINQ to XML

arl Franklin: Let’s bring on Don. Don Demsak, a.k.a. DonXML, is an independent consultant based out of New Jersey. He specializes in building enterprise applications with .NET. He’s a Microsoft

DevX - Software Development Resource

YAB? Just What You Need

The launch of the DevXtra Editors’ Blog is bound to raise the YAB (yet another blog) questions: Why, and why now? Those are fair in an age when everyone with

DevX - Software Development Resource

More Applications for the Semantic Web Needed

The Semantic Web is a vision, an idea, a base-set of technologies. It’s not something Dad picks up at the computer store. It’s not something the press understands very well. It’s certainly

DevX - Software Development Resource

Using StAX to Clone an XML Document

To clone an XML document at runtime, use the StAX XMLEventReader and XMLEventWriter classes like this: //AirWings_order.xml – the original XML in this example//AirWings_order_clone.xml – the clone of AirWings_order.xmlimport javax.xml.stream.*;import

DevX - Software Development Resource

Override a Child Class’ Parent Method

C# seems to fail in an advanced use of polymorphism, as demonstrated by the following code: class AReturn {}class BReturn : AReturn {}class A{ public virtual AReturn GetReturn() {…}}class B{

DevX - Software Development Resource

Gain Control of Your Desktop with WindowMover

indowMover is a little project originally created for a study that involved tracking the gaze of subjects when presented with various images. The study used a special eye-tracker device that

DevX - Software Development Resource

Tracking Events Using a Semi-Structured Repository

ave you ever used a multi-user system and found yourself wondering, “How did this get changed?” or, “Who created this and why?” Helping your users track the system changes and

DevX - Software Development Resource

The Mobile Road: Looking Back, Looking Forward

’ve been doing mobile software development of one sort or another for time out of mind. Some of the first serious programs I wrote were for an HP-41CX calculator for

DevX - Software Development Resource

Start Your Engines: Mobile Application Development

oftware engineering is all about choices. Choices have to be weighed: performance vs. scalability, complexity vs. flexibility, pros vs. cons, and good vs. poor design. In mobile application development, we

DevX - Software Development Resource

The Mobile Platform Cheat Sheet

hen choosing the technology and target platform for your mobile project or application, you will find several possibilities. There are several kinds of mobile phone platforms available and most have