hi Is it possible using RMI that two programs access the same hashtable so that whenever one program modifies the hashtable the other one gets the updated data?
Hi Monojit - This is certainly possible, and there are several different ways to do it. Probably the easiest is to create and maintain the hastable on the RMI server program, and make it accessible remotely to any clients. If you want the client to be updated as hashtable modifications (e.g., "events") occur, a remote event-handling system can do the trick for you. Look through the back issues of Java Report Online -- there are several useful articles on remote event-handling systems. ------------------ Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
Make visible what, without you, might perhaps never have been seen. - Robert Bresson
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Can two programs access a same hashtable?