I am also having similar thoughts like u on the first approach.
Deepak Pant
Ranch Hand
Joined: Feb 13, 2004
Posts: 443
posted
0
Prasad,
I would suggest:
Divide the application into top level packages based on the functionality. Then divide each of the package into tier level packages.
There is a nice article out there at Sun's website about breaking down the application into packages.
You can also have top level breakup on the basis of tiers and then second level breakup on the basis of functional modules.
I do not think it is a good idea to map package structure to use case. It may result in mushroom growth of packages.
regards, Deepak
Timothy Toe
Ranch Hand
Joined: Oct 19, 2002
Posts: 156
posted
0
I spent some time searching with Google...but could not find the article.
If anyone does know of any Sun article that explains best practices on J2EEjava packaging (I mean com.companyname.xxx packaging and not WAR/JAR/EAR packaging)...do let me know !.. Thanks a lot.
Looks like there's still no confident/best practice answer in this thread...