https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
ktor
  • m

    MBegemot

    08/28/2022, 11:00 AM
    Hi, I'm having trouble with CIO in Android I'm getting weird timeout errors, if I switch to OkHttp everything is fine ...
    a
    • 2
    • 6
  • d

    ddimitrov

    08/28/2022, 11:26 AM
    Hello, I am writing a REST service that serves aggregated statistics of multicast message flow. It listens to a multicast socket and keeps track of the messages it receives. In response to some REST operations it also needs to send a multicast message (to a different group). Right now, I've structured it as two
    launch
    -ed coroutines on the IO dispatcher, using blocking
    receive()
    and
    send()
    with timeout, one draining an outbound channel, the other directly updating a map with statistics (guarded by
    synchronized
    section). Is this the idiomatic way? Am I supposed to use one of the
    Flow
    implementations? Can I somehow plug my I/O into Ktor's selector?
  • s

    S.

    08/28/2022, 4:48 PM
    the gradle plugin for the Docker stuff doesn't seem to expose a port and I can't find anything to specify it. am I missing something?
    t
    a
    • 3
    • 7
  • m

    maxmello

    08/29/2022, 7:36 AM
    I have a problem with the new
    testApplication
    functionality where the application initialization is not called. Please look at my issue https://youtrack.jetbrains.com/issue/KTOR-4819/testApplication-application-initialization-block-not-called
    d
    • 2
    • 2
  • r

    ram prasad

    08/29/2022, 10:03 AM
    Hi @everyone, I have a couple of microservices written in Ktor(2.0.2). I want to ensure that there is a way that microservice communication happens inorder to share the data among them via REST API's. What is the best and secure way to make this communication happen. I have time constraint so gPRC is out of implementation for now. Any other recommendations?
  • e

    eirikb

    08/29/2022, 1:20 PM
    Hi. We are trying to bump Kotlin to 1.7.10 and ktor to 2.0.3. We have a library LibA where we include ktor like this:
    val ktorVersion = "2.0.3"
    implementation("io.ktor:ktor-client:$ktorVersion")
    implementation("io.ktor:ktor-client-core:$ktorVersion")
    implementation("io.ktor:ktor-client-apache:$ktorVersion")
    implementation("io.ktor:ktor-client-json:$ktorVersion")
    implementation("io.ktor:ktor-client-jackson:$ktorVersion")
    implementation("io.ktor:ktor-client-logging-jvm:$ktorVersion")
    implementation("io.ktor:ktor-client-auth:$ktorVersion")
    implementation("io.ktor:ktor-client-websockets:$ktorVersion")
    implementation("io.ktor:ktor-client-okhttp:$ktorVersion")
    implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
    implementation("io.ktor:ktor-serialization-jackson:$ktorVersion")
    In another lib, LibB we include this lib.
    implementation("ourgroup:ourapp:version")
    When compiling LibB we get this error:
    Cannot access class 'io.ktor.client.statement.HttpResponse'. Check your module classpath for missing or conflicting dependencies
    We don't reference anything from ktor directly in LibB
    a
    • 2
    • 13
  • j

    João Gabriel Zó

    08/29/2022, 4:21 PM
    is there a way to set every json field name to snake_case with Content Negotiation? I know it’s possible using
    @JsonNames
    but I don’t wanna do it for each one of the fields
    e
    • 2
    • 1
  • j

    Jakub Gwóźdź

    08/30/2022, 10:31 AM
    Hi. While receiving multipart uploads, do I need to close any of the resources? Basically my routing looks like this:
    post("/fileimport") {
                    val multipartData = call.receiveMultipart()
                    val parts = multipartData.readAllParts()
                        .filterIsInstance<PartData.FileItem>()
                        .mapIndexed { index, item ->
                            UploadedContent(
                                name = item.name ?: "unnamed$index",
                                filename = item.originalFileName ?: "unnamed$index",
                                contentType = item.contentType,
                                bytes = item.provider.invoke().readBytes()
                            )
                        }
                    doSomething(parts)
                    call.respond("OK")
                }
    so the questions is - do I need to somehow close resources created by
    call.receiveMultipart()
    or
    item.provider.invoke().readBytes()
    ?
    a
    a
    • 3
    • 6
  • h

    Hamza GATTAL

    08/31/2022, 7:06 AM
    Why we don't have 2 channels (client side channel and server side channel) for Ktor
  • m

    Marc Plano-Lesay

    08/31/2022, 9:08 AM
    I'm trying to write a plugin that alters HTML files served by Ktor. In
    onCallRespond
    /
    transformBody
    , the
    data
    argument I get is
    Any
    . When printing its type when a static HTML file is served, I get a
    io.ktor.server.http.content.PreCompressedResponse
    (I don't have compression configured on this server). Is there a way to get the actual body?
    a
    • 2
    • 15
  • m

    Marc Plano-Lesay

    08/31/2022, 11:28 AM
    I'm hitting the same issue as asked in https://stackoverflow.com/q/64369594/775894 - with a routing defined like this:
    routing {
      static("/") {
        staticRootFolder = dataDir
        files(".")
        default("index.html")
      }
    }
    Ktor serves the top-level
    index.html
    , but when requesting a subdirectory, Ktor returns a 404 (but requesting explicitly
    index.html
    in this subdirectory works fine). I also tried
    default(File(dataDir, "index.html"))
    , assuming it would at least serve the top-level
    index.html
    , which isn't the case. Is there any way to serve those index files in subdirectories?
    a
    • 2
    • 15
  • u

    包子such fun

    08/31/2022, 12:10 PM
    Hi, all. I'm a new user of ktor client. And I found the Blob() class in Js can't be recognized by ktor Js and throw "unserializeable exception". The official documentation of ktor didn't mentions how to send binary data request in Js. Can anyone give me some advise? Thank you for your attention.
    a
    • 2
    • 1
  • d

    ddimitrov

    08/31/2022, 2:22 PM
    Apologies about the repost, but I sent this message on a weekend and it got zero replies and was quickly buried under Monday chatter. I'm trying one more time. Looking for advice please :-)
    a
    • 2
    • 1
  • f

    František Jeřábek

    08/31/2022, 5:44 PM
    Hi, I am trying to use ktor client with kotlin native and cio engine, but when i run the application i get
    Uncaught Kotlin exception: kotlin.native.IncorrectDereferenceException: Trying to access top level value not marked as @ThreadLocal or @SharedImmutable from non-main thread
    The code looks like this
    import io.ktor.client.*
    import io.ktor.client.engine.cio.*
    
    fun main() {
        val client = HttpClient(CIO)
    }
    This is just a simple new instance. I think it should work but it does not 😐. Just in case it is important i am on
    linuxX64
    with dependencies
    implementation("io.ktor:ktor-client-core:2.1.0")
    implementation("io.ktor:ktor-client-cio:2.1.0")
    h
    • 2
    • 3
  • t

    Trevor Stone

    09/01/2022, 3:37 AM
    Looking into using Ktor Server for websockets. While playing around with them I was testing how the coroutine scope works. WebSocketSession implements CoroutineScope so I assumed calling
    close
    on the websocket would cancel the coroutine scope and clean up children jobs. This doesn't seem to be the case, which I can work around, but I was wondering if this is the behavior for a specific reason?
    a
    c
    • 3
    • 4
  • j

    Jakub Gwóźdź

    09/01/2022, 8:33 AM
    Is it possible to have a set of endpoints/routes with one content-types (and content negotiation) and some other routes with another content-types? I’d like to work on xmls in some application modules and jsons in some other module, and regular form-data -> html in the last module.
    a
    • 2
    • 2
  • e

    eirikb

    09/01/2022, 12:34 PM
    Hi. We upgraded Ktor from version 1 to 2. We use OkHttp engine. After the upgrade post/put with large JSON data is sent as
    Transfer-Encoding: chunked
    . Are there any ways to prevent this? The server we communicate with doesn't support it
    a
    • 2
    • 7
  • n

    Neil

    09/01/2022, 6:49 PM
    Is there a way to receive serialized objects of different types from the same websocket? The example shows creating one socket per type, is that best practise?
    c
    • 2
    • 2
  • m

    Marc Plano-Lesay

    09/02/2022, 9:53 AM
    I'm having issues with the CORS feature. With the following:
    install(CORS) {
        anyHost()
      }
    A
    GET
    request works just fine, but a
    POST
    doesn't. Trying to be a bit more explicit with this:
    install(CORS) {
        anyHost()
        allowHeader(HttpHeaders.ContentType)
        allowMethod(HttpMethod.Get)
        allowMethod(<http://HttpMethod.Post|HttpMethod.Post>)
      }
    results in the
    GET
    not working either now. What's the minimum to get both
    GET
    and
    POST
    working from any host?
    a
    • 2
    • 8
  • j

    João Gabriel Zó

    09/02/2022, 1:55 PM
    I’m receiving this
    java.lang.IllegalStateException: No request transformation found:
    when running Integration Tests for my endpoint. If I just run the application it works fine, no exceptions or whatsoever. Any ideas?
    s
    • 2
    • 4
  • a

    Andrey Tabakov

    09/02/2022, 5:38 PM
    Hi, is there any way to send kotlin object over ktor http client to ktor server without serialization/deserialization?
    a
    m
    • 3
    • 16
  • l

    Lars Erik Rojeras

    09/03/2022, 7:38 AM
    I am developing a small ktor application using Freemarker to render HTML-pages, which works as expected. But, I also need to set up a few API endpoints which serve JSON data to the client. To that end I install ContentNegotion with JSON serializer. It works splendidly and JOSN is produced by the api. But, now when I try one of the Freemarker pages I get:
    2022-09-02 14:38:46.137 [eventLoopGroupProxy-4-1] ERROR Application - Unhandled: GET - /tak/6/producers
    kotlinx.serialization.SerializationException: Serializer for class 'FreeMarkerContent' is not found.
    Mark the class as @Serializable or provide the serializer explicitly.
    How can I solve that so that my server both can support Freemarker pages and JSON responses?
    r
    • 2
    • 2
  • s

    Slackbot

    09/03/2022, 5:39 PM
    This message was deleted.
    b
    • 2
    • 1
  • s

    Slackbot

    09/03/2022, 5:39 PM
    This message was deleted.
    a
    • 2
    • 1
  • s

    Slackbot

    09/03/2022, 5:39 PM
    This message was deleted.
    p
    • 2
    • 1
  • j

    Jackson Cleary

    09/04/2022, 2:59 AM
    I’m trying out KMM using Ktor as client, with OkHttp engine for Android and Darwin for iOS. I am making a request like below
    suspend fun getUpcomingLaunches(): List<Launch> =
        client.get {
            url {
                protocol = URLProtocol.HTTPS
                host = "<http://api.spacexdata.com/v4|api.spacexdata.com/v4>"
                encodedPath = "launches/upcoming"
            }
        }.body()
    This works fine on Android, however on iOS it is failing with 404 not found. From the logs it looks like the correct url is being built (https://api.spacexdata.com/v4/launches/upcoming) although obviously it is not calling that url exactly. However, f I change the code though to
    suspend fun getUpcomingLaunches(): List<Launch> =
        client.get("<https://api.spacexdata.com/v4/launches/upcoming>").body()
    it works as expected. I’m guessing it is a bug in Darwin engine, but just wanted to check I’m not doing something stupid or if it’s a known issue. TIA!
    a
    • 2
    • 4
  • m

    mbonnin

    09/04/2022, 10:13 PM
    How do I log exceptions? I know about StatusPages but I don't really want to change the returned data, I want to log the exception for monitoring purposes.
    h
    • 2
    • 5
  • i

    Ivan Đorđević

    09/05/2022, 12:25 PM
    Is there any way to automatically add defined routes at compile-time (or runtime) without having to explicitly add them in the application module definition? Not only does it get tedious, it's also error prone if you forget to register a defined route. I assume it should be possible with code-generation or annotation processing such as kapt, but I'm wondering if anyone has already done something like this?
    b
    a
    • 3
    • 3
  • a

    August Lilleaas

    09/05/2022, 8:32 PM
    in ktor-server-html-builder-jvm, there’s an interesting Kotlin detail that I’m wondering if anyone here knows more about:
    respondHtml(status) { with(template) { apply() } }
    is used as just doing
    template.apply()
    triggers the built in scope function
    apply
    . What is it about the use of
    with
    that makes Kotlin invoke the
    apply
    method on
    HTML<T>
    rather than the scope function? Is it something about member functions taking presedence in the parser/compiler when it’s called without an explicit receiver, or something like that? If I try and change it to
    with(resp.body) { this.apply() }
    , i.e. explicitly using
    this
    inside
    with
    , it tries to call the scope function again.
  • m

    martmists

    09/06/2022, 8:54 AM
    Is there any way to use ktor as backend and vue as frontend? I foiund the singlePageApplication but it didn't seem to take a route argument, and it also seemed to require compiled files rather than being able to reload quickly.
    a
    a
    n
    • 4
    • 29
Powered by Linen
Title
m

martmists

09/06/2022, 8:54 AM
Is there any way to use ktor as backend and vue as frontend? I foiund the singlePageApplication but it didn't seem to take a route argument, and it also seemed to require compiled files rather than being able to reload quickly.
a

August Lilleaas

09/06/2022, 9:13 AM
you could just use a plain webpack setup for this, your vue frontend doesn’t need to know about the ktor backend afaik?
so, have webpack build a file, and serve that file using a
static
route, and include the file in your HTML served from Ktor
a

Aleksei Tirman [JB]

09/06/2022, 9:29 AM
For the development setup you can use Vue’s dev server to serve your frontend and proxy all API requests to a backend (Ktor) https://cli.vuejs.org/config/#devserver-proxy.
m

martmists

09/06/2022, 9:57 AM
So the only way to do it is by running two servers and some form of proxy, no way to do it with just ktor? What about production, how would I run the vue server from within a jar?
a

August Lilleaas

09/06/2022, 9:57 AM
I’m not sure about the vue dev server, but I’m assuming it works like webpack 🙂 In dev, you run a server that recompiles code on the fly and automatically reloads code in the browser etc, In production, you pre-build minified JS files instead
m

martmists

09/06/2022, 9:58 AM
How would I configure that in gradle/ktor?
a

August Lilleaas

09/06/2022, 9:58 AM
for the webpack dev server you still point to a file on the file system, that webpack creates. This file contains the bare bones to connect to the webpack server that does the rest. So in both dev and prod, you link to the same “file”
for webpack, you can use a
static
route to make the file available to be loaded from a <script> tag
m

martmists

09/06/2022, 10:00 AM
I see, so I don't use singlePageApplication at all?
a

August Lilleaas

09/06/2022, 10:00 AM
I’m not sure what singlePageApplication is, I’ve not used it at least 🙂
I suppose singlePageApplication also sets up a catch-all route that is served for all URLs etc, so maybe it’s a good idea to use it. And then also add a static route to serve the js
hmm, seems like singlePageApplication also sets up serving of static files, so maybe that’s all you need! As well as the dev/prod build of the actual JS, that’s definitely outside of the scope of ktor
m

martmists

09/06/2022, 10:05 AM
I suppose singlePageApplication also sets up a catch-all route that is served for all URLs etc, so maybe it’s a good idea to use it. And then also add a static route to serve the js
Hmm, that's not really desired, as different pages have different permissions and contents, so I'll just look into the vue stuff instead, though it seems to only generate a single file from what I can tell rather than one for each vue file.
a

August Lilleaas

09/06/2022, 10:10 AM
so it’s not really a single page app, then?
I’m assuming that you can mix singlePageApplication with other routes, though. So you can have /api/foo and /api/bar be your API, and all other non-mapped URLs go to the singlePageApplication route
a

Aleksei Tirman [JB]

09/06/2022, 10:35 AM
If you develop a SPA then I would suggest having a separate frontend server for serving a static content and proxying requests to a backend server. Although, you can serve a static content in production with a Ktor server.
a

August Lilleaas

09/06/2022, 11:06 AM
agreed! If I were to write an SPA today, I’d strongly consider going all in on something like next.js so you can get server-side rendering etc
m

martmists

09/06/2022, 8:36 PM
so it’s not really a single page app, then?
The main problem is that all our backend devs want to work with kotlin/ktor and implement the frontend with pebble templates, but the frontend devs want to work with vue. I assumed a single-page-application was just a vue rendered page, is it not? I also haven't seen of a way to pass data to the vue templates for rendering, so that's something to look into as well.
n

napperley

09/06/2022, 11:31 PM
Type safe data transfer between the backend, and frontend is one of the major advantages Kotlin has over JavaScript. Hypothetically if the OP were to use Kotlin for both the back and front ends then this advantage would be available.
Some Kotlin JS web frontend frameworks support integrating with some Kotlin web backend frameworks. One example of this is KVision ( https://kvision.io/ ) which has a module for integrating with Ktor Server (unfortunately it only supports JVM, and not the Native version): https://kvision.gitbook.io/kvision-guide/6.-full-stack-development-guide/server-side/ktor
Type safe data transfer between the front and backends can be achieved via Web Sockets, which is supported by KVision ( https://kvision.gitbook.io/kvision-guide/6.-full-stack-development-guide/websockets ) and Ktor Server for example.
m

martmists

09/07/2022, 12:02 AM
Oh so there's no way to pass the data to the vue templates directly to also support javascript-disabled users?
a

August Lilleaas

09/07/2022, 6:57 AM
as in, you want to run vue from Kotlin on the JVM for server side rendering?
m

martmists

09/14/2022, 2:51 PM
I guess that'd be what I'm looking for, yeah
n

napperley

09/15/2022, 1:26 AM
The OP is better off using a Kotlin JVM, or Kotlin Native based backend to do the server side rendering. Kotlin is far ahead of JS when it comes to server side rendering.
m

martmists

09/15/2022, 11:59 AM
Well yeah, that's what I'm trying to do, but the frontend devs really want it to be Vue, so I don't know how to set this up as a single JVM process.
n

napperley

09/15/2022, 11:52 PM
Can you elaborate on what you mean by single JVM process?
a

August Lilleaas

09/16/2022, 7:25 AM
I think it’ll be tricky to render vue on the back-end 🤔
there are ways to execute JS from the JVM, but I don’t think your Vue devs will be feeling like they’re using Vue if that’s what they end up having to do 🙂
View count: 180