Originally posted by Roger Chung-Wee:
So, I reckon that the book is correct if you consider an entity bean's ejbCreate() to be a business method. I'm sure that Kathy can explain this better than I ...
The javax.ejb.CreateException, javax.ejb.RemoveException, javax.ejb.FinderException, and subclasses thereof are considered to be application exceptions. These exceptions are used as standard application exceptions to report errors to the client from the create, remove,
and finder methods (see Subsections 10.5.8 and 12.1.8).
I brought this back from the farm where they grow the tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton