/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package de.th.wildau.webapp.buchladen.sessions;

import javax.ejb.Remote;

/**
 *
 * @author Jan
 */
@Remote
public interface CartSessionBeanRemote {
    
}

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package de.th.wildau.webapp.buchladen.sessions;

import de.th.wildau.webapp.buchladen.entities.BookEntity;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Jan
 */
@Remote
public interface CartSessionBeanRemote {
    
    void addBook(int id);
    
    void removeBook(int id);
    
    List<BookEntity> getContent();
    
    int count();
}

add cart remote interface