aspose file tools
The moose likes Java in General and the fly likes share same object between 2 different web application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "share same object between 2 different web application" Watch "share same object between 2 different web application" New topic
Author

share same object between 2 different web application

jim li
Ranch Hand

Joined: May 20, 2008
Posts: 177
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

Joined: Jan 10, 2002
Posts: 56150
    
  13

RMI perhaps?

But, would it not be better to share the information through a shared database?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
jim li
Ranch Hand

Joined: May 20, 2008
Posts: 177
tx, i will use derby
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19214

jim li wrote:tx

Sorry to nitpick, but please UseRealWords: "thanks".


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: share same object between 2 different web application
 
Similar Threads
desktop or web???
157 Question Help and Resourses
Webspere 345 exam questions
ICE Test 285 solved 100 %
ibm websphere test 157 for websphere studio application developer 4.0.3 for windows