
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.

t one time or another, every software engineer makes the mistake of banking on a technology that becomes obsolete?leaving customers or users stuck in a dead-end. This scenario can make

eb services can be very useful for integrating standalone components that communicate across a network. When used with straightforward call/return scenarios involving a very limited number of data types, setting

his article shows you how to use the most important iterator classes: ArrayIterator, DirectoryIterator, FilterIterator, and so forth, found in the Standard PHP Library (SPL), and how to integrate SPL

What would you do if you needed to store text data in a table column that exceeds 8000 characters? The common choices are the TEXT and NTEXT data types, but

Array predicates are a not-so-well-known feature introduced with the .NET Framework 2.0 that let you retrieve specific items or perform operations on all items of an array. For example, a

Over the past several weeks, I’ve had the obligatory parental experience of teaching a teenager to drive. This can be a nerve-wracking process as the new driver learns the mechanics

o allow the creation of truly modular software, OOP has evolved into aspect-oriented programming (AOP). Building on familiar technologies such as JDBC, Hibernate, JPA, Spring Security, Spring MVC, and Swing,

he C++ literature uses the phrase “most vexing parse” to denote one of the dark syntactic alleys of C++. It’s vexing because programmers usually don’t even know it exists; they

You’re probably already aware of the benefits of metatags, which provide metadata about an HTML document. Metatags aren’t rendered in the browser, but search engines use them to categorize web


At the opening keynote of this week’s Oracle OpenWorld Conference, Sun Chairman and Co-founder Scott McNealy called the father of Java, James Gosling, on stage to again reiterate Oracle’s dedication

Recently, I was trying to create a two-column table with multiple rows. I needed to iterate over a collection object and display its data in a table with two columns,

he previous DevX article “Augmented Reality on Android: Prepping the Camera and Compass” explored how to use the Android SDK’s camera and compass as the first two building blocks of

Here’s the problem: You can’t put objects that don’t implement the Comparable interface inside a Tree(Map/Set); if you do, your code won’t even compile. The underlying cause is simple; TreeMap

hen implementing GridPanels, I typically start by configuring the DataStore. The reason for this is because the configuration of the ColumnModel is directly related to the configuration of the DataStore.

All this information is available in pieces in various places, but perhaps gathering it all together will simplify the process. The following may not be the most elegant solution, but

PF’s XAML language defines the controls that make up a user interface. Typically, some kind of container control such as a Grid or StackPanel fills the window. In turn, that

n my never-ending search for interesting new ideas in the IT world, every now and then I come across something truly innovative and brilliant. Such was the case when I

You should create a Java interface if your needs meet either of the following scenarios: When you need plug-in capabilities to go with an interface option. As an example, consider

Currently, there are no portable C/C++ functions to check for NaN (not a number) and infinity (positive or negative). Unix provides isnan() and isinf(), while Microsoft’s implementation uses _isnan() and

By default, all Spring beans are singletons. If you instead want the Spring container to return a unique bean instance every time you retrieve the bean, then you need to

As of version 3.3.4, the mail system in Bugzilla doesn’t work with SSL/TLS-based SMTP mail servers. The following procedure helps you set up a working Bugzilla configuration that can use

To disable the standard Windows Close, Minimize, and Maximize buttons, simply set the ControlBox property of a Windows Form to False. You can set this either by using the “Window

Passing submitted values from a form on one page to another page for further processing is a common need in web and intranet applications. There are many ways to meet

anual testing is human-present testing. A human tester uses real user data in real user environments to create realistic user scenarios that will cause software either to fail or to

owadays, it is becoming common to find mobile devices equipped with GPS receivers. Using a GPS receiver, you can pinpoint your current location easily via the many satellites orbiting around

Although it’s not considered best practice, after writing a class, sometimes you may decide that all or part of that class might work better as an interface. When that happens,

Most programmers use the String.split(String) method to convert a String to a String array specifying a delimiter. However, I feel it’s unsafe to rely on the split() method in some

To display row numbers in an ASP.NET DataGrid, first create a template column and set its ItemTemplate value using the following code:

This function separates the items in the delimited string (parameter 1) at the delimiter (parameter 2), creates a new generic string list, and then adds each item to the new











