devxlogo

The Latest

Single Sign-On: The High Cost of Convenience

ow many times have you left your computer without locking it down? Sure, some people have a screensaver that locks the computer automatically after some elapsed period; most people set

SWT Creates Fast, Native-looking GUIs for Your Java Apps

ince Sun Microsystems released the first version of Java, the industry has been displeased with the way Java’s front-end development toolkit works. Though Swing appeased some developers with its look-and-feel,

Autoboxing/Unboxing in J2SE 1.5

Before J2SE 1.5, Java had primtive data types with wrappers around them, so programmers had to convert from one type to another manually: public void manualConversion() {int a = 12;Integer

An Introduction to OLAP in SQL Server 2005

f you’re a database developer, you’ve no doubt heard of On-Line Analytical Processing (OLAP) and the advantages of analysis using multi-dimensional, pre-aggregated data. Maybe you’ve even thought about creating your

Pinpoint Code Problems Using Java’s Assertion Facility

eteran object-oriented language programmers who have used non-Java languages are accustomed to having assertions in their development toolbox. An assertion is an expression that evaluates to either true or false.

Java Package Processes All RSS Formats

SS (Real Simple Syndication) is a flexible and efficient format for exchanging structured, dynamically changing data, such as news headlines, blogs, job vacancies, new projects, recent wiki changes, etc. You

Using Multiple Breakpoints on a Single Code Line

With the release of Microsoft Visual Studio.NET, you can now set multiple breakpoints on a single line. Example 1: Breakpoints on expressions in the for loop statement: for (InitExpression; ConditionExpression;

Poking Holes in the Grid

n the future described by William Gibson’s cyberpunk novels, we will interface with computers through a neural connection that will allow us to surf through a vast realm of interconnected

How to Set Topmost Forms

Setting topmost forms is easier with .NET than with previous Windows languages, since you no longer have to refer to an API call. Simply setting the .topmost form property to

Creating Your Own Private UDDI Registry

he Universal Description, Discovery and Integration (UDDI) specification and protocol work together to form define messages, application programming interfaces (APIs), and data structures for building distributed registries of Web services

Write to a Perl File Using Flock

In his tip “Locking a File With the Perl Flock Function,” Steve Renaker’s example opens a file without specifying read or write. While this will successfully open a file for

Overloading a Function Template

If the function template you’re adding incorporates functionality that you already have, then you need to remove the old members first; otherwise the duplication will cause ambiguity. Here’s an example.

MapPoint Web Services: The Roadmap Ahead

he convergence of cartography, geography and computing ranks among one of the greatest accomplishments of information technology. Digitized maps and data sets, coupled with powerful computer-aided design applications, relational databases

Use This Method to Format an Integer

Say you want the length of an integer to be exactly five digits, you can use the below method: NumberFormat nf=NumberFormat.getInstance(); // Get Instance of NumberFormatnf.setMinimumIntegerDigits(5); // The minimum Digits

Export HTML Data into Excel Files

Nowadays, many reports are generated as HTML documents for access on the Web. This tip shows you how to export that HTML data as it is (including all the CSS

Ready for Retail? Get Your App on the Map

ow many times have you walked through your favorite electronics superstore, say Best Buy or CompUSA, looked at the software products sitting on the shelves and wondered ‘why them’? As

Encrypt Sensitive Configuration Data with Java

hen application developers are developing, parameters are often hard-coded in the source code. These hard-coded parameters are often pulled out of the source code and put into property files or

Monitor eBay Auctions with Visual Studio.NET

logging though mail earlier this year, I came across an interesting message about Microsoft and eBay working to make it easier to integrate eBay into Office applications. This piqued my