I do not see why not. But I would not do so unless it makes a very strong case because it defeats the whole purpose of component architecture. Can you explain what makes you to takes this path? Can't you make this inner class a seperate bean though?
Joined: Feb 06, 2001
hank you for your reply Frank. I don't have full knowledge in EJB. In my application this stateless session bean has to perform some events. My stateless session bean has to call a HOD class which is going to stay outside the container if a make a bean and call it through the stateless session bean. In order to avoid that I have tried to put that one inside stateless session bean. Now it is working fine. Now I came across with new problem. In my HOD inner class I have to do some thread handling. As EJB don't support threads.that SLSB is not working properly. My main application is Web Enablement of S390.
Joined: Jan 26, 2001
A no-brainer approach would be use a servlet as a control, to call your EJB and HOD class.