Women in Technology

Hear us Roar



Article:
  jRendezvous: Java and Rendezvous Working Together
Subject:   RendezvousContext code segment
Date:   2003-08-04 16:08:12
From:   sethladd1
Response to: RendezvousContext code segment

Sorry I didn't get back to you on this. I think I was a little unclear about this in the article. You place this in server.xml. You should see something similar to the UserConfig already in the file, just commented out.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • RendezvousContext code segment
    2003-10-06 07:43:35  craigp [View]

    Apologies for my ignorance here, but I would really like to expand this example a little further to advertise another webpage that I would like to automagically pick up using Rendezvous.

    Basically, we're developing a J2EE application and using JBoss with Tomcat to run it. When our webapp is running, we browse to it at 'http://localhost:8080/PServer/Admin/'. What I would really like to happen is for this location to appear in the Rendezvous list in Safari - and when this is done I am also going to use the client features of JRendezvous to pick up locations for use in a Java Swing app we have written.

    So, my question to the community is: how can I configure Tomcat with the class you have provided above, to point to an arbitrary location as opposed to '~/Sites'?

    Alternatively (and this may be slightly beyond the scope of your article), it would be really nice to be able to declare a new type of Rendezvous service ('pServer_http._tcp.local.' - 'pServer' over http over tcp at local - if such a thing is possible) and I can construct the correct path to the web page in my Java Swing app if this service can tell me the host name and port number the PServer webapp is running on.

    Thanks for reading and any help would be greatly appreciated. I will post back anything useful that I discover!