Michael Palmer wrote:
Sure, if it would help you. Here is an overview to see if you are interested. Machines in the lab generate electronic reports for their results. These reports are different for each machine. I built a text parser for each report. The LabRat accepts the report through PHP Website -> XMLRPC -> Python LabRat, determines which parser is needed, parses the results, manipulates the data for uploading, uploads the data to a database.Randall Smith wrote:
Michael Palmer wrote:
It parses text files that contain lab results, manipulates the data, then uploads it to a database.Randall Smith wrote:
Interesting. I have to keep track of lab data, too. It would be great if you could make this available when you are done.
This is the scope thus far. There is also a reporting end that uses Reportlab.
I looked at Page and saw that session is called from the transaction. I don't see any advantage to using Page as I could just call session from the transaction. The problem lies with cookies. My XMLRPC client doesn't know what to do with a cookie. That's why I'd like to just get at the WebKit session storage. I could develop my own method for giving session ids to the XMLRPC client.I have flexibility in the design of LabRat. Some requests may depend on the result of a previous request, so I will need some form of persistence. I do not know how to implement sessions using XMLRPC.
I like Webware's session storage because it lasts between process restarts. Could I use Webware's session storage and couple it with a simple client id system? Client requests id -> server sends id -> client sends data to store and id -> server stores data in session using id as key.
Is there any strong reason to use XMLRPCServlet and not Page as a base class for your servlets? If you could use Page, you would get the session storage for free. You can still import all kinds of XML modules and libraries to parse or output XML.
Randall
------------------------------------------------------- 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