General Development Archive

A Glance At Garbage Collection In Object-Oriented Languages

Garbage collection (GC) is a technology that frees programmers from the hassle of explicitly managing memory allocation for every object they create. Traditionally, the benefit of this automation has come at the cost of significant overhead. However, more efficient algorithms and techniques, coupled with the increased computational power of computers have made the overhead negligible for all but the most extreme situations.

Developing Struts with Easy Struts for Eclipse

This article shows you how to develop a Struts application in the Eclipse IDE, with the help of the Easy Struts plug-in. You'll get an introduction to Easy Struts, installation and configuration steps, and instructions on building a basic Struts application through a progressive example. Different ways of enhancing the Struts application -- such as connecting to a database, modularizing the application, internationalizing and localizing content, handling exceptions, and creating custom plug-ins -- are also covered. Finally, you will learn how to deploy your Struts application on the Tomcat Web server.

Biztalk Mapper 2004 vs MapForce 2004

I spend a great deal of time with XML data transfers, and use XSLT on a regular basis to transform, conform, or calculate the XML into formats that I can use. Originally, I used the mapping tool within Microsoft's BizTalk Server 2002 for complex XSLT. Although it had limitations, the tool presented everything in a visual manner that made editing quick and much less painful.

Elegant Code with Anonymous Methods, Iterators, and Partial Classes

Fans of the C# language will find much to like in Visual C# 2005. Visual Studio 2005 brings a wealth of exciting new features to Visual C# 2005, such as generics, iterators, partial classes, and anonymous methods. While generics is the most talked-about and anticipated feature, especially among C++ developers who are familiar with templates, the other new features are important additions to your Microsoft .NET development arsenal as well. Read more here.

Testing Frameworks in Python

In this installment, David looks at Python's two standard modules for unit testing: unittest and doctest. These modules expand on the capability of the built-in assert statement, which is used for validation of pre-conditions and post-conditions within functions. He discusses the best ways to incorporate testing into Python development, weighing the advantages of different styles for different types of projects.