-
1. Re: Two EAR files in one JVM
pmuir Sep 19, 2007 2:13 PM (in response to wiberto)Make sure you put the interfaces on a shared classloader. The warning is just that - no need to worry
-
2. Re: Two EAR files in one JVM
wiberto Sep 19, 2007 2:23 PM (in response to wiberto)These are Entities and I didn't create an interface for any of them. I haven't seen this used a lot in the examples, so I just went the way of just having the Entity class itself.
How do you go about putting setting classes in certain classloaders. And specificying which classloaders to use and if the are shared or not? I have never had to dig deep into classloaders before, so I'm kind of a rookie there. Any documentation to point me to would be awesome.
Thanks,
Jose -
3. Re: Two EAR files in one JVM
pmuir Sep 20, 2007 6:18 AM (in response to wiberto)You are trying to access the same instance of an entity from two applications at once? I don't think you (or hibernate) can do that. I was assuming you were wanting to communicate using remote interfaces on session beans. EJB3 forum might also be able to help.