From: Marc v. de G. <mvd...@xs...> - 2002-11-25 08:21:52
|
Hi, I hope this is the place to ask the following question. If not, just ignore it. First of all: I'm new to WebMacro (using it for a week now) and the more I get to know it, the more I like it. Great job! What I'm trying to do is: At one side there are the WebMacro classes for processing the Web requests and responses, on the other the Jetgen classes (http://www.jetools.com) for access to the database. I've got both up and running. Somehow I want to make the conversion of the data from the jetgen classes into the WebMacro classes easy. I was thinking about subclassing the WebContext class to add methods to do just that. I already have a subclass of WMServlet to do some basic stuff with form data. The problem is: there are so many final classes, that I'm wondering if it is possible to do this. Especially the newInstance method. Can somebody give me tips on how to do this so I can use that WebContext subclass in the WMServlet subclass I've already created? Or is there some other approach somebody can recommend for this problem? Kind regards, Marc |