O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Q&A

Q1: What sort of state can stateless Session beans have?
A1: Somewhat surprisingly, stateless Session beans can store state, but it must be independent of the client.
Q2:What is the prefix that will appear in all JNDI lookups?
A2: The java:comp/env context is guaranteed to exist in an J2EE environment.
Q3:How are EJB system exceptions different from regular Java exceptions?
A3: RemoteExceptions can be caused by network problems, which, in the context of distributed J2EE enterprise applications, represent a system-level rather than application-level exception.
Q4:How is the timeout for a stateful Session bean defined?
A4: Surprisingly, the mechanism for specifying the timeout interval for a stateful Session bean is not mandated in the EJB specification. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required