Hello everyone
(1) This one is from
www.ejbcertificate.com (Exceptions-3/10 )
Which of the following statements are true when a session bean's client receives a java.rmi.RemoteException? [Check all correct answers]
1 The client will never receives a java.rmi.RemoteException.
2 The client calls the session bean from another JVM.
3 The client calls the session bean from within the same JVM.
4 The container throws a java.rmi.RemoteException if the container performs a transaction rollback.
5 The throws clauses of all methods in the remote home and component interface must declare a java.rmi.RemoteException.
Answer 2, 4 and 5 have been given as correct.
As per the specs remote view is location independent -- Specs page 52.
Hence I think that it is not necessary that the client calls the session bean from another JVM.
Am I correct ?
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
(2) Are the values for <env-entry-value> case insensitive (as given in explanation of JDiscuss Question ID 1680). I need some help in this regard as specs page 460 says that content of XML elements is in general case sensitive.
When I see through the fog I see myself...