Does anyone know any node.js style webserver framework for java? I realized that having a non-blocking callback behavior when processing a web request would require deep support at the web server level. I'm interested in node.js, but when I have a web server that finishes saving data, I would like to use the static type system offered by Java. However, I want the scalability of non-blocking io.
Grizzly may be what you are looking for.
Also, if you are interested in using the Servlet API, which also offers asynchronous support with 3.0 , then it might be useful to know that decent servletcontainers also support NIO (often just using Grizzly under covers), such as Apache Tomcat 7 and Oracle Glassfish 3 .
, . , " NIO" , . , select() friend , , . , java.net, .
Deft
- ! (. http://www.playframework.com/). Java Scala. Netty (. http://netty.io/), - NIO (Non-blocking IO). Play ( Netty) Futures ( / -, ) Promises ( ) (. http://en.wikipedia.org/wiki/Futures_and_promises)
I asked myself the same question, and instead of looking, as it should, I looked at how you can write a framework for deploying software components on a nio server, similar to how you can deploy servlets and ejbs to a Java EE container. I registered it at http://blog.maxant.co.uk/pebble/2011/05/22/1306092969466.html if that helps you.
Source: https://habr.com/ru/post/1776021/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1776016/cocoa-touch-how-to-allow-mpmovieplayercontroller-but-no-other-views-to-autorotate&usg=ALkJrhjtVJBXdOTJHuZG17nkeq1O32bpAwHow to solve the hibernation problem: repeating column in mapping for an object? - javaIE меняет цвет моего изображения... а? - htmlwindow.onbeforeunload query execution - javascriptSpecifying columns in jpql select causes fill error - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1776022/add-10-minutes-to-730am-php&usg=ALkJrhiv0z5V0NyTrZGiaEUJFWkEf28hfwAre there any free php scanners? - phpнапишите этот xml в С# - c#Undefined link for libpq functions - linkerWhat are the events on the canvas object that I can handle? - javascriptAll Articles