devxlogo

The Latest

Install OpenBSD to Secure Your Web Server

he OpenBSD team prides itself on producing one of the most?if not the most?secure operating systems in the world. If you are concerned about keeping the sensitive data within your

Using Inheritance in CSS

Suppose you have a table and you need to give styles to all the tags. Using inheritance to do this helps you avoid generating more content to be delivered to

Using T-SQL to Check Whether a Table Exists

Assume that an application creates a new table every month. The table name can be coined using some pattern, like sales0501, sales0502,, etc. To identify whether a particular table exists

Using the Observer Pattern to Update Dependent Objects

any applications need to update their components based on information input coming from a single source. It’s often important for these applications to maintain consistency among these components at any

An Efficient Method of String Concatenation

A good way to concatenate strings in a loop or when performing multiple concatenations, is to use the StringBuilder class: String s = “a”s+=”b”; //this is slowStringBuilder sb = new

Get All Locales Supported by the Java Runtime

This code segment returns all the locales supported by the Java Runtime: // ListSupportedLocales.javaimport java.util.*;// other code to go here.Locale[] localeList = Locale.getAvailableLocales( ); for (int i=0; i

Add Virtualization to Your Development Toolbox

t’s time again to open up your developer’s toolbox and make room for the new must-have tool, virtual machines. As a software consultant, I find myself traveling from customer to

Check java.policy at Build Time to Avoid Runtime Errors

he changes to Java’s security implementation have made it more robust and introduced more programmatic hooks for developers to add to Java’s default security mechanisms. Oddly, even with the introduction

Migrate Your J2EE Apps from EJB to Hibernate

ccording to its Web site, Hibernate is a “powerful, ultra-high performance object/relational persistence and query service for Java.” And they’re not just blowing smoke. Hibernate is a key player in

What You Need to Know About Web Controls

ne of the key tenets of .NET is that it makes developers more productive. And this is basically true?it is easier to build applications, including Web applications. You can build

Shortcut Keys for Creating Comments in VS 2005

Use Ctrl+E+C to comment selected text in web.config or the codebehind file. Use Ctrl+E+U to uncomment selected text in web.config or the codebehind file. Note: Neither key is case sensitive.

Append the Items on a Dropdown Menu

This tip provides a way to append the items on a dropdown menu?even when the control is binded with the datasource. Assume that the dropdown menu will be showing a