This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing java objects in different application

 
John Cochrane
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I was wondering whether it was possible to access a java object running in a different application. I need a singleton object to store values from a look-up table and be accessable from several different apps.

I've no idea what area of java this is or where to read up on such a thing.

Cheers,

John
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do this in Java using RMI or another networking technique. Have a look at this RMI tutorial to give you an idea what's involved.
 
John Cochrane
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much. This info was what I was after :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic