
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
In larger applications, a particular point of code can be achieved by multiple paths. This makes debugging that much more difficult. One alternative is to put debug statements in all
he Java virtual machine (JVM) specification dictates that any JVM implementation must include a garbage collector (GC) to reclaim unused memory (i.e., unreachable objects) [JVMS2 1999]. However, the behavior and
thorough understanding of Layout Managers is essential to building complex user interfaces in Java applications. The Standard Widget Toolkit (SWT) provides five different layout managers. This article uses simple examples
s a Web developer, tracking Web site traffic is just one of the many activities you need to do. You might want to know which pages are the most popular,
ML data is generally used to represent semi-structured or hierarchal data. Using XML documents as your data source allows you to receive XML documents from other sources and format the
n July, the Java Community Process released JSR 211, the Content Handler API (also known as CHAPI), for public review. The release counts as one of the most useful and
There is no need to restrict your users’ ability to use apostrophes or quote characters in input. This simple filtering technique allows unrestricted use of quotes and apostrophes, and can
This is in response to the tip Execute a Process Without a Hang. When I need to stdin, stdout and stderr at the same time, I use different threads to
This function returns TRUE if the string is a base64encoded. Otherwise, it returns FALSE. ‘AUTHOR: KEYUR KALARIA’DATE: JULY 24, 2004’VERY USEFUL FUNCTION AND COULD BE HANDY IF YOUR WORKING AROUND
Use this code to disable inheritance: class A;class Lock { friend class A;private: Lock() {}};class A : virtual public Lock { // …public: A() {} A(int t) {}}; Now, if
A method can take variable number of arguments. Method overloading is handy when the number of variations is finite?meaning that there is a small number of variations in the arguments
ini technology is an open architecture that enables Java developers to build distributed systems that are highly adaptive to change. As the complexities associated with building and managing service-based systems
ava and .NET have each enjoyed a period in the sun as the hottest programming technology. Java is still a big favorite in enterprises—and justifiably so: Java runtime environments exist
ML has now taken over the representation and storage of structured data in a textual format. No longer do we even have a need for new text formats because XML
ince the late ’90s there has been a significant move away from desktop applications in favor of Web-based thin clients. Part of the reason was the Internet boom; Web technologies
he Microsoft MapPoint Web Service lets you use industry-standard Web Service methods to interact with the extensive MapPoint database. However, if you are a MapPoint Web Service customer, you can
Have you ever had code like this? for ( int i = 0 ; i < m_iNumElements ; i++ ){ m_fVector[i] = m_pcFrustum->m_psViewProj->m_psProjection->m_someArray[i];{ This can be very frustrating. For every
elational databases, scientific apps, and Web-based systems often need a vector-like container whose index can be of any type, not necessarily int. Such containers are known as associative containers or
ntil recently, people argued that Perl did not have stable multithreaded capabilities. This article presents a Perl application for which using multithreading capabilities makes sense: a Web crawler with all
e’ve come a long way from the days when the tools to which we most often turned to support us in developing applications were off-the-shelf commercial products. Today, thousands of
f there were an election for the most underrated .NET framework technology, I’d vote for WMI. ADO.NET and Web services seem to get all the marketing attention, and technical publications
he dream of cross-platform applications has been a holy grail of development since the dawn of the computer age. Most recently, the Java platform with its “Write once, run anywhere”
Short Messaging Service (SMS) services are becoming near-ubiquitous. Who among us has not used their cellphone to check the latest cricket score or to get the latest news? One very
rom the earliest days of J2ME, network connectivity has been a central focus of the design. So much so that a generic architecture, referred to as the Generic Connection Framework
ver May 17-20, 2004, I had the pleasure of attending the 17th International Conference on Industrial and Engineering Applications of Artificial Intelligence and Expert Systems (IEA/AIE 2004) in Ottawa, Ontario,
he Java Native Interface (JNI) is used to call code written in another language?such as C or C++?from a Java program. As such, it is often used when a Java
he Digester framework is a high-level interface that parses an XML stream and populates the data into Java objects based on rules provided to the Digester component. Among the other
The following code performs powerful Date type validation in XSD. It validates date fields with timestamp (optional) in yyyyMMdd hh:MM:ss.ffffff format. If your XML file contains the element ValueDate, the
icrosoft’s free server tool, ADS (Automated Deployment Services), provides system administrators with a consistent way to deploy the Windows OS, but what about RDBMS deployment? Does setting up SQL Server
Whenever possible, use C++ arrays. Array indexing has an order of magnitude of O(1). This means that it is very fast. However, if the size of the array is not











