Hi,
I'm writing a swing client that is deployed via
Java Web Start and
communicates to a backend weblogic server. My problem is that when I
start the application I want to be able to communicate back to the server
that application jnlp was launced from so I don't have to hard code the
server in the client code.
For example. I have a .war file on the weblogic server that contains
a web page which references the .jnlp file. The application launches
fine from the .jnlp and is cached correctly, however, within the application
I then want to talk to the server via
j2ee but don't have the server
name and port #. My thought is that it is in the .jnlp file locally since
the .jnlp file is create using the webstart
servlet code and contains the
server name, but how can my app find this out?
Thanks in advance for any help.
Steve