Is Grizzly a web server (NIO based) or a framework

From the official documentation it seems to me that Grizzly is a NIO-based framework with which we can build scalable web servers. However, I also understand that Grizzly is used as a front-end HTTP connector in Glassfish (v3 in particular).

If Glassfish uses it as a connector, it is custom written using an open API, or a reference implementation exists. Can I also run Grizzly as a standalone web server?

The documentation for Glassfish-Grizzly integration is rather limited. Also, if there is a link that explains schematically how the Grizzly architecture fits into the Glassfish architecture (message flow), please share it.

+3


source to share


1 answer


The Grizzly project is a NIO framework with an HTTP Server Module [1] and you don't need Glassfish to run the Grizzly HTTP Server.



[1] https://grizzly.java.net/httpserverframework.html

+4


source







All Articles