labs / tiddlers / content / labs / lab07 / $__Labs_07_Jooby and Static
@Mark George Mark George on 18 Aug 468 bytes WIP lab 7

Jooby (combined with Netty) provides us with a web server. We need to put our HTML, CSS, JavaScript, image files, and whatever other statics assets we need for the online shop somewhere, so it makes sense to serve them out of the same Jooby server that is providing the web service. Again, this is breaking the rules of microservices, but it would be very easy to split this out if needed, and it makes your life easier to have a single server for the whole project.