The Latest

DevX

Turn on Path Auto-Completion in DOS

It can be annoying to type long path names at the DOS command prompt. To avoid having to do so in Windows, you can enable DOS’s auto-completion feature, which is

DevX

Handling Null Session and Request Variables

In ASP.NET, if you try to use a session or request variable before it has been set, you’ll get an error. The following functions prevent this by checking for nothing

DevX

Building Domain Specific Languages in C#

t the JAOO conference in Aarhus, Denmark this year, domain specific languages came up in virtually every conversation; every keynote mentioned them, a lot of sessions discussed them (including a

DevX

Create a New Event Using AWTEventMulticaster

This code shows how to create a new event using AWTEventMulticaster. import java.awt.*;import java .awt.event.*;class Buton extends Component{ private Image button_pressed,button_released; private boolean press=false; ActionListener actionListener; public Buton(){ button_pressed=Toolkit.getDefaultToolkit().getImage(“?”); //pressed

DevX

Obtain the Local Absolute Path of a Class File

This tip shows how to obtain the local absolute path of a class file containing the specified class name, as prescribed by the current classpath. Call this method as you

DevX

WCF and MSMQ—Take a Message

he inherent advantages to introducing queues into an application architecture are well understood. Queues, when used properly, can: Increase application robustness, as clients can send messages even when services are

DevX

Sell Your Application Through Social Networking

I recently read the book, “33 Million People in the Room” by Juliette Powell. The subtitle inspired me to get rich quick: “How to Create, Influence, and Run a Successful Business

DevX

Avoid Unwanted Browser Caching Using JavaScript

Sometimes, you’ll notice that when you open a URL (with dynamic content, and especially a pop-up window) a second time, the page displays the data which was displayed earlier and

DevX

Closing an SSLEngine Connection

This tip shows you how to correctly close a SSLEngine connection. Notice that this is not a simple process, like closing a simple socket! SSLContext context …;SSLEngine engine …;ByteBuffer dummy

DevX

Forking and Joining Java to Maximize Multicore Power

f writing software is hard, then writing applications that will take full advantage of the ever-more-prevalent multicore/multi-CPU hardware?without introducing subtle race conditions and consistency errors?is even harder. Numerous solutions have

DevX

Lots about Locks

emember the red telephone box, once a familiar sight on the streets of London? That’s a good example of mutually exclusive access to a shared resource, although you probably didn’t

DevX

Sesame 3.0 Preview: An Open Source Framework for RDF Data

fter downloading Sesame 3.0-alpha1, the first thing you might notice is that Sesame 3.0 is packaged slightly differently than in 2.x. The awkwardly named sesame-onejar.jar was replaced by sesame-client.jar and

DevX

Book Excerpt: Programming in Objective-C 2.0

bjective-C has become the standard programming language for application development on the Mac OS X and iPhone platforms. A powerful?yet simple?object-oriented programming language based on the C programming language, Objective-C

DevX

Use GetBetween to Parse a String Between Two Strings

This tips shows how to use GetBetween to parse and extract a string between two strings. GetBetween returns the extracted string, if found. Public Function GetBetween(ByRef sSearch As String, ByRef

DevX

Developing a NIO-Based Client

This tip shows you how to develop a New I/O-based client. As you probably know, NIO offers many advantages such as speed and the ability to maintain a large number

DevX

An Introduction to jQuery, Part 1

k, I admit it. For many, many years I hated JavaScript. I hated writing JavaScript code, and I hated the pain that goes along with dealing with different browsers using

DevX

Turn Twitter Into Your Personal Assistant

icroblogging service Twitter has become a disruptive everyday tool. It is increasingly replacing not only instant messaging clients, but also social bookmarking sites, interest tracking applications, support forums, email, and

DevX

Use the Factory Pattern to Facilitate Dynamic Typing

ood old object-oriented programming is still alive and kicking. In many C++ frameworks and applications where inheritance and virtual functions thrive you often need to create a derived object whose

DevX

Creating and Using Databases in Android

Database support is the lifeline of every application, big or small. Unless your application deals only with simple data, you need a database system to store your structured data. Android