This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CORBA Exception

 
Vijay S. Rathore
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure weather this topic has been covered earlier.
If it is plese post me the link.

I am trying to call a Session EJB from a client. Both the client and EJB are on two physical locations on WebSphere4.0.
The Session EJB has a reference to some DataBean called com.test.pricing.SomeData, which is available in a separate jar file.
On client side I have a jar file containing the stubs for the session ejb.

While invoking this Session Bean from client the program throws Exception:
org.omg.CORBA.NO_IMPLEMENT:
Unable to locate value class com.test.pricing.SomeData
minor code: 1 completed: Noat com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1377)
If I provide the jar file containing com.test.pricing.SomeData, at the client side. The exception dosen’t come.
I have certain questions regarding this behavior.
1. If we assume that the session bean class executes at the server side, why is the client code is looking for Data Object at the client side?
2. Prior specifications of Corba doesn’t support call by value, is it because of that we have to provide any Data Objects used by EJBs in their bean implementation at the client side.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic