The Latest

DevX - Software Development Resource

Two Methods to Remove Duplicates in an ArrayList

Here are two methods that allow you to remove duplicates in an ArrayList. removeDuplicate does not maintain the order where as removeDuplicateWithOrder maintains the order with some performance overhead. The

DevX - Software Development Resource

Find Out Who Is Accessing Your ServerSocket

Use this code to find out who is accessing your ServerSocket: Socket aSock = myServerSocket.accept();System.out.println (“Connection from : ” + aSock.getInetAddress().getHostAddress() + ‘:’ + aSock.getPort()); Related Posts Understanding OFFSET in

DevX - Software Development Resource

Close and Save All Except Your Current Window

When you’re working on large projects, it’s common to have a bunch of open windows cluttering your desktop. Closing all the windows you’re not working on is tedious. To automate

DevX - Software Development Resource

Building Custom Installer Classes in .NET

isual Studio setup projects provide a quick and easy way for end-users to deploy your application, whether it is a Web site, Windows NT service, smart client, or Web service.

DevX - Software Development Resource

Use User-defined Where Built-in Is Expected

Say you’ve got a function that takes some built-in kind of parameter. You need to make that function work?even for an object (which has a data member of that built-in

DevX - Software Development Resource

EJB and RMI: A Practical Introduction

ince their introduction in 1997, Remote Method Invocation (RMI) and Enterprise JavaBeans (EJB) have represented a new direction in the development, installation, and management of distributed Java applications in the

DevX - Software Development Resource

Put a 24-hour Lockdown on Your .NET UIs

o you really think user interface security comprises slapping a login screen in front your application the way you’d slap cheese on a turkey sandwich? For some of you it

DevX - Software Development Resource

Opinion: Making the Daily Build Your Daily Grind

raditionally, integration testing is something that is done right at the end of a project: Developers check-in their code and a build team is tasked with compiling everything and creating

DevX - Software Development Resource

A Standards-based Look at XAML’s Features

icrosoft’s XAML markup language floats on top of the .NET platform. It is compiled into .NET classes, usually C#, which reduces it to a set of objects. Along with a

DevX - Software Development Resource

Warning Signs in SQL Code

SQL statements defined “inline” in source code are a warning sign that the implementation or the project design itself probably includes some land mines. If you see something like: String

DevX - Software Development Resource

Handling Events in BREW

BREW is very event-driven. As such, an application will get many events that it may not be expecting. Controls talk to themselves using events. The system sends events to the

DevX - Software Development Resource

Request Permissions with a MIDlet

A MIDlet requests permissions by declaring them in the application descriptor, using either MIDlet-Permissions or MIDlet-Permissions-Opt. Multiple permissions can be specified and are separated by commas. If a permission is

DevX - Software Development Resource

Install CVsup to Stay Current with FreeBSD

If you have just installed FreeBSD’s ports collection using a CD-ROM, you must upgrade to the latest releases of the ported software you need. If you have just installed FreeBSD

DevX - Software Development Resource

Creating a Python Executable File Using makeExe.py

This file creates an executable file from a Python file specified by the user and writes the new executable to disk. “””makeExe.py- Simple Python script to automate the creation of

DevX - Software Development Resource

Linux Commands: Using the “Manpage”

For newcomers to Linux, the “manpage” is the UNIX/Linux equivalent of the classic DOS question mark (?) command-line parameter. It shows you information about the command. To see the manpage

DevX - Software Development Resource

High-volume Transaction Processing in J2EE

o you thought batch programming had died and gone the way of the COBOL dinosaur. Think again. Despite the trends toward real-time solutions, companies still run essential business processes using

DevX - Software Development Resource

Expand Your VB6 Printing Repertoire—Part III

n the past two 10-Minute Solutions, you’ve explored the basics of printing with VB6 and built a very simple text editor with print and preview capabilities. Now, learn how to