<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5970576151306495042</id><updated>2011-07-30T17:33:27.671-04:00</updated><category term='Web Container'/><category term='Servlets'/><category term='ARD'/><category term='Asynchronous Request Dispatcher'/><category term='WebSphere'/><title type='text'>Maximum WebSphere Overdrive</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://maximmoldenhauer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://maximmoldenhauer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Maxim Moldenhauer</name><uri>http://www.blogger.com/profile/05253070933246111854</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5970576151306495042.post-4586743279684036715</id><published>2010-03-31T09:25:00.003-04:00</published><updated>2010-03-31T09:29:03.041-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Servlets'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere'/><category scheme='http://www.blogger.com/atom/ns#' term='ARD'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Container'/><category scheme='http://www.blogger.com/atom/ns#' term='Asynchronous Request Dispatcher'/><title type='text'>Asynchronous Request Dispatcher Quick Start Guide</title><content type='html'>This is a quick guide to get started with the IBM Asynchronous Request Dispatcher (ARD)&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Configure the server to support ARD.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to Servers-&gt;Server Types-&gt;WebSphere Application Servers-&gt;yourServer-&gt;Web Container Settings-&gt;Web Container-&gt; Asynchronous Request Dispatching.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Click check box for Allow Asynchronous Request Dispatcher.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Click OK and save.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Code up your asynchronous include:&lt;br /&gt;((IBMServletContext)getServletContext().getContext("/YourContext")).getAsyncRequestDispatcher("/YourServlet").include(request,response);&lt;br /&gt;&lt;br /&gt;You can also retrieve an include and insert it later in the page as such:&lt;br /&gt;AsyncRequestDispatcher dispatcher1 = ((IBMServletContext)getServletContext().getContext("/YourContext")).getAsyncRequestDispatcher("/YourServlet");&lt;br /&gt;FragmentResponse response1 = dispatcher1.getFragmentResponse(request,response);&lt;br /&gt;...&lt;br /&gt;response1.insertFragmentBlocking(request,response);&lt;br /&gt;   &lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Install your ear as detailed below:&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select server side or client side under "Asynchronous Request Dispatch Type" in Step 1 of the app install panels&lt;br /&gt; Server side will aggregate the includes in memory.&lt;br /&gt; Client side will aggregate on client side using javascript.&lt;br /&gt; I suggest using client side so you can verify its working more easily.&lt;br /&gt; To verify, just hit your servlet and click on the page and view source and you should see the javascript added to retrieve the include.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;You can contact me on linkedin for more information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5970576151306495042-4586743279684036715?l=maximmoldenhauer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maximmoldenhauer.blogspot.com/feeds/4586743279684036715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5970576151306495042&amp;postID=4586743279684036715' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/4586743279684036715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/4586743279684036715'/><link rel='alternate' type='text/html' href='http://maximmoldenhauer.blogspot.com/2010/03/asynchronous-request-dispatcher-quick.html' title='Asynchronous Request Dispatcher Quick Start Guide'/><author><name>Maxim Moldenhauer</name><uri>http://www.blogger.com/profile/05253070933246111854</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5970576151306495042.post-8010102653975865505</id><published>2009-06-03T14:52:00.000-04:00</published><updated>2009-06-03T15:00:24.661-04:00</updated><title type='text'>Servlet 3.0 at java one</title><content type='html'>Just popping in for a few comments. If anyone saw the servlet 3.0 presentation, you'd know Jan, Rajiv, and Greg did a great job. I did notice a point of disagreement with greg. He mentioned that the simplest case of async servlets is startAsync followed by a dispatch to generate the response. I would argue that startAsync/complete is the simplest case. This requires no re-dispatch and a re-dispatch should not be needed unless you need something like jsp to do more complex content generation.&lt;br /&gt;&lt;br /&gt;Also, it was not mentioned that the web fragment ordering effects and restricts annotation scanning as far as I recall. This is important to be able to prevent "rogue" framework jars from putting out servlets that can service requests without your knowledge&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5970576151306495042-8010102653975865505?l=maximmoldenhauer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maximmoldenhauer.blogspot.com/feeds/8010102653975865505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5970576151306495042&amp;postID=8010102653975865505' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/8010102653975865505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/8010102653975865505'/><link rel='alternate' type='text/html' href='http://maximmoldenhauer.blogspot.com/2009/06/servlet-30-at-java-one.html' title='Servlet 3.0 at java one'/><author><name>Maxim Moldenhauer</name><uri>http://www.blogger.com/profile/05253070933246111854</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5970576151306495042.post-4180664357003523941</id><published>2008-12-18T10:47:00.002-05:00</published><updated>2008-12-18T14:20:40.583-05:00</updated><title type='text'>WebSphere Asynchronous Request Dispatcher</title><content type='html'>Please check out my blog on the Asynchronous Request Dispatcher introduced in Version 7.&lt;br /&gt;&lt;a href="http://webspherecommunity.blogspot.com/2008/10/asynchronous-request-dispatching-part-1.html"&gt;Part 1&lt;/a&gt;, &lt;a href="http://webspherecommunity.blogspot.com/2008/10/asynchronous-request-dispaching-part-2.html"&gt;Part 2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5970576151306495042-4180664357003523941?l=maximmoldenhauer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maximmoldenhauer.blogspot.com/feeds/4180664357003523941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5970576151306495042&amp;postID=4180664357003523941' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/4180664357003523941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/4180664357003523941'/><link rel='alternate' type='text/html' href='http://maximmoldenhauer.blogspot.com/2008/12/websphere-asynchronous-request.html' title='WebSphere Asynchronous Request Dispatcher'/><author><name>Maxim Moldenhauer</name><uri>http://www.blogger.com/profile/05253070933246111854</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5970576151306495042.post-3707471599935931942</id><published>2008-12-16T13:03:00.001-05:00</published><updated>2008-12-16T13:04:36.681-05:00</updated><title type='text'>WebSphere Community Blog</title><content type='html'>Please go to the &lt;a href="http://webspherecommunity.blogspot.com"&gt;WebSphere Community Blog&lt;/a&gt; to see some of the great things we have in Version 7.0 of WebSphere Application Server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5970576151306495042-3707471599935931942?l=maximmoldenhauer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maximmoldenhauer.blogspot.com/feeds/3707471599935931942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5970576151306495042&amp;postID=3707471599935931942' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/3707471599935931942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/3707471599935931942'/><link rel='alternate' type='text/html' href='http://maximmoldenhauer.blogspot.com/2008/12/websphere-community-blog.html' title='WebSphere Community Blog'/><author><name>Maxim Moldenhauer</name><uri>http://www.blogger.com/profile/05253070933246111854</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5970576151306495042.post-5881086107158858119</id><published>2008-12-16T13:00:00.003-05:00</published><updated>2008-12-17T09:42:47.975-05:00</updated><title type='text'>Servlet 3.0 Public Draft</title><content type='html'>This is in response to &lt;a href="http://blogs.webtide.com/gregw/entry/servlet_3_0_public_review"&gt;Greg Wilkins's blog&lt;/a&gt; about the Servlet 3.0 Public Draft.&lt;br /&gt;&lt;br /&gt;We have discussed some of the use cases on the EG for things you have said do not have use cases. However, they are not in the Servlet spec and I think they should be. Also, I think your criticism of the JCP should be separate from your arguments about the Servlet spec. They are two different issues and when they are put together it just invites more defensiveness on the part of folks who have a higher interest in making JCP successful. Fixing the JCP is not something that's going to be fixed before we decide on a Final Draft, so I hope we can simply focus on the servlet issues at hand.&lt;br /&gt;&lt;br /&gt;I'm not personally a huge fan of using forward semantics in the async case especially because it clears out any content already written which seems like a prime candidate for a reason to keep the wrappers. However, I do think it is better than not having any redispatch ability at all.&lt;br /&gt;&lt;br /&gt;I still agree there should be a mechanism for excluding/including jars you need to scan for framework pluggability. However, that is not a showstopper for me and can certainly be a value add feature of any app server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5970576151306495042-5881086107158858119?l=maximmoldenhauer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maximmoldenhauer.blogspot.com/feeds/5881086107158858119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5970576151306495042&amp;postID=5881086107158858119' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/5881086107158858119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5970576151306495042/posts/default/5881086107158858119'/><link rel='alternate' type='text/html' href='http://maximmoldenhauer.blogspot.com/2008/12/servlet-30-public-draft.html' title='Servlet 3.0 Public Draft'/><author><name>Maxim Moldenhauer</name><uri>http://www.blogger.com/profile/05253070933246111854</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
