Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28595
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: JDK 1.8 Power not Available for the Web, Yes or No? |
| Date | 2014-05-29 10:59 +0200 |
| Organization | albasani.net |
| Message-ID | <lm6suc$ifk$1@news.albasani.net> (permalink) |
| References | <lm5lkl$j95$1@news.albasani.net> <lm6sda$hh5$1@news.albasani.net> |
Jan Burse schrieb: > > In Java 1.0, only fields, methods, and classes can be declared > final. The addition of local classes in Java 1.1 has required a > liberalization in the use of the final modifier. It can now be applied > to local variables, method parameters, and even the exception parameter > of a catch statement. The meaning of the final modifier remains the same > in these new uses: once the local variable or parameter has been > assigned a value, that value cannot be changed. > > But I really feel ashamed that I never checked before > whether JSP can use local classes. My testing so > far shows that this JDK 1.1 doesn't work, and subsequently > I guess JDK 1.8 lambdas will also not work. Except > if there isn't only a new tomcat 8, but also a new > JSP spec. It could be that continuations would break some of the assumptions of JSP. For example it could be that JSP assumes that out is only served by one thread as long as the servlet is alive. But I am not sure. With continuations I could easily let the servlet do some concurrent work. If the method that uses the continuation spawns threads. On the other I can also pick out manually and give it to threads. So that the problem is not tied to inner classes per se. BTW: Quite a number of Scala based frameworks: What Scala web-frameworks are available? http://stackoverflow.com/questions/1488412/what-scala-web-frameworks-are-available
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
JDK 1.8 Power not Available for the Web, Yes or No? Jan Burse <janburse@fastmail.fm> - 2014-05-28 23:49 +0200
Re: JDK 1.8 Power not Available for the Web, Yes or No? Arne Vajhøj <arne@vajhoej.dk> - 2014-05-28 18:15 -0400
Re: JDK 1.8 Power not Available for the Web, Yes or No? MilkoB <mbrbc111@cogeco.ca> - 2014-05-28 19:27 -0400
Re: JDK 1.8 Power not Available for the Web, Yes or No? Joerg Meier <joergmmeier@arcor.de> - 2014-05-29 01:03 +0200
Re: JDK 1.8 Power not Available for the Web, Yes or No? Jan Burse <janburse@fastmail.fm> - 2014-05-29 11:58 +0200
Re: JDK 1.8 Power not Available for the Web, Yes or No? Jan Burse <janburse@fastmail.fm> - 2014-05-29 10:50 +0200
Re: JDK 1.8 Power not Available for the Web, Yes or No? Jan Burse <janburse@fastmail.fm> - 2014-05-29 10:59 +0200
csiph-web