Pular para o conteúdo principal

Postagens

Mostrando postagens com o rótulo undertow

Wildfly 10 Javascript Hello World in 2 minutes

We already talked about Nashorn, JavaFX and Javascript in this blog, but today I was surprised by the announcement that Widlfly 10 supports Javascript in the server side. I should have seen before, but only after a few months it was released I saw it on twitter ! After seeing the announcements samples , I thought I had to try it and surprisingly it took less than a few minutes to have my first script running. Here are the steps I had to follow: (I am considering you already have Java 8 installed) * Download Widlfly 10: I downloaded Widlfly 10.0.0.CR4 Application Server Distribution. See more in widlfly downloads page; $ wget http://download.jboss.org/wildfly/10.0.0.CR4/wildfly-10.0.0.CR4.zip Unzip it somewhere locally:  $ unzip wildfly-10.0.0.CR4.zip Start it "quietly": $ cd wildfly-10.0.0.CR4 & ./bin/standalone.sh > /dev/null & Create the application structure in the deployments directory $ mkdir -p standalone/deployments...