
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.
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
Suppose you have a “view” into a set of records. One column of the data contains a country ID, (such as “US”): DataView myDataView = new DataView(myTable); myDataView.RowFilter = “country
Use this code to cache your repeated calls to the database: Dim mLookup As Scripting.DictionaryDim cn As ADODB.ConnectionEnum enumLookup ltCustomers ltVendors ltSalespeopleEnd EnumPrivate Sub Form_Load() Dim rstest As ADODB.Recordset Set
Suppose you start a thread and you want to wait for that thread to finish before you continue processing. One way is to keep checking if the thread has finished
t has been a little while since Java got a refresh, and with the Java Community Process churning out updates in the form of new JSRs by the hundred, it
here’s little doubt that the Internet and the Web have transformed services and content delivery more than any other recent technology innovation. In its initial form, the Web provided a
any organizations are developing applications that provide information to users and employees when they need it?regardless of their locations. These types of applications, called notification applications, offer these organizations many
ver the past few years, Flash has made a big transition from a straightforward animation tool to a full-fledged development environment that makes its specialty in rich front ends for
ven a casual observer of today’s IT scene has seen the buzzword storm that has developed around various forms of technology-enabled business management and monitoring: Business Performance Management (BPM), Business











