Ask HN: How are you setting up your Java applications?
I do have a question how people in the rapid development segment (read: startups) architect your application?
Of course I will have a web interface, but I also feel that the web interface is just one interface, and as a whole its not a web application. I see a few options:
- Give into the web app frameworks and develop as war for deployment into a container (or turn it into an executable war)
- Embed Jetty or Tomcat and treat it as a module of my application. I feel this gives me more control over the web server component.
- Take on more overhead.. Develop one project which is the business logic. Then do a separate application that communicates to the back-end somehow.. ZeroMQ, or perhaps REST - but then I'm dealing with a web tier again. But maybe my web tier on my back end service can be simpler in this case.
Thanks for any thoughts.