Hi everyone! Is it possible to add compose-web in ...
# compose-web
a
Hi everyone! Is it possible to add compose-web in an application server environment (EE/Spring) instead of JSP/JSF's view? If so, how would you recommend tackling this task? Thank you.
b
The best you can do with CfW is to serve its output as embedded static resources.
i.e. From the jvm perspective CfW becomes just a bunch of js/html files
But that applies to any other js framework. If you're looking to use CfW for SSR, look elsewhere. At the moment it's only supporting SPAs
a
I see. Yes, I was interested on an SSR approach but your response makes perfect sense. Thank you for replying.
b
You could see if kotlinx.html suits you. It purely supports SSR
#kotlinx-html
a
Great! I was unaware of this project. Although I really wanted to use Compose, I will give Kotlinx a try, seems to support everything I need. Thank you again for the help.
b
Glad to help. Good luck!