Package structure for a Java project?

前端 未结 7 685
情歌与酒
情歌与酒 2020-12-02 04:01

Whats the best practice for setting up package structures in a Java Web Application?

How would you setup your src, unit test code, etc?

7条回答
  •  借酒劲吻你
    2020-12-02 04:34

    I usually like to have the following:

    • bin (Binaries)
    • doc (Documents)
    • inf (Information)
    • lib (Libraries)
    • res (Resources)
    • src (Source)
    • tst (Test)

    These may be considered unconventional, but I find it to be a very nice way to organize things.

提交回复
热议问题