aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Reconnecting to a server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Reconnecting to a server" Watch "Reconnecting to a server" New topic
Author

Reconnecting to a server

Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Is there any way that once i connect to a server that i can disconnect and provide another ip to connect to (using RMI that is)??


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD, SCEA/OCMJEA

Live life to an interface, not an implementation!
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11278
    
  59

Hi Marzo,

From the client side, you have just a local reference to the object you looked up - destroy it / replace it and you can connect to any other object on any other server.

I don't believe this is necessary for the SCJD project though.

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
Consider Paul's rocket mass heater.
 
subject: Reconnecting to a server
 
Similar Threads
connecting tomcat to apache
Socket doubt
LDAP Authentication with Active Directory
connect to glass fish server
new application