[ http://jira.andromda.org/browse/EJB-44?page=comments#action_13410 ] 

Pat Casey commented on EJB-44:
------------------------------

Should this issue be in the JSF queue?  I looked at the VSL and it appears that 
the Controller class is generated from there.  

What is the connection to tell JSF to generate a delegate pattern instead of a 
service locater pattern?

> 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

Reply via email to