devxlogo

The Latest

Implementing Enterprise Integration with Mule ESB

he sum of the Enterprise Service Bus (ESB) is greater than its parts. While you can?often quite easily?implement your own adapters for enterprise services, a pre-packaged product that comes with

Read an Image from a Database Using the getBinaryStream Method

This following code shows you how to extract an image (in this example, named foto_9738533.gif) from a database using the getBinaryStream method: try{ sql=”SELECT Foto FROM Table1 WHERE Nr_cont=9738533″; rs=st.executeQuery(sql);

Using Data Wizards in .NET 2.0

When you use the data wizards in .NET 2.0, the connection string property is read only. However, the following code shows you how to change the connection string: ‘set a

Creating Tables in the Default Tablespace

Developers typically create tables in the default tablespace. Most of them are not familiar with the actual tablespaces concept and are not aware that this is responsible for the issues

Taming Trees: B-Trees

he previous article in this series on trees showed how to build a sorted binary tree. Inserting and locating items in a sorted tree is relatively quick and easy, so

Taming Trees: Parsing and Sorting

he first part of this series explained basic tree terminology and showed how to build a simple binary tree in Visual Basic or C#. It also explained how to perform

Tech Ed 2008—Unifying Everything

From a developer’s perspective, Tech Ed 2008, which attracted over 6000 developers to Orlando, doesn’t offer much that’s completely “new;” however, it does offer a great deal of value for

Model View Controller Framework

Warning: this may be considered free advertising—or then again—it might just be considered entertaining and educational. The FiveRuns and RailsEnvy guys created videos for the Rails Conference, which just ended. They showed

Crafting Strings in C#

ecently, I came across an application that contained a binary + operator in which at least one of the operands was of type string. While debugging this app, I found

Write a VB6 String that Contains Double Quotation Marks

There are typically two ways to express the string that contains double quotation marks. For example, suppose you have following string in VB6: &lta href=”http://www.sina.com”&gtsina You can express this string

Windows Live Delegated APIs

he Internet provides a fantastic backbone for sharing data. For many years Microsoft’s consumer services have helped users manage an assortment of data, such as photos on Spaces and contacts

Just Say No to Controlling the Web

I’ve been stewing over this one for over a week now. I can’t believe it’s even necessary to write a post on this topic. What am I even talking about?

Google I/O: The Web’s Wide Open for Developers

Google launched its largest and first paid-admission developer conference, Google I/O, yesterday in San Francisco with a 90-minute keynote session to show off a number of its web development products

XProc: Meta-Programming and Rube Goldberg

eclarative programming can take a little getting used to, especially if your standard mode of operation is working with languages like Java or C#. In essence, such programming requires that

Sharpen Your Code with Benchmarking in PHP

ny software product must successfully pass the optimization step before it can hit the market and become a reference product. Finding memory leaks and increasing a product’s performance is a

Validate an XML Document Only When a DTD Exists

Learn how to use the DOMImplementationDS and DOMConfiguration classes to validate an XML document only when a DTD document can be found: DOMImplementationLS DOMiLS=null;? //get a LSParser object LSParser LSP=DOMiLS.createLSParser(

Concatenating Strings

When you’re concatenating only a few strings, it’s faster to add them than to use StringBuilder. Suppose you want to decompile the following code: string a = “a”;string b =

Weaving the Windows Live Services into Your Web Site

t takes an engaged audience and compelling experiences to reach success on the web. Using Windows Live Services, your site can provide engaging experiences that connect directly with hundreds of