package com.oreilly.javaxp.xdoclet.ejbdoclet.ejb;
import javax.ejb.SessionBean;
/**
* @ejb.bean
* type="Stateless"
* name="PaymentProcessingBean"
* jndi-name="ejb/PaymentProcessingBean"
* view-type="remote"
* @ejb.transaction
* type="Required"
* @ejb.transaction-type
* type="Container"
*
* @author Brian M. Coyner
* @version $Id: PaymentProcessingBean.java,v 1.6 2002/11/20 00:09:16 jepc Exp $
*/
public abstract class PaymentProcessingBean implements SessionBean {
/**
* @ejb.interface-method view-type="remote"
*/
public boolean makePayment(String accountNumber, double payment) {
// perform logic to look up customer and make payment against their
// account
return true;
}
} |