devxlogo

The Latest

Simplify Unit Testing for Spring Web Components

here is nothing more reassuring for the software engineer than having a set of executable unit tests that exercise all the aspects of the component under test. Traditionally, testing J2EE

How to Create a Web Service in C#

Creating Web services in C# is very easy. All you have to do is extend the WebService class and identify which methods are Web service methods using the WebMethod attribute.

Shortcut for Adding a Line Break in a Table Cell

In MS Front Page 2000, while entering data in a table cell under Normal TAB, typing the following automatically adds tags wherever required: Related Posts Japan Earthquake: Nuclear Plants Largely

Porting itoa Windows STL Code to Linux

There is no default itoa implementation in the STL under Linux. If you include , it won’t work. If you disable the STL from the GCC command line, you lose

Turning Recursive and Nested Triggers On and Off

To check whether nested triggers are turned on or off in SQL Server, issue the following command in Query Analyzer: EXEC sp_configure ‘nested triggers’ If the run_value is 0 then

Master Advanced List Editing in SharePoint

harePoint’s built-in tools are good at providing a basic interface for adding and editing data, however, there are times when the included editing features aren’t enough. There are applications where

Creating Windows Starter Kits for Visual Studio 2005

n the days of ASP.NET 1.x, Microsoft first created ASP.NET Starter Kits to help developers jumpstart Web development. ASP.NET Starter Kits are sample ASP.NET applications that provide code as an

Presenting Dates in Varying Formats

Dates are generally a requirement for every application. However, including dates for users across the globe can be tedious, because different people use different formats to read the date. Oracle

Getting New Values Entered into a Table

Suppose you are writing a row-level trigger Z on a table X to update an audit table Y with information about inserts into X, and you need to know what

Porting Code from Windows to Linux

This tip provides a substitute for the __strrev function, because it’s not available under Linux. This is useful if you are porting existing code from Windows to Linux. Suppose you

Working with Windows Workflow Foundation in ASP.NET

n September of 2005, Microsoft unleashed Windows Workflow Foundation (Windows WF) at its semi-annual Professional Developer’s Conference. As one of the pillars of the WinFX APIs, Windows WF provides developers

Eliminate Log Messages on the Console in JDK 1.4

If you’ve ever used the built-in logging facilities introduced in JDK 1.4, you’ve certainly faced a situation wherein you wanted to prevent log messages from appearing on the console. The

How To Copy Database Data Using JDBC

f you work with databases, you’ll often need to copy data from one database to another. While that sounds like a straightforward task, it often involves more than just a

XMI: Capture UML Associations Using C#

n this article you’ll see an exciting use for XMI?reading the connections between two server nodes in a UML diagram using C#. While my last XMI article collected information about

Revisiting Heterogeneous Containers

ive years ago, I explained how to simulate heterogeneous containers by storing raw pointers to polymorphic objects in an STL container. C++ has come along way since: tuples now allow