• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 685
  • Last Modified:

Invoking an EJB residing in Weblogic 8.1 from a JEE application in Websphere 7.0

  I need to invoke an ejb which resides on weblogic 8.1 from another JEE application which is deployed on Websphere 7.0. Can anyone tell how to go about this?


1 Solution
The easiest and cleanest way to do this is to expose your Weblogic EJB as a web service and then invoke the web service from your Websphere JEE application.  Of course, you'll likely lose any transactionality between the two but whether or not you need that depends on your application.

You can try to get an InitialContext on the Weblogic server from your Websphere JEE application.  You'll need to have some of the Weblogic libraries over on the WebSphere application.  But, I've found that incompatibilities between the JDKs could cause problems.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now