3 ms·
Deploying on the jvm isn't what i would call a sane environment, i'm looking for something more go like (aka build copy, done). Plus kotlin doesn't seem to hav
by bsaul 11y ago
Deploying on the jvm isn't what i would call a sane environment, i'm looking for something more go like (aka build copy, done).
Plus kotlin doesn't seem to have a very stable web framework for now, and clojure isn't enough strongly typed for my taste.
All those things i'm looking for makes me really hope in swift on the server...
But thank you a lot anyway for making suggestions.
- mike_hearn 11y ago"Not sane"? You can literally unzip a JVM and then run "java -jar myapp.jar", how is that too complicated for modern day sysadmins? But if you want a single copyable deployment then look at the javapackager tool in Java 8. It will take a unified JAR (which any build tool can produce) and create a .deb/.rpm/.tar.gz with a bundled JRE inside such that you can install it and then run your app in the usual UNIX way (by name). You wouldn't even know it's Java under the hood. Kotlin doesn't need any web frameworks because it's 100% interoperable with Java, so you'd just use any of those like Play Framework, Ninja framework, Spring Boot, etc.
- bsaul 11y agoI'll have a look at the javapackager tool, thanks. For now the only jvm web framework i've used and found elegant enough is play, but since it's coded in scala, i don't feel like using another non-java language on top ( i already felt like using java for play was like using a second class citizen). Not that it won't work, but it has all the chances of creating weird code patterns and edge cases, and feel non natural at all.