Using Templates for Concurrent XSLT Transformations
As you know, you may not use a Transformer object (from the TrAX API) in multiple threads running concurrently. To do this, you need to use Templates. The following three
As you know, you may not use a Transformer object (from the TrAX API) in multiple threads running concurrently. To do this, you need to use Templates. The following three
Suppose your library is in C and and your code is in .NET or VC++ (for a UI-based application). Further, suppose you want to display a message box whenever the
A quick way to determine which tables need indexes is to use the SQL Server Profiler Create Trace Wizard with “Identify Scans of Large Tables.” Doing so shows you the
ASP.NET 2.0 provides much needed project health monitoring through its Health Monitoring feature. Simply add few tags and their values in Web.Config and your project will be automatically monitored. This
This following code shows you how to list, add, and remove components from a JNDI composite name (javax.naming.CompositeName): import javax.naming.*;class jndiCompositeName{ public static void compositeComponents(CompositeName cn) { for(int i=0;i<cn.size();i++) System.out.println(cn.get(i));
Use the following class to help calculate the alignment in C++: template<typename T>class Alignment{ struct Align { char align; T t; };public: int alignment() { return sizeof(Align) – sizeof(T); }};
When you first establish a connection to a database, the connection is in auto-commit mode, by default. For better performance, turn auto-commit off. You can do this by calling the
Microsoft has released a number of new Windows Vista fonts, for use in web development. They are described on the Microsoft Typography site, with examples shown in XPS files. If
The following code uses the RGBImageFilter class to create the “night” effect on an image: import java.awt.image.*;public class NightFilter extends RGBImageFilter { double frac; //0.0<=g>=16; int green=rgb & 0x0000FF00;green>>>=8; int