/*
 * 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 org.firstejbmodule.calculatrice;

import javax.ejb.Stateless;
import javax.interceptor.Interceptor;
import javax.interceptor.Interceptors;

/**
 *
 * @author Hoss
 */
@Stateless
@Interceptors(LoggingInterceptor.class)
public class CalculatriceBean implements CalculatriceBeanRemote {

    @Override
    public int Add(int x, int y) {
        return x+y;
    }

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
    
}
