Sharing Objects between Applications
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Phong_Nguyen
Posted On:   Thursday, March 7, 2002 03:00 PM

I have to differents Applications running on the same JVM, and each uses the same object, but each instantiates separately this object. How can I tell to each application to use this object commonly ?

Re: Sharing Objects between Applications

Posted By:   Marian_Olteanu  
Posted On:   Wednesday, March 20, 2002 03:03 AM

What do you meand by "each uses the same object"? Because the answer to this question could justify or not the use of Singleton pattern

Re: Sharing Objects between Applications

Posted By:   Anonymous  
Posted On:   Friday, March 8, 2002 02:00 AM

You should create a class using the "Singleton" pattern.

Run a search on teh FAQ and you will find lots of examples.


Regards

About | Sitemap | Contact