Because Webware is multi-threaded, does the LabRat() need to know this and act accordingly? The LabRat() accesses files and changes variables, which I imagine might require a lock.aquire(), lock.release().
What is they best way to include the LabRat() in XMLRPCServlet? From the example, it is not clear how to add object methods. Some attributes of LabRat() should not be persistent and others should be persistent across all instances such that all instances see the change made by one.
I'm confused about a servlet's initialization. I thought all classes should have an __init__ method. An "__init__(self): pass" in a servlet throws an Exception.
I'm also confused in general about the state of variables as a servlet 'sleeps' and 'wakes'. What happens to instance variables that get set? Do they persist? Are they present only in the instance they were set in, or all instances? Is the object re-initialized when it 'wakes'?
I'm certainly not complaining. Please don't take it that way. I like Webware most because it is simple/powerful just like Python. I guess that's saying it is Pythonic.
These are all things I think are important to understand to write solid apps.
Randall Smith
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss