Frans Thamura wrote:
hi all

i am using JSON Plugins and RSS plugin in my S2Project

and we know there will be REST in S2 2.1

anyone can give me the glue
The JSON plugin can be used as a ContentTypeHandler with the REST plugin.
Presumably the RSS plugin can also be used as a ContentTypeHandler
will S2 JSON Plugins retired and or part of RSS
I see no reason to retire them.  They're independent of REST
and can give me the inptu also where will we implement JSON RPC in S2

The JSON Plugin support's Dojo's Simply Method Descriptor (SMD) style of RPC, but this is not JSON RPC. It can advertise available methods in a form dojo knows how to invoke remotely.
The JSON plugin itself doesn't include any other RPC bindings.

will REST also have REST RPC?
The REST plugin doesn't including any binding and conventions for RPC over REST.

Generally you write an action. Struts2 allows you to get, post, put or delete to the action. The REST plugin binds the operation to a method in your action and invokes it. Your action returns a result. Struts2 emits the corresponding response for that result, whether it by HTML, JSON, XML or a status.
Frans

------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date: 17/12/2007 2:13 PM


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to