Chapter 9 Working with Object-Oriented Models


Bean class Home interface methods implementation

For each create<METHOD> method of the bean Home Interface(s), there must be a matching ejbCreate<METHOD> method in the Bean class with the same method arguments. For each home method of the Home Interface(s), there must be a matching ebjHome<METHOD> method in the Bean class with the same number and types of arguments, and the same return type.

The following check applies to Entity Beans only.

For each ejbCreate<METHOD> method of the Bean class, there must be a matching ejbPostCreate<METHOD> method in the Bean class with the same number and types of arguments.

Manual correction Automatic correction
Add a method with the same name and types of arguments in the Bean class Adds a method with the appropriate values in the Bean class

The following check applies to BMP Entity Beans only.

For each find<METHOD> finder method defined in the bean Home Interface(s), there must be a corresponding ejbFind<METHOD> method with the same number, return type, and types of arguments.

Manual correction Automatic correction
Add a method with the same number, return type and types of arguments in the bean Home Interface(s) Adds a method with the appropriate values in the bean Home Interface(s)

 


Copyright (C) 2005. Sybase Inc. All rights reserved.