posted 17 years ago
hi,
i have few doubts about the conclusions that i have come across for the following.. please comment on anything which i have interpreted wrongly or whether it is rite...
1) violating any rules put down to increase the portability of entity beans as an example not implementing any threads in the bean classes etc.. : what my idea is if you don't adhere to them you just dont have portability but you will still be able to successfully deploy the bean and run it..
2) what if narrowing is used to locate a local home interface of a bean.. : what my idea about this is that you can do this.. its just that the narrow will be a no-op method. but it wont give you any exceptions...
3) calling the remove method of a local session home interface which accepts the primary key... : when you try to use this method it will throw a RemoveException.. and if you try to execute the getPrimaryKey method of the local component interface of a session bean it will simply throw either a RemoteException or an EJBException according to the client type...
i have given some scenarios and the idea whic i have in mind.. pleaes let me know whether they are correct...
thank you...
Charith I Fernando<br />SCJP5, SCWCD, SCBCD, BSc(Hons) IS<br />+94 773 263 222 (mobile)