Ben Alex wrote:
I've been working with Philipp Meier's WW2 Client dispatcher and have enhanced it to include things like Javadocs, pluggable connection factories, HTTPS support, pluggable HTTPS certificate acceptance classes, logging, Properties-based configuration, automatic IO failure retries, separate dispatcher and result servlets, client-side specification of destination Action via a String (ie not requiring the Action be on the client anymore - although nothing stops this) and interception of setXXX and execute methods to populate the invocation. I'm about to add a notification model so send/receive progress can be monitored by external classes (eg GUI progress indicators). I'm happy to share the code with anyone interested.
----- Original Message ----- From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 18, 2003 1:11 AM Subject: RE: [OS-webwork] Webwork in Swing Application?
Yes. I'm planning on implementing this. This is why I was so disappointed with the direction the Pico discussions went.
-----Original Message----- From: Cameron Braid [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 1:42 AM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Webwork in Swing Application?
Are there plans to migrate this code into WebWork2 ?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rickard Öberg Sent: Thursday, 17 July 2003 3:30 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Webwork in Swing Application?
Joshua wrote:
I'm new to this project. Reading through the documentation I came across a statement that WW, unlike Struts, is not based on the Servlet API and so
can be used in
a java Swing application. Assuming I have not misread the documentation
statement,
can someone who has actually done this give me a pointer on how to do it?
Sure, I'm using it for a Swing-applet. Just register the server-side dispatcher in web.xml like so: <servlet> <servlet-name>dispatch</servlet-name> <servlet-class>webwork.dispatcher.ClientServletDispatcher</ser
vlet-class>
</servlet>
and use the ClientDispatcher in your Swing application to execute actions. You create them and populate them (by calling setters) yourself. Giving it to the ClientDispatcher will send it to the server for execution, and then it will be sent back when execute() is done so you can extract the result from it.
That's pretty much all there is to it. Any questions?
/Rickard
-- Rickard Öberg [EMAIL PROTECTED] Senselogic
Got blog? I do. http://dreambean.com
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-- Rickard Öberg [EMAIL PROTECTED] Senselogic
Got blog? I do. http://dreambean.com
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork