The Latest

DevX - Software Development Resource

Read Time Zone Names Stored in the Registry

The following code reads the time zone names stored in the registry and places those names in a combobox. The time zone names (there are about 50 or so) look

DevX - Software Development Resource

Create a Taxonomy in UDDI Using UDDI4J

This code demonstrates how to create a tModel taxonomy in UDDI for WSDL specifications using UDDI4J. import org.uddi4j.datatype.tmodel.TModel;import org.uddi4j.response.AuthToken;import org.uddi4j.datatype.OverviewDoc;import org.uddi4j.util.KeyedReference;import org.uddi4j.util.CategoryBag;import java.util.Vector;import org.uddi4j.response.TModelDetail;import org.uddi4j.client.UDDIProxy;private String createTaxonomy() { try{ TModel

DevX - Software Development Resource

Push the Limits of SharePoint Customization

harePoint has a very extensive API that connects to almost any part of the SharePoint functionality through your code. With SharePoint 2003 Microsoft has re-written most of the base API

DevX - Software Development Resource

Build Better UIs with the Asynchronous Support in .NET 2.0

synchronous programming has always been a difficult and time-consuming process in Windows programming. Until now, developers typically wrote asynchronous code in .NET by using an asynchronous pattern with a Begin/End

DevX - Software Development Resource

Authenticate the UDDI Server and Gain Access to the UDDI Registry

The following code uses the the UDDI4J library to authenticate to UDDI and gain access to the UDDI registry: import org.uddi4j.client.UDDIProxy;import org.uddi4j.response.AuthToken;private AuthToken accessUDDI(){ UDDIProxy uddiProxy = new UDDIProxy(); //Create

DevX - Software Development Resource

Read an Image from a Database and Show it in a Browser

This script reads the image from the databse and uses JDBC and stream to write it into a browser. //import the required filesimport …//class declarationpublic class … extends HttpServlet{ public

DevX - Software Development Resource

Nine Tips to Enterprise-proof MSMQ

ince the release of the first version of MSMQ in December of 1997, it has provided the plumbing required by many enterprise applications. Before MSMQ, developers implemented tools with similar

DevX - Software Development Resource

Build the Netscape Directory Server SDK from Source

DAP (Lightweight Directory Access Protocol) is the defacto standard in many enterprises for organizing and managing directory services (employee directory, network URLs, etc.). Common implementations include Netscape’s Directory Server, IBM’s

DevX - Software Development Resource

Offshoring: What You Already Know

he typical programmer wears clothes made in Honduras. He drives to work in a Korean car while he sips Mexican coffee. He sits down at his Chinese-made desk, and turns

DevX - Software Development Resource

Restrict Users to Launching Only One Instance of an Application

Use this code to make sure that users can only launch one instance of an application. static void Main() { Process ThisProcess = Process.GetCurrentProcess(); Process [] AllProcesses = Process.GetProcessesByName(ThisProcess.ProcessName); if

DevX - Software Development Resource

Returning from main()

Semantically, returning from main is as if the program called exit (found in in C++ and in C) with the same value that was specified in the return statement. One

DevX - Software Development Resource

A Utility Program to Display System Properties

The getProperty method in the System class can be used to display the system properties defined for your environment. Here is an utility program which takes the property name as

DevX - Software Development Resource

Build an Object-oriented File System in PHP

he term “object-oriented” is vague and frequently misunderstood. Jonathan Rees (with more insight than the average programmer) attempted to define its meaning , but even his definition does not necessarily

DevX - Software Development Resource

‘For-Each’ of My Own

Fast Facts Develop custom enumerating functionality and take advantage of iteration through non-collection-based classes. ne of the coolest things I like about the .NET Framework is the way collections are

DevX - Software Development Resource

Better, Faster XML Processing with VTD-XML

TD-XML is a new, open-source, non-validating, non-extractive XML processing API written in Java. Different from current XML processing technologies, VTD-XML is designed to be random-access capable without incurring excessive resource

DevX - Software Development Resource

Designing Smart Documents in Office 2003

uplication of effort in gathering information is an increasingly familiar scenario in many companies today. For example, an employee complains, “I’ve already submitted my expense report to finance, and now