Business Logic
public class ShoppingCartEJB
public boolean addItem(int itemNumber) {
// the code for adding items to the cart
// may include JDBC™ code.
public boolean purchase () {
// the code for purchases
public void ejbCreate(String accountName,
// object initialization code