Svelte, Apache TomEE et routage SPA

Le routage dans une application "SPA" fonctionne sous Node.js ou en "Server Side Rendering". Comment faire quand on doit utiliser un serveur Web/J2EE?