Could you create another interface from which this @Remote interface
extends? This new interface would contain only subset of the methods
present on the EJB, and could be shared by both client and server.


2011/8/17 Michaël De Gols <michael.deg...@mobilit.fgov.be>:
>
> Hi all,
>
> I'm just starting with Resteasy. I have a server-side @Remote service
> interface and I want to make that service restful and share that same
> interface on my client.
> For this I'm using the client framework provided by Resteasy. Problem is
> that I have on my interface some methods that are EJB-related and don't
> need to be available as resources.
> When generating a client proxy, Resteasy tells me "You must use at least
> one, but no more than one http method annotation...".
> Is there a way to exclude methods when generating the service proxy on the
> client ?
>
> Thanks for your answer!
> Michael De Gols
>
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to