Hi,
I've been looking at the binding docs, and for instance in http binding
(http://tuscany.apache.org/sca-java-bindinghttp.html), it asks that the
service either implements javax.servlet.Servlet interface or use a
collection interface that matches the actions of the HTTP protocol
(methods get, post, etc). Similar requirements exists for other bindings.
One of the main ideas behind SCA is to hide binding info from
implementation.
So, if for instance I have an existent class with a single method that I
want to expose only through GET, and doesn't follows any of these
requirements, which is the best approach? Create a "proxy" SCA
component? Or is there any way to define this in the binding itself? Or
some other option I didn't see?
Regards,
--
Andrés P. Ferrando
http://www.pruna.com.ar/