Win a copy of Design for the Mind this week in the Design 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: 24208
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 :-)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic