MatrixStar
asked on
EAR to EAR communication
I have 2 EARs deployed in same JVM. I would need to invoke a method in EAR2 class from EAR1 class, what are the best ways available to achieve this?. Both the classes are neither EJBs nor servlets.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The question says there are no EJBs in the ears..
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the quick advise.
If there is no other approaches available then I would need to think about exposing classes through EJB.
Hegemon: I would need to check how to specify the same class loading repository for both .ears if that approach will work out.
If there is no other approaches available then I would need to think about exposing classes through EJB.
Hegemon: I would need to check how to specify the same class loading repository for both .ears if that approach will work out.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, You're right. I'm analyzing which approach would be suitable for me requirement. Thank you!!