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

Gotchas

The following are some “gotchas” to help you with your implementation:

  • If writing CMTD Session beans, resource manager transaction methods (such as connection.commit()) must not be used.

  • The ejbCreate() and ejbRemove() lifecycle methods for Session beans (and Message-driven beans) are performed with unspecified transaction context.

  • The collection returned by the getter method for a cmr-field cannot be used outside of the transaction in which it was materialized (see EJB specification, section 10.3.8).

  • If using a SQLj Part 0 compiler, make sure that the vendor offers adequate support for the generated code to run within the J2EE environment.

  • If using SQLj Part 1 or Part 2, be sure to do some performance benchmarking first. This is a new technology ...

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