Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1068

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1068
    Summary: @ejb.dao impl-class should also support a DAO factory
       Type: New Feature

     Status: Open
   Priority: Minor

 Original Estimate: 1 day
 Time Spent: Unknown
  Remaining: 1 day

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2.1

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Simon Benvenutto

    Created: Tue, 14 Sep 2004 10:28 AM
    Updated: Tue, 14 Sep 2004 10:28 AM
Environment: All environments.

Description:
We would like to create our DAOs dynamically, rather than have to use the existing 
method, where a static singleton is created, since a factory approach adds flexibility.

For example, in bean EntityBeanEJB: 

  @ejb.dao impl-factory-class=com.us.and.them.GenericDAOFactory
           class="EntityBeanDAO"

This would create the following code in the generated EntityBeanBMP class:

  EntityBeanDAO getDAO {
    return (EntityBeanDAO) GenericFactoryDAO.getInstance(this, EntityBeanDAO);
  }

Or something along those lines.  The generic DAO factory could generate a dynamic 
proxy that could use introspection, result set metadata and other deployment 
information to do the OR mapping.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to