try {
InitialContext ic = CVUtility.getInitialContext();
LiteratureLocalHome home = (LiteratureLocalHome)ic.lookup("local/Literature");
LiteratureLocal local = home.create();
local.setDataSource(this.dataSource);
result = local.editLiterature(mapLiterature);
} catch (Exception exe) {
exe.printStackTrace();
result = 1;
}
return result;