New versions 2.4.3 and 2.5m1 of the Restlet Framework

52 views
Skip to first unread message

Thierry Boileau

unread,
Mar 24, 2020, 4:51:34 AM3/24/20
to Restlet Framework
Hello all,

I'm happy to announce that Restlet Framework 2.4.3 is available here: https://restlet.talend.com/downloads/current/.
It mainly consists in taking into account some contributions from the community:
- Allow parsing of double values like "2.0" or "4.0" being received in the Retry-After header. Reported by Brett Cooper.
- MemoryRealm.unmap method leads to ArrayOutOfBound exception. Reported by j-perrin.
We also released Milestone 1 of Restlet Framework 2.5 which focuses on a reduced and upgraded set of extensions and upgrade to Java 11:
- Removed deprecated extensions EMF, JavaMail, JAX-RS, JiBX, Lucene, NIO, OAuth, OpenID, Platform, RAML, Simple, WADL.
- Removed generation of Eclipse p2 artifacts from the build since the Eclipse p2 site is no more maintained.
- Upgraded to Java 11.
- Upgraded Apache FileUpload library to version 1.4.
- Upgraded GSON library to version 2.8.6.
- Upgraded Guice library to version 4.2.2.
- Upgraded JAXB library to version 2.4.0-b180830.0438.
- Upgraded Spring Framework library to version 5.2.2-RELEASE.
- Upgraded Thymeleaf library to version 3.0.11.
- Upgraded Velocity library to version 2.1.
- Upgraded Guava library to version 28.1-jre.
- Upgraded Jackson library to version 2.10.1.
- Upgraded Snakeyaml library to version 1.24.
- Upgraded Jetty library to version 9.4.24.v20191120.
- Upgraded GWT library to version 2.8.2.

Pongsatorn Sukhum

unread,
Jun 10, 2020, 11:26:14 PM6/10/20
to Restlet Framework

Thank you for all the work.

I was wondering whether there are plans to include Server-Sent Events (SSE) into Restlet ? I am currently using Restlet SE and have experimented with the Jetty Event Source Servlet but their implementation is not complete (does not contain message ids, etc.). Would be extremely useful to have an SSE implementation built-in to Restlet SE.

Rgds.

Jerome Louvel

unread,
Jun 11, 2020, 2:26:16 AM6/11/20
to Pongsatorn Sukhum, Restlet Framework
Hi Pongsatorn,

Thanks for the message. SSE is definitely something that would make sense for Restlet Framework to support.

For you, what would be the best way to support it in Restlet Framework? Via Servlet API, via the Jetty extension or another library such as Netty?

Best regards,
Jerome


De : framewor...@restlet.org <framewor...@restlet.org> de la part de Pongsatorn Sukhum <pongsato...@gmail.com>
Envoyé : jeudi 11 juin 2020 05:26
À : Restlet Framework <framewor...@restlet.org>
Objet : Re: New versions 2.4.3 and 2.5m1 of the Restlet Framework
 

Warning! External email. Exercise caution when opening attachments or clicking any links.



--
To unsubscribe from this group and stop receiving emails from it, send an email to framework-disc...@restlet.org.

As a recipient of an email from Talend, your contact personal data will be on our systems. Please see our privacy notice (updated December 2019) at Talend, Inc.



Pongsatorn Sukhum

unread,
Jun 11, 2020, 3:08:45 AM6/11/20
to Restlet Framework, pongsato...@gmail.com

Hi Jerome... Thank you for your comments.

Don't know much about the Restlet internals to recommend the best course.

My use cases include projects updating GeoJSON data to positions on a map, and statistics in tables or graphics on screen.
The data gets added and/or changed via Restlet POST and PUT, as well as generated on the server by simulators, and I would like
all the clients to receive updates simultaneously as they occur within the ServerResources. I have experimented using  Guava EventBus
as Listener to update the SSE Event Source. Previously had to use periodic client GET as a workaround - but not efficient.

I think it would be nice if the client subscription is tied to the Restlet GET, but with an SSE annotation or something to differentiate this
as an SSE subscription. This will allow for the same programming paradigm of the Application and router.attach code.

Rgds.
To unsubscribe from this group and stop receiving emails from it, send an email to framewor...@restlet.org.
Reply all
Reply to author
Forward
0 new messages