[jetty-users] Eclipse Jetty 9.4.26 Has Been Released!

2020-01-20 Thread Chris Walker
Hello! The Jetty team is happy to announce the immediate availability of a new release for the Eclipse Jetty 9.4.x branch. Jetty 9.4.26.v20200117 includes bug fixes and improvements. It is recommended that all users upgrade as soon as they are able. A full list of changes for this release is

Re: [jetty-users] Communication between a Servlet and a custom protocol

2020-01-20 Thread Josh Spiegel
Thanks, I will try this. On Mon, Jan 20, 2020 at 8:56 AM Simone Bordet wrote: > Hi, > > On Mon, Jan 20, 2020 at 4:53 PM Josh Spiegel wrote: > > > > I have the ConnectionFactory and the Connection implementations. > > I have the Servlet (deployed in a war file) > > > > The

Re: [jetty-users] Communication between a Servlet and a custom protocol

2020-01-20 Thread Josh Spiegel
>From the Connection, I can search Jetty Server for the right servlet context to find state set by the servlet (see code below). But this seems a bit fragile and would appreciate it if anybody knows a cleaner solution. Thanks, Josh Set from servlet: *protected* *void*

Re: [jetty-users] Communication between a Servlet and a custom protocol

2020-01-20 Thread Simone Bordet
Hi, On Mon, Jan 20, 2020 at 4:53 PM Josh Spiegel wrote: > > I have the ConnectionFactory and the Connection implementations. > I have the Servlet (deployed in a war file) > > The ConnectionFactory/Connection are deployed using a Jetty module/xml with > start.jar. > The servlet is deployed by

Re: [jetty-users] Communication between a Servlet and a custom protocol

2020-01-20 Thread Josh Spiegel
I have the ConnectionFactory and the Connection implementations. I have the Servlet (deployed in a war file) The ConnectionFactory/Connection are deployed using a Jetty module/xml with start.jar. The servlet is deployed by dropping the war file in webapps. I have some dynamic state (mainly

Re: [jetty-users] Communication between a Servlet and a custom protocol

2020-01-20 Thread Greg Wilkins
Generally communication between components in the server space and those in the application space is best done by using a context attribute (with a lot of care about classpath visibility). On Mon, 20 Jan 2020 at 00:36, Josh Spiegel wrote: > Hi, > > What is the cleanest way for a servlet (e.g.

Re: [jetty-users] Communication between a Servlet and a custom protocol

2020-01-20 Thread Simone Bordet
Hi, On Mon, Jan 20, 2020 at 12:36 AM Josh Spiegel wrote: > > Hi, > > What is the cleanest way for a servlet (e.g. in a war file under webapps) to > communicate state with a custom ConnectionFactory running in the same server? A custom ConnectionFactory typically creates Connections that parse