
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.
reating a non-clustered index that contains all the columns used in a SQL query, a technique called index covering, is a quick and easy solution to many query performance problems.
ike many companies, my company uses an object cache to store frequently accessed data in memory so the server doesn’t have to access the back-end database every time it handles
f you have used Visual Studio 2005, chances are you’ve noticed the new Smart Tag feature. Basically, a Smart Tag is a panel that is displayed next to a control,
Here is a pattern you will see quite often when structuring your code in loop constructs: 01 enum command { start, stop, wait, quit };02 command instructions;03 int counter =
The following code will close a popup window after the user selects to download the file, or if he/she cancels the download. Between the tags of the document is popped
In some cases, the results of the use of the DateTimePicker control can be confused?implicitly initialized. This tip describes what you can do to avoid confusion. At run time, the
To determine all your user tables, plus their columns, datatypes, and length, type: SELECT DISTINCT SO.Name AS “TableName”, SC.ColID, SC.Name AS “ColumnName”, ST.Name AS “DataType”, SC.Length AS “Length”, SC.Status AS
When this modifier is specified, the JVM sticks to the Java specifications and returns the consistent value independent of the platform. That is, if you want the answers from your
y last article discussed how to use J2SE 5.0’s new collection features, allowing you to designate a specific type to be used with a collection. Additionally, the new “for each”
rtificial intelligence (AI) has been in existence almost as long as computers. However, only recently have AI techniques been widely incorporated by companies to enhance traditional business applications. Building Intelligent
ritten by the inventors of the technology, Visual Studio Tools for Office is both the first and the definitive book on VSTO 2005 programming. VSTO is a set of tools
? Apache Derby 10.1 MySQL 5.0 PostgreSQL 8.1 One$DB 4.0 General ? ? ? ? Database Connections Multiple Multiple Multiple Multiple Concurrent Access to Multiple Databases ? ? ? ?
o develop even a simple J2EE application, developers must write lots of boilerplate code (as Enterprise JavaBeans, or EJB, in Java) and set up a myriad configuration files (as deployment
f you run a Web shop that uses direct credit card processing and you want to integrate PayPal, you’ll find that using PayPal as a processing service is not as
n our shared quest for more highly productive methods of developing software, those of us in the Java community have looked to J2EE to provide solutions for the more challenging
The following code shows you how to send and receive CGI messages from a Java application: import java.net.*;import java.io.*;class POSTrequest{URL url=null;URLConnection URLcon=null;OutputStreamWriter OSW=null;BufferedReader BR=null;PrintStream PS=null;public void GetReady() { try {
enerally, STL containers handle their storage automatically and efficiently. Yet, there are cases when you need to regulate a container’s storage manually?for example when you want to trim or empty
In general, when a smart pointer is designed, the usual methods proivided are: T* operator->() const and T operator*() const. So, in functions such as foo(const SmartPointer& ptr) { },
Sometimes, for documentation purposes, you need to locate all the stored procedures and objects/SQL tables upon which they depend. The following code shows you how: select distinct A.name as sproc_name,
Normally, people do casting in the code like this: Button btnSave = (Button) sender ;where sender is of Object Type. This same casting can be done using the as operator:
ince its inception, “write once, run anywhere!” has been the mantra and rallying cry for many architects and software engineers trying to convince their enterprises to move to or stay
ascading Style Sheets (CSS) are a powerful way to separate content from design in your Web Forms applications. Effective use of CSS is an easy way to maintain and consolidate
oost takes you far beyond the C++ Standard Library, making C++ programming more elegant, robust, and productive. Now, for the first time, a leading Boost expert systematically introduces the broad
he WCF is an incremental, yet evolutionary technology that brings all the formerly distinct and separate Microsoft connectivity technologies together under a single umbrella within the System.ServiceModel namespace. Included in
e all know that the most efficient way to access data from a database is to use stored procedures. For most applications, these stored procedures follow the same basic design
his essential book for all software developers?regardless of platform, language, or type of application?outlines the “19 deadly sins” of software security and shows how to fix each one. Best-selling authors
nternationalization of applications is something developers have been encouraged to do for years, though all-too-frequently it doesn’t get done. But the risks of not doing so are growing ever higher.
A pointer to a function refers to the memory address of the function. Just like arrays, the name of a function is the starting address of the function’s code. Here’s
In Oracle, you can only control read/write capability for an entire tablespace, not for a single table within a tablespace. So, if you want all the tables in a tablespace
You can make new tags/components using JavaScript blocks. Simply include a script iterating through all the script blocks in your page: etc… As soon as the browser renders the scriptblock,










