on 9/25/2000 1:12 PM, "Colin Chalmers" <[EMAIL PROTECTED]> wrote:

> I'm now trying to write applications for/with Turbine. However I'm
> looking for tips on how to do this and specifically debugging within
> Turbine.
> 
> I use Kawa as development tool and when I usually write servlets I can
> debug in Kawa using the servletrunner. Is something like this possible
> with Turbine?

I use Kawa as well. I never have to actually step through servlets
themselves as it is easy enough to simply put System.out.println() into the
right places and see the output in the window that Tomcat is running in.

My theory here is that if you are having to step through your servlet code,
then there is WAY to much business logic in there...the BL can and should be
separated out into its own modules that can be debugged independently of the
servlets.

You can also do things like create a footer navigation that displays things
like all the GET/POST data on each screen. This is excellent for quickly
debugging applications.

-jon

-- 
http://scarab.tigris.org/    | http://noodle.tigris.org/
http://java.apache.org/      | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/       | http://www.sourcexchange.com/




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to