jswebserver online with Winfy
We have hosted the application jswebserver in order to run this application in our online workstations with Wine or directly.
Quick description about jswebserver:
JSWEBSERVER is a very light web server app that can be compiled in Java 1.8 or Java 16, it is based on SCALATRA and GRAALVM with JavaScript engine.Prerequisites to compile jswebserver:
- Java JDK 1.8 or 16 (https: //adoptopenjdk.net/)
- SBT (https: //www.scala-sbt.org/download.html)
- Scala (https: //www.scala-lang.org/download/scala2.html)
After installing prerequisites, download jswebserver sources:
https: //sourceforge.net/p/jswebserver/code/ci/master/tree/
or you may use git:
git clone ssh: //[email protected]/p/jswebserver/code jswebserver-code
To Build & Run:
$ cd jswebserver
$ sbt
> jetty: start
> browse
If browse doesn't launch your browser, manually open http: //localhost: 8080/ in your browser.
Enjoy!! : ).
Features:
- Web server side scripts are implemented in JavaScript
- You can use AJAX technology, see the example in the default page
- It is using GRAALVM JS so, it is possible to call JAVA libraries like JDBC
- It is implemented in only one Java jar file.
.
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.