org.ow2.easybeans.examples.entitybean
Interface SessionFacadeRemote

All Known Implementing Classes:
SessionFacade

public interface SessionFacadeRemote

Simple interface for a session facade bean.

Author:
Florent Benoit

Method Summary
 void addEmployee(int id, java.lang.String name)
          Adds an employee.
 Employee findEmployee(int id)
          Finds the Employee with its given id.
 

Method Detail

addEmployee

void addEmployee(int id,
                 java.lang.String name)
Adds an employee.

Parameters:
id - of the employee
name - of the employee
Throws:
RemoteException

findEmployee

Employee findEmployee(int id)
Finds the Employee with its given id.

Parameters:
id - to find the employee
Returns:
employee associated to the given id
Throws:
RemoteException


Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.