Announcement Announcement Module
No announcement yet.
design question Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • design question

    I am wondering if I have some redundancies in the way I have set up my project. I have created a working jar for my application, easier to run a test locally for me. It is completely self contained with its own spring configuration, i.e. I can run as a java application. (I have several modules like this.)

    I have also created a spring mvc app that I will use to run/monitor this application in tomcat. The jar is a dependency of the mvc app and has its own controller.

    Would this be considered a bad practice? Everything works but it occurred to me the other day this may not be the best way to do things.

    I hope that I am explaining this properly.

    Basically my war has a spring config but my jar also has a spring config.

    Any and all thoughts would be greatly appreciated.