Gowtham Ganamukala, please don't use so many abbreviations in your posts. It makes them difficult to read. As for the question, it seems as if you have a firm grasp on what needs to be written and it's quite trivial to write something like that. So, just go ahead and write it. But, if you want a more "beefed up" solution, I'd go with Spring (www.springframework.org). They've got frameworks which provide "template" classes for this sort of thing.
James Carman, President<br />Carman Consulting, Inc.