users@jax-rpc.java.net

Re: seperate server and client code

From: Su Zhang <su_ba_ru_at_HOTMAIL.COM>
Date: Thu, 14 Mar 2002 06:20:02 -0700

Hi Isabelle,

The xrpcc tool's "-server" option generates server-side files only. And its "-client" option generates client-side classes only.

Hope it helps.
Su

On Thu, 14 Mar 2002 09:48:58 +0100, Isabelle Gheysens <i.gheysens_at_ENERGYICT.COM> wrote:

>Hi,
>
>I'm new to jaxrpc.
>I managed to write a client that makes jaxrpc calls to a server.
>Client and server code are all together now...
>I have one client class: LogonDialog
>I have following server classes: LogonIF, LogonImpl
>
>Also a lot of classes have been generated: Login_RequestStruct.class,
>Login_RequestStruct_SOAPSerializer.class, Login_ResponseStruct.class,
>Login_ResponseStruct_SOAPSerializer.class, LoginIF_Stub.class,
>LoginIF_Tie.class, LoginService.class, LoginService.class and
>LoginServiceImpl.class
>
>I want to seperate client and server code in seperate packages so that each
>only contains those files really needed,
>I suppose the stubs belong to the client code and the ties belong to the
>server code... but what about the other generated classes...?
>How can I automate this that class files are put automatically in the right
>place so that it's easy to deploy my client code to all the clients?
>
>Thanx!
>
>Isabelle