Cpt 6a BookEJBRemote.java
package com.apress.javaee6.chapter06a;

import javax.ejb.Local;
import java.util.List;

/**
 * @author Antonio Goncalves
 *         APress Book - Beginning Java EE 6 with Glassfish
 *         http://www.apress.com/
 *         http://www.antoniogoncalves.org
 *         --
 */
@Local
public interface BookEJBRemote {

    // ======================================
    // =           Public Methods           =
    // ======================================

    public List<Book> findBooks();

    public Book findBookById(Long id);

    public Book createBook(Book book);

    public void deleteBook(Book book);

    public Book updateBook(Book book);
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License