Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Communication between a Servlet and a custom protocol

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 <joshlakewg@xxxxxxxxx> 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?Is there is some way to set Server attributes from the servlet or something like that?

A static variable would probably work for me but I am hoping for something that is more decoupled and scoped at the Server level.

Thanks,
Josh

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users


--

Back to the top