I am having a stateful bean which calls my Statelss bean.My client is a servlet which invokes my StatefulBean.Till stateful bean its work fine and it gets the reference of stateless also ,but when i invoke a method of stateless bean from stateful bean it gives java.lang.linkage error.
I have not written <ejb-ref> in descriptor.Is the problem is becoz of this?If yes can you tell me how to write it, both my beans are in different jar files.
-
Stateful stateless communication (3 messages)
- Posted by: Amit Chhabra
- Posted on: August 02 2000 04:31 EDT
Threaded Messages (3)
- Stateful stateless communication by Bhavesh Bhammar on August 03 2000 13:11 EDT
- Stateful stateless communication by Bhavesh Bhammar on August 03 2000 13:11 EDT
- Stateful stateless communication by Amit Chhabra on August 04 2000 02:39 EDT
-
Stateful stateless communication[ Go to top ]
- Posted by: Bhavesh Bhammar
- Posted on: August 03 2000 13:11 EDT
- in response to Amit Chhabra
Amit,
I tried invoking a statless session bean from an stateful bean. It worked for me.
Are you doing anything special ?
Bhavesh
-
Stateful stateless communication[ Go to top ]
- Posted by: Bhavesh Bhammar
- Posted on: August 03 2000 13:11 EDT
- in response to Bhavesh Bhammar
Neither do I have the <ejb-ref> set.
Bhavesh -
Stateful stateless communication[ Go to top ]
- Posted by: Amit Chhabra
- Posted on: August 04 2000 02:39 EDT
- in response to Bhavesh Bhammar
Thanx Bhavesh for ur efforts.Actuall my code too works fine when i run it with simple java client,but when i make my servlet as a client then it gives the error.