1 package ejava.examples.ejbwar.customer.ejb; 2 3 import ejava.examples.ejbwar.customer.bo.Customer; 4 import ejava.examples.ejbwar.customer.bo.Customers; 5 6 /** 7 * This interface defines the business interface for the customer management 8 * EJB. 9 */ 10 public interface CustomerMgmt { 11 Customer addCustomer(Customer customer); 12 Customers findCustomersByName(String firstName, String lastName, int offset, int limit); 13 Customer getCustomer(int id); 14 void deleteCustomer(int id); 15 }