cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing an EJB DC from a JSP

Jan_Vandieken
Explorer
0 Kudos

Hello,

I created an EJB DC which offers me serveral operations which are published in the public part.

Because I can not deploy the jar-file from this EJB I use a server Library where I put the PP of the EJB as an used DC in. When I build and deploy this library and have a look via the visual Administrator I can find the library containing my EJB jar file.

for usage of the operations offered by the EJB I have to get an Instance of this EJB. When working with non DCs I can do so by using ctx.lookup("java:comp/env/ejb/CalculatorBean"); like in the tutorial.

But how can I find the instance of the DC ?

regards Jan

Message was edited by: Jan Vandieken

Accepted Solutions (0)

Answers (1)

Answers (1)

Jan_Vandieken
Explorer
0 Kudos

Thanks,

I solved the probem on my own...

regards Jan

0 Kudos

Hello Jan,

Can you explain how you solved this problem?

Thanks

Ami