Saturday, April 16, 2011

Re: Calling server-side rpc method from server-side code

Is it not possible to create object for "implementation" class and
fire methods as you do for any other java object?

On Apr 15, 1:30 pm, Bob <robert_li...@verizon.net> wrote:
> I have a bit of an unusual need.  I have a server-side method which is
> normally called from the client via GWT-RPC but I now want to call it
> from server-side code.
>
> How do I do this?
>
> I could make a static version of the method and have the rpc-
> accessible-method just wrap the static method...but alas, all the
> methods that the static method would need must also be static.  kudzu
> being kudzu...this is a difficult (and messy)  refactoring.
>
> I'm bouncing this question off the grand-masters in this group to see
> if there is yet a cleaner and simpler solution to my query.
>
> Any help would be very much appreciated.
>
> Thank you!!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate