[ http://jira.andromda.org/browse/NETCART-9?page=comments#action_13628 ] 

Naresh Bhatia commented on NETCART-9:
-------------------------------------

No, that is the factory for DAOs. I am taking about a factory for services. 
Currently, clients of services have to write code like this:

    IForumService service = new ForumServiceImpl();

This should be more like

    IForumService service = ServiceFactory.GetForumService();

Karthick had something like this in the latest TimeTracker implementation.



> Create a template for generating a service locator class
> --------------------------------------------------------
>
>          Key: NETCART-9
>          URL: http://jira.andromda.org/browse/NETCART-9
>      Project: .NET Cartridges
>         Type: Improvement

>     Reporter: Naresh Bhatia
>     Assignee: Naresh Bhatia
>     Priority: Minor

>
> Create a template for generating a service locator class

-- 
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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Reply via email to