2. Developing the Component Interface
The Component Interface defines what methods the JavaBean is going
to expose to the client.
Example 1.2. About.java
package nl.datraverse.workshop.ejb.beans;
public interface About extends javax.ejb.EJBObject {
String workshopVersion() throws java.rmi.RemoteException;
} |
| Because we develop a remote interface
we extend the EJBObject class and not the
EJBLocalObject class. |