Martin Cooper wrote:
* Make the Struts core independent of the Servlets spec .... <SNIP>
Above is my favorite wish!
I would like to be able to call an Action via XML-RPC for it to give me a FormBean.... and for me to give it a FormBean back. (or any other SOA). There was a few threads of SOAP Struts some time back.
And... maybe a FormBean is an XML DTD. (Like .NET stuff, and iBatis 2.0 _sqlMap.getXMLResult())
This way a view can render it (such as core tags X: ) any way it wants. Ex: from javascript you call XML-RPC to get a XML (multirow bean)
And.... even a simple DAO interface, to be used optionaly be people, so they can go back and forth from iBatis to Hibreante or what ever.
And build Struts on top of HiveMind or similar. (IoC and Services... and XML).
If just the MVC interfaces are defined, then several implemenations can ship. One implemtation would be backwards compatible.
Once could be SOAPActionImpl.
Action's execute should take a Map as signature argument. This way we do not have Req/Resp tie in, but anything comes in.
Ex: execute(Map arg) { .. }
A good 1st step is to have a TilesAction and Action have same signature for execute.
.V
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]