Explicitly model dependency between DataInitializerBean and
LogSessionBean to ensure that logging already captures the database
initialization.
Add concurrency annotations to singleton session beans to avoid races.
Extend proxy.conf to also forward the websocket (ws:) protocol when
running "npm start" during development (see
https://github.com/angular/angular-cli/issues/6081). Add functions to
guess the websocket and rest api domain on angular app startup by
looking at the window.document.location. This should allow a
configuration-free deployment in all environments.