\x3C/script>')
All Examples All EJB Examples This Package
Class examples.ejb.subclass.ChildBean
examples.ejb.subclass.ParentBean
|
+----examples.ejb.subclass.ChildBean
- public class ChildBean
- extends ParentBean
ChildBean is a stateless SessionBean. This bean illustrates:
- Extending the functionality of the ParentBean class
- Overloading methods inherited from the ParentBean class
ChildBean()
-
childOnlyMethod()
- Returns a message identifying the method.
sayHello()
- Returns a message identifying the method.
ChildBean
public ChildBean()
childOnlyMethod
public java.lang.String childOnlyMethod()
Returns a message identifying the method.
This method is unique to the ChildBean.
- Returns:
- String Message
sayHello
public java.lang.String sayHello()
Returns a message identifying the method.
This method is inherited and overloaded by the Child bean.
- Returns:
- String Message
- Overrides:
- sayHello in class ParentBean
All Examples All EJB Examples This Package