This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
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

EJB Lookup problem from same server instance

 
pramodh somashekara
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, We have a problem in ejb lookup and we are using WebSphere 6.x.

Basically if the client program and ejb application are on different server instances, they are working fine.

But if I put both client program and ejb application in same server instance, I am not able to invoke ejb, getting ClassCastException.

Our ejb are implementing remote interface and we can not change ejb application.

Please let me know how to invoke ejb application from my client from the same WebSphere instance.

Pramodh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic