try { TaskMasterLocalHome home = TaskMasterUtil.getLocalHome(); TaskMasterLocal master = home.create(); System.out.println("Created: " + master.createTask(UserBean.user(), name)); } catch (Exception e) { e.printStackTrace(); } return null;
return name;
this.name = name;