I've been migrating WW1 code that handles Client Dispatching (from Applet or 
Swing) using servlets. 
Like Hani said, it wasn't too hard, and it's working quite nicely.
I wrote a ClientActionProxy which is sent over the network with the action in 
it (in WW1 only the action was sent), and on the server side it executes the 
action inside.
It returns to the client an ActionResult (with Action and resultCode, just 
like WW1).
The only thing now missing is that it doesn't care for any configuration, 
specially interceptors, because this is done in DefaultActionInvocation.
It also doesn't care for components.
So I guess to anchieve optimal behaviour, it should on the server side, look 
up the configuration, and run all the interceptors, similar to what 
DefaultActionInvocation does.
Probably there should be a customized version of DefaultActionInvocation that 
doesn't just create a newly fresh action, but uses the action sent over the 
network by the client. And it also doesn't have sense to run some of the 
Interceptors like for example ParametersInterceptor, because dynamic 
parameters should allready be set in the action that the client built.
Is this a good direction, or am I missing something?

Thanks
Fernando



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to