All Examples  All EJB Examples  This Package

Class examples.ejb.subclass.child.ChildBean

java.lang.Object
   |
   +----examples.ejb.subclass.parent.ParentBean
           |
           +----examples.ejb.subclass.child.ChildBean

public class ChildBean
extends ParentBean
implements SessionBean
ChildBean is a stateless SessionBean. This bean illustrates:

Author:
Copyright (c) 1998 by WebLogic, Inc. All Rights Reserved.
Copyright (c) 1998-1999 by BEA WebXpress. All Rights Reserved.

Constructor Index

 o ChildBean()

Method Index

 o callParentBean()
Looks up a ParentBean and calls its parentMethodOnly().
 o childSaysHello()
Returns a message identifying the method.
 o parentSaysHello()
Returns a message identifying the method.

Constructors

 o ChildBean
 public ChildBean()

Methods

 o childSaysHello
 public String childSaysHello()
Returns a message identifying the method. This method is unique to the Child bean.

Returns:
String Message
 o parentSaysHello
 public String parentSaysHello()
Returns a message identifying the method. This method is inherited and overloaded by the Child bean.

Returns:
String Message
Overrides:
parentSaysHello in class ParentBean
 o callParentBean
 public String callParentBean() throws RemoteException
Looks up a ParentBean and calls its parentMethodOnly(). Returns a message identifying the method.

Returns:
String Message
Throws: RemoteException
if there is a communications or systems failure

All Examples  All EJB Examples  This Package