[ http://jira.andromda.org/browse/EJB-44?page=comments#action_13420 ]
Vance Karimi commented on EJB-44: --------------------------------- A workaround I can suggest is to remove the modelled dependencies from your controller to the session beans. The getters won't be generated and will leave you to implement the delegate calls in the controller implementation class. Ultimately, I think the ejb3 cartridge should be used with a seam cartridge that extends the jsf cartridge, thereby (I think) eliminating service locators and delegates all together. > 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