hello friends
I have a couple of questions bothering me, while preparing for SCBCD. Can someone please help me with these ?
1. If there are no method permissions specified for a method, does it mean that anyone can access the method ? Or does it mean that no one can access it ?
2. Can a remote client send JMS messages to a destination on a remote computer ? If yes, then while getting a reference to the Topic or Queue through a JNDI lookup, do we need to perform PortableRemoteObject.narrow() on it ?
3. When a client calls create() on an entity bean, which action takes place first ? Binding the bean with an EJBObject or ejbCreate() invocation ?
Thanks in advance
Vipin
*******************************************************************
My input
1) if no method permission specified then no one can access.
2) Sending message to remote Server using JMS has nothing to do narrow and all. narrow is a RMI concept and it has to do with object location. Where as in JMS we are sending evry thing as Message. So I donw see this portablility issues comming up.
3) I would say seq is like this -- new instance creation, setEntityContext, ejbCreate. So by the end of ejbCreate the bean comes into picture with primary key and RemoteObject reference. all these stages mentioned are responsibility of Container. So ejbCreate is the first to be called.
Please correct me if I am wrong.
steve