A session beans class should be public and it should implement SessionBean interface. It cannot be final or abstract class. It should also contain a default constructor and it should not define the finalize method. You can write business methods and you may implement more than one ejbCreate create() method.