This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
8. Which statement about the life cycle of a session bean is true? A. The data in a stateful session bean survives a server's crash B. A server that has crashed and been restarted can deserialize cached data for a stateful session bean C. A session bean instance can be recreated through the use of a handle. D. The container can passivate a stateless session bean to free resources answer is c. if bean instance and its home crash ,can the handle that client holds be used to recreate bean instance through the use of a handle? can entity bean be recreated through the use of a handle?
Originally posted by Timber Lee: if bean instance and its home crash ,can the handle that client holds be used to recreate bean instance through the use of a handle?
AFAIK No. A RemoteException will be thrown if for some reason the bean instance cannot be created.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Entity bean (same as session bean) can be recreated through the use of a handle. Bear in mind that stateful session bean has no way to survive a server's crash or restart, but entity bean can as it is backed by a data store.