devxlogo

The Latest

A List of JDBC Drivers

If you need to access a database with Java, you need a driver. This is a list of the drivers available, what database they can access, who makes it, and

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&

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

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

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

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

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.

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

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

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[]) {

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

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

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

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