Wednesday, July 27, 2005

Visit the Vista!

Microsoft released Vista beta. Have a click here to have a peek at the screenshots!

Tuesday, July 26, 2005

Konfabulator is now Yahooulator ;)

Yahoo today announced that it has bought Konfabulator so that it can provide Yidgets ;)

Have a click at! Good news is its totally free now!

Monday, July 25, 2005

Microsoft releases MSN Virtual Earth

MSN today released its much awaited Virtual Earth! Have a click here

In my overall view virtual earth is cool with features like scratch pad, closeable pads, locate me, etc. The aerial view is also cool...

Also Google released its Hybrid version similar to aerial view but the view looks kinda clumsy, may be its released it in a hurry

Tuesday, July 19, 2005

Ajax Frameworks

In one of my earlier post few months back I had mentioned we might see AJAX farmeworks soon. Here they are..

Also I stumbled upon a open source framework released by Sabre Airline named Rico. Thanks for

Sunday, July 17, 2005

Tech Podcast

I stumbled upon this Technology Podcast website. Its definitely worth a bookmark

Saturday, July 09, 2005

Extending Apache Struts

There is no dobut that Apache Struts is one of the most widely used and heavily tested web application development MVC framework. While the features it provides are almost sufficient for most of the web applications, its architecture also provides the flexibility for extensions. I investigated on various possible extensions that can be accomplished using this framework:

1. Extension using plugin. In this type of extension a custom class will have to implement org.apache.struts.action.PlugIn interface which has the init and destroy which are invoked during application startup and shutdown respectively. Such class will also have to be specified in struts-config.xml as a element.

2. The struts configuration classes can also be extended. The classes are in the package org.apache.struts.config are in-memory representations of the struts-config.xml

3. The ActionServlet itself can be extended by extending org.apache.struts.action.ActionServlet and one or more methods can be overridden. Such extension also requires change in the webapp deployment descriptor (web.xml):

4. Though ActionServlet can be extended its not the most prefered way for extension since most of the request processing behaviour is done by RequestProcessor. RequestProcessor class is based on Template Method Design pattern where a sequence of methods are called from the Process method. The RequestProcessor class can be extended for a CustomRequestProcessor and necessary methods can be overridden with desired functionality, the prefered method for overriding ins processPreprocess(). A real-time example of this can be found on one of my earlier posts here. In this extension appropriate class name of the extended processor must be specified using the element in the struts-config.xml

5. Extending Base Action class. This type of extension is highly helpful to provide common functionality required by all (or set of) Action classes of an application. In this type, the Action class is extended and methods that are required in common by most classes are specified and this class is extended by the rest of regular Action classes instead of the regular Action class. Helper methods for logging, user-lookup, basic validations can be included in such classes.

Disqus for techtalk