Forums Register Login

inner class

+Pie Number of slices to send: Send
can I have an ineer class in side a an EJB(stateless Session bean)
+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
A no-brainer approach would be use a servlet as a control, to call your EJB and HOD class.
My name is Inigo Montoya, you killed my father, prepare to read a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1912 times.
Similar Threads
Utility Classes in EJB
MK Notes and EJB in Action doubts
Calling EJB from MDB
stateless session beans v/s helper classes
EJB Session Bean
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:36:08.