none
Keeping GUI and server code in the same java projects RRS feed

  • Question

  • Just seeking some opinions on project structure..

    Say you have decently big server side and UI code, both written in Java.

    Do you guys think you should keep them as separate projects, like project-server, project-ui, so you can release both independently,

    or would you keep them in the same project to keep releases easy?

    Monday, December 8, 2014 7:09 AM

Answers

  • It depends:

    • To avoid complexity: separate in maven submodules.
    • To avoid development slowdowns (keep the turnaround time low): put it all in one maven project, but be sane on the choiche of packages.

    I would personally choose to avoid slowdowns. In a recent project I devided a project in maven submodules. The result: I ended up spending an increased amount of time mvn cleaning & installing the modules for small changes, which can be frustrating.

    • Marked as answer by CarlosVelaZen Saturday, December 13, 2014 12:58 AM
    Monday, December 8, 2014 7:10 AM