package action; import java.util.List; import com.adobe.objects.SimpleCustomer; import com.adobe.services.SimpleCustomerService; import com.opensymphony.xwork2.Action; import com.opensymphony.xwork2.ActionSupport; public class CustomerAction extends ActionSupport { private static final long serialVersionUID = 2L; private List customers; public CustomerAction() { } public String execute() { SimpleCustomerService service = new SimpleCustomerService(); this.customers = service.getAllCustomers(); return Action.SUCCESS; } public List getSimpleCustomers() { return customers; } }