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

share same object between 2 different web application

 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i have Project A , and Project B. Both projects are depend on project C.

when i use web web application A to use object in project C to store some information, i also want the same information could be shown in project B by using the same object from project C. how can i do it? i know the objects are initialized in different class loader.

thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RMI perhaps?

But, would it not be better to share the information through a shared database?
 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tx, i will use derby
 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jim li wrote:tx

Sorry to nitpick, but please UseRealWords: "thanks".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic