jon * wrote:
>
> on 12/16/99 9:40 AM, Kevin A. Burton <[EMAIL PROTECTED]> wrote:
>
> >
> > Within Turbine.java:
> >
> > public RunData getRunData(HttpServletRequest req, HttpServletResponse
> > res);
> >
> > The current Turbine.goGet() would simply call Turbine.getRunData and
> > continue operations. This is only a minor modification as it involves
> > moving the current tested code into another method within Turbine.java
>
> Actually, how about modifying RunData to be factory based? We could have a
> RunDataFactory that would be responsible for creating RunData objects? This
> would be a cleaner more OO approach, right?
>
> -jon
Perhaps. I just don't think it is worth it. RunDataFactory would need
an HttpServletRequest and an HttpServletResponse and it should be static
so that we avoid an extra object.
At this point if it appears that RunData should use RunDataFactory it
isn't too hard to migrate from getRunData to RunDataFactory.
Kevin
--
Kevin A Burton
Senior Software Engineer
Kendara Inc
http://www.kendara.com
Mobile: 408-910-6145
Linux - You *will* be assimilated
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]