Mod4j: Modeling for Java using Domain Specific Languages

Placement of Dao and Impl files in different package

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0.0
  • 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

Hide
Eric Jan Malotaux added a comment -

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

Show
Eric Jan Malotaux added a comment - Interfaces are generated in <rootPackage>.data, and implementations in <rootPackage>.data.spring.hibernate.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: