[ http://jira.andromda.org/browse/EJB-44?page=comments#action_13412 ]
Pat Casey commented on EJB-44: ------------------------------ Chad Thanks for the quick response. My adromda.xml file actually has the property set as you indicate. I looked into the how tos and found a different setting for ejb and set that. Same result, however I think I can get the accessor to work by tweaking the property. In addition to that issue, the generated controller code has a method that returns a ProectService reference instead of a reference to the bean (see method header). /** * Returns a reference to the projectService back-end service. */ protected final pts.service.ProjectService getProjectService() { try { return pts.ProjectServiceUtil.getHome().create(); } catch (final Throwable throwable) { throw new RuntimeException(throwable); } } Is there another property that controls this generaton? > Controller implementation tries to call service class (not service bean). I > am using the ejb3 and jsf cartridges. > ------------------------------------------------------------------------------------------------------------------ > > Key: EJB-44 > URL: http://jira.andromda.org/browse/EJB-44 > Project: EJB Cartridge > Type: Bug > Environment: Mac os X > Reporter: Pat Casey > Assignee: Vance Karimi > > Here is the controller generated code, from web/target --- there is no > ProjectService class genertated > /** > * Returns a reference to the projectService back-end service. > */ > protected final pts.service.ProjectService getProjectService() > { > try > { > return pts.ServiceLocator.instance().getProjectService(); > } > catch (final Throwable throwable) > { > throw new RuntimeException(throwable); > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV