 |
Servlet 3.0 - from the source
Posted by mode on December 02, 2008 at 06:13 PM | Comments (13)
Since the Early draft of the specification for Servlet 3.0 (JSR 315) the expert group has been working on refining and improving the specificaiton in a couple of areas - Ease of Development (EoD), pluggability and asynchronous support. Below is a description of things that are in the soon to be available public review to enable each of these features.
Please take a look at the specification when it is published on the jcp.org website and send us your feedback at jsr-315-comments@jcp.org.
An early access implementation of some of the features are available in the GlassFish nightly build. For further discussion please post your questions about the implementation to webtier@glassfish.dev.java.net
Jetty 7 pre-release also has some of the features implemented for those interested.
Look for more blogs about these features from my colleagues Shing Wai and Jan Luehe on specifics of some of the implementation.
Bookmark blog post: del.icio.us Digg DZone Furl Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment
-
Just one simple question :) What will be servlets good for since JAX-RS makes easier lot of servlet use cases? It looks like it will become lowend technology for framework creators only just like JDBC.
Posted by: musketyr85 on December 02, 2008 at 11:46 PM
-
musketyr85 - A LOT of frameworks build on the web container. JAX-RS also builds on the servlet container as one of the containers in the Java EE platform. So adding functionality to the underlying container will enable frameworks which will make developers lives easier.
- Rajiv
Posted by: mode on December 03, 2008 at 12:56 AM
-
Sure. That are frameworks creators who will use servlets, but my queston was more on ordinal developers who don't write any frameworks.
I was just curious whether you or your colleagues know some use cases where end user programmer would say "Hey, this cannot be done so easy with JAX-RS let's do it with old good servlet!"
Posted by: musketyr85 on December 03, 2008 at 02:51 AM
-
is startAsync to be used for comet a/ the asyncContext?
Not resume ?
Is there a draft document to look over?
Sample code?
Posted by: netsql on December 03, 2008 at 08:56 AM
-
Are you guys planing to (finally) add a unified api/framework for uploads? Today... every damn web framework does it on its own... Please fix that
Posted by: mwessendorf on December 04, 2008 at 04:48 AM
-
Regarding the start async proposal, I think this is a much better concept than start resume. I have written HTTP server which uses a similar concept, however asynchronous processing is transparent from the outset.
http://www.simpleframework.org/
This form of processing also opens up the servlet container to parallelize requests on the same pipeline. As it allows HTTP request completion to drive dispatch of the next request, rather than service completion, and without any greater buffering demands. Performance is also much better than the conventional Servlet service model.
http://www.simpleframework.org/performance/comparison.php
Posted by: gallagher_niall on December 04, 2008 at 05:56 AM
-
musketyr85: I recently was at a JUG and queriied the attendees to see how many people are still writing servlets and was quite surprised to see the number. However to answer your question - for JAX-RS to be able to support async for example one way it could do it is via using the underlying functionality in the container. If JAX-RS does not have any support for async (as is the case today) then what does a developer do?
Posted by: mode on December 04, 2008 at 10:48 AM
-
netsql: I will soon be writing an entry describing the async API. A lot of people have asked me the same question as you.
Posted by: mode on December 04, 2008 at 10:49 AM
-
mwessendorf: It is still in the plan. We hope to have it in the proposed final draft of the spec.
Posted by: mode on December 04, 2008 at 10:50 AM
-
Actually, the real question is what incremental features could be added to the base Servlet API so that a developer could choose "raw" servlets instead of any framework whatsoever?
For example, the HTTP Method and URL mapping feature of JAX-RS, but, say, without the content-type matching and conversion features.
Posted by: whartung on December 04, 2008 at 02:03 PM
-
So, it looks like we're still left without a usable security feature?
Posted by: kito75 on December 08, 2008 at 03:59 PM
-
kito75: Security enhancements are planned for the next release. However can you send me email to be more specific about "a usable security feature"?
Posted by: mode on December 08, 2008 at 04:45 PM
-
whartung: Can you be more specific about the HTTP method and URL mapping? Do you mean the uri templating support?
Posted by: mode on December 08, 2008 at 04:46 PM
|