I have a session bean for connecting to database(oracle 8).
I want to call this bean from another session bean which houses some business methods.Since they are 2 separate EJB's,they have 2 separate JAR files which will be deployed.When I call the connection bean from this bean,it gives a JNDI error.Even if I include a refernce to the connection bean in the XML deployment descriptor of the other bean, the same error is occuring.
Please brief me on how to call one session bean from another-esp the JAR and XML deployment file.
-
Communication between 2 Session beans (3 messages)
- Posted by: nirmal kumar
- Posted on: March 28 2001 05:09 EST
Threaded Messages (3)
- Communication between 2 Session beans by Lakshminarayanan Muralidharan on March 28 2001 08:40 EST
- Communication between 2 Session beans by VIJAY Kumar vinay on March 28 2001 09:53 EST
- Communication between 2 Session beans by sahil gupta on March 28 2001 15:18 EST
-
Communication between 2 Session beans[ Go to top ]
- Posted by: Lakshminarayanan Muralidharan
- Posted on: March 28 2001 08:40 EST
- in response to nirmal kumar
As long as the jndi name is specified correctly, it shouldn't matter as to which jar file it is on.. Check your JNDI names..
Regards,
Murali -
Communication between 2 Session beans[ Go to top ]
- Posted by: VIJAY Kumar vinay
- Posted on: March 28 2001 09:53 EST
- in response to nirmal kumar
Hi Nirmal ,, for these simple task, u want help??? haa
please resign the Job soon. -
Communication between 2 Session beans[ Go to top ]
- Posted by: sahil gupta
- Posted on: March 28 2001 15:18 EST
- in response to VIJAY Kumar vinay
Its Ne'er too late to learn Vinay...
At least he is trying ........
and by the way are u god that u know everything.....
Come down to Earth................