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: Why would it be pointless to deploy the getter of a multi-valued cmr-field using the RequiresNew transaction attribute?
A1: This would be pointless because the returned collection cannot be used outside of the transaction in which it was materialized.
Q2:What happens to the current transaction when an EJB throws an application exception?
A2: The bean may or may not mark the transaction for rollback; consult the bean's documentation.
Q3:When using SQLj Part 2, why should the Java class acting as an abstract data type define a static variable serialVersionUID?
A3: To provide forward compatibility with future versions of the class.

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