Thanks Jaikiran for the inputs .
In my sample
test that I am doing - I am invoking a
jsp from browser
The jsp is creating an instance of a simple
Java Class that I call as the "delegate" .
The delegate is being injected with the PC
I know this is not good design where JSP is starting the invocation - but I just wanted to play around with ejb's
Since my " delegate " is not managed - it too cannot make use of DI ?
Here is the sample code used :
This is the JSP
This is the "delegate" :
Thanks Jai for the inputs and help.
~satish