The Latest

DevX - Software Development Resource

Retrieving Only Unique Elements from Two Sets

This algorithm helps you to retrieve all the elements contained in the first set (set1), but not in the second (set2). Here’s the template: templatevoid Diff(const T& set1, const T&

DevX - Software Development Resource

Discover RELAX NG, A Simple Schema Solution

any experienced developers loathe changing their DTDs (Document Type Definitions) because of their cumbersome syntax and semantics. For newcomers, DTD syntax just looks like Greek. A brand new addition to

DevX - Software Development Resource

Get Drunk on the Power of Reflection.Emit

# is a small language. It doesn’t support writing regular expressions, for example, or accessing a relational database, or even using simple data-structures like stacks, queues, and lists. Of course

DevX - Software Development Resource

Heard on .NET Rocks!: Indy Racing League

att Mannion is an Engagement Manager for Clarity Consulting Inc., a Chicago-based technology consulting firm and Microsoft Gold Certified Partner. Matt has delivered many large-scale, WinForm and WebForm systems for

DevX - Software Development Resource

The Times Are a-Changin’

ast week was the end of an era for me. I was lucky enough to see Revenge of the Sith in an audience that included BillG (Bill Gates) himself. I

DevX - Software Development Resource

The Living Language—Visual Basic 2005

ea, I know. English is a living language, but there have to be some rules. You can’t just make up words. You can’t make up ways to use those words.

DevX - Software Development Resource

Hibernate Criteria API: Multi-Criteria Search Made Easy

ulti-criteria search functionalities, which allow combinations of many optional criteria fields, are common in modern Web-enabled business applications (see Sidebar 1. When to Use Multi-Criteria Searches). An example of this

DevX - Software Development Resource

Fixing a CVS -n Update Error

Suppose a CVS -n update throws the following error: cvs update: inflate: unknown compression methodcvs [update aborted]: reading from server: Input/output error When you use the -n option, there’s a

DevX - Software Development Resource

Manage Messages from MQ Server with MQ Java Classes

import com.ibm.mq.*; public class MQPutGet{ private String qManager = “QMGRname”; private String qName = “QUEUEname”; private MQQueueManager qMgr; // define a queue manager object public static void main(String args[]) {

DevX - Software Development Resource

When to Pass Parameters by Value

The main reason to pass parameters by value is to improve performance, which is somewhat of a paradox, because this is also one of the main reasons to pass by

DevX - Software Development Resource

Building 2-D Graphics Applications Using Java and SVG

s Web applications become more sophisticated, developers increasingly need to be able to incorporate dynamic graphics and animation. Unfortunately, Web browsers were originally designed to display static HTML; displaying dynamic

DevX - Software Development Resource

Managing XML Encryption with Java

ML Encryption provides end-to-end security for applications that require secure exchange of structured data. XML itself is the most popular technology for structuring data, and therefore XML-based encryption is the

DevX - Software Development Resource

Generalized AJAX Response Handling for XML Content

JAX is catching on, but handling multiple XML responses on the client side is difficult. Current methods of easing the hassle ignore important programming principles that are known to help

DevX - Software Development Resource

Build an Embedded Array Language in Java

t’s really not surprising that the first “killer app” in the world of personal computing was the spreadsheet. After all, a table filled with numbers is one of the simplest