RMI and Singleton

Hi!!How can I apply the singleton pattern in remote objects? Is it possible to control the instance existance by naming service? Where can I find some feature about this subject?ThanksSandra.
[227 byte] By [sanresi] at [2007-9-26 16:50:13]
# 1
if you are still watching,,,i dont see why you cant use the standard Singleton pattern, and call the getInstance() method to return the single instance.
turbobutton at 2007-7-2 20:47:59 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
Hi!!Actually I have already implemented the singleton pattern remotelly, but I had some difficulties about syncronization and updating of data. Do you have any advice that you could give me about this subject?Thanks,Sandra.
sanresi at 2007-7-2 20:48:00 > top of Java-index,Other Topics,Patterns & OO Design...