jServer with Jetty 11 is coming

Erel

B4X founder
Staff member
Licensed User
Longtime User
For quite a long time jServer was based on Jetty 9.
A new version which is based on Jetty 11 is soon to be released. This is a big update. It also required rewriting the doclet tool from scratch (it is the tool that generates the XML from the Java libraries).

The online example server is running with the new library: https://b4x.com:51041/

Here is the proof (joking): https://b4x.com:51041/non-existant-page
 

ilan

Expert
Licensed User
Longtime User
will we be able to use old project with the new server library without any code modification?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
will we be able to use old project with the new server library without any code modification?
Probably yes. If not then the changes will be minimal.

Use with SLC? Java 11 support at last?
It is Java 11 indeed. For now it will only be used when building Java 11+ libraries. The new Java modules system makes all kinds of things more complicated so I prefer not to immediately replace the current one. BTW, the new doclet API is one of the ugliest / most opaque APIs that I've worked with. I guess that they designed it like this in order to make it future proof.
 

Attachments

  • BADoclet2.java
    15.8 KB · Views: 153

aaronk

Well-Known Member
Licensed User
Longtime User
What is the main difference between Jetty 11 vs Jetty 9?

What new functions will it provide, or is it mainly an updated version of what we are already using ?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Will we be able package a server application ?
Good question and I'm afraid that currently no. It will probably be possible at some point.

What new functions will it provide, or is it mainly an updated version of what we are already using ?
There are so many under the hood improvements that I cannot list them all.
You can see the changes here: https://github.com/eclipse/jetty.project/releases

Note that it will require Java 11+.
 
Last edited:

Douglas Farias

Expert
Licensed User
Longtime User
For quite a long time jServer was based on Jetty 9.
A new version which is based on Jetty 11 is soon to be released. This is a big update. It also required rewriting the doclet tool from scratch (it is the tool that generates the XML from the Java libraries).

The online example server is running with the new library: https://b4x.com:51041/

Here is the proof (joking): https://b4x.com:51041/non-existant-page
wow. thats very nice.

do u see any performance diference?
 

avalle

Active Member
Licensed User
Longtime User
@Erel , as one of those who asked for support of newer versions of Jetty over the last 3-4 years, I can't be happier than I am at reading the news!!
 
Top