users@jax-rpc.java.net

Re: Best practices for migrating server & client from test to production

From: Ewan Harrow <3mkrc7902_at_sneakemail.com>
Date: Thu, 22 Apr 2004 22:05:58 +0100 (BST)

Oh good that looks like the sort of thing I'm looking for. Why though
did Sun opt for the _setProperty naming convention? Not really the
standard.

thx ewan


 --- "Bobby Bissett - Javasoft robert.bissett-at-sun.com |newsgroups|"
<b09ihwkvzq0t_at_sneakemail.com> wrote: > >
> > * Have a client deployed in the same way as a WAR. The developer
> > ideally does not want to rebuild each time the "server" is moved to
> a
> > different ip address. He would rather have the client's "view" of
> the
> > endpoint (the host url in the stubs) made a deployment step in the
> same
> > way as JDBC Datasources and other resources are in J2EE.
> >
> > can I achieve this easily?
>
> With the service war file, the location attribute change doesn't
> happen
> at deploy time; it happens when a client requests the wsdl file.
>
> With the stubs, you can either regenerate them, or have your client
> code
> set the ENDPOINT_ADDRESS_PROPERTY property on the stubs before making
>
> calls. Your client could get this information from some resource at
> deployment time, and then create the stub, set the property, and
> start
> making calls.
>
> Cheers,
> Bobby
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.XXXXXXXXX/download/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net