jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Mod4j: Modeling for Java using Domain Specific Languages
  • Mod4j: Modeling for Java using Domain Specific Languages
  • MODFORJ-23

Placement of Dao and Impl files in different package

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0.0
  • Component/s: DSL for Business Domain
  • Labels:
    None
  • Number of attachments :
    0

Description

Currently in the data-src/main/java all the files are placed in the *.dao package. This includes the interfaces (*Dao.java) and implementations (*DaoImpl.java).

Most projects I've worked on have those files in a different package, maybe:

*.dao
All the *Dao.java files
*.dao.impl
All the *DaoImpl.java files

IMHO this would make it a bit more clear and easy to use.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Eric Jan Malotaux added a comment - 26/Feb/09 10:24 AM

Interfaces are generated in <rootPackage>.data, and implementations in <rootPackage>.data.spring.hibernate.

Show
Eric Jan Malotaux added a comment - 26/Feb/09 10:24 AM Interfaces are generated in <rootPackage>.data, and implementations in <rootPackage>.data.spring.hibernate.

People

  • Assignee:
    Eric Jan Malotaux
    Reporter:
    Johan Vogelzang
Vote (0)
Watch (0)

Dates

  • Created:
    19/Feb/09 8:30 AM
    Updated:
    26/Feb/09 10:24 AM
    Resolved:
    26/Feb/09 10:24 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.