How to store classes in a package

com.qbw.*

myDirStructure

myDirApp.java

qbw

businessLogic

Product.java

LineItem.java

dataAccessLayer

ProductDB.java

presentation

Validator.java

The packages would be:

  • com.qbw
  • com.qbw.businessLogic
  • com.qbw.dataAccessLayer
  • com.qbw.presentation