This week's book giveaway is in the OCP forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests and have Scott Selikoff and Jeanne Boyarsky on-line! See this thread for details.
Hi all, I have some doubts and just want to discuss with all you guys. I was just wondering that why the spec doesn't allow a container to introspect the bean class and generate the component and home interface. Then the developer only need to code the bean class and also for the bean class the API can provide a class that contains the default implementation of all the container callback methods. Atleast it can be done for session bean . For entity beans there are these home business methods etc but for session beans I am not able to think of any restriction. Appreciate if you guys can give me some inputs on this .
Well the problem I can think in this case is that how the container will know about what all are the business methods that needs to be exposed but for that we can have a variable that the business method will set.
HI linoops , I guess for stateful we can introspect . In case of stateful session bean whose home interface has multiple create method will have corresponding ejbCreate in the bean class. That means with introspection we can generate the interface.
Sawan<br />SCJP,SCWCD,SCBCD<br /> <br />Every exit is an entry somewhere.