Skip to main content

Blog Archive for survivant during December 2008

With Grizzly it can be simple to create a server and client with a few lines changes. I want to show you how you can create or convert a server to a client without to much troubles. I will use ProtocolChain in the server. For the client there are two ways to create it using the logic of the server. You can use the ProtocolChain or use a CallbackHandler. I'll show you how to create the...
I needed to parse a web.xml for a sample for Grizzly and I wanted to find a way to have something that I can reuse later.  You don't have to do it by hand.  There are tools out there to do it for you. One of them is XMLBeans from Apache group and more popular is JAXB.  For JDK 1.4 ,I used XMLBeans and if you have JDK6 JAXB will reduce the dependencies and will be more smaller....
I found a really nice taglib to generate html table for my JSP  :DisplayTag.  What I like about DisplayTag is that the most common features are buildin : Sort, Pagination, Export to Excel...  Before that I had to do it each time, and it's not really productive and worst.. the code can easily be broke by others developpers. I'll show you how to create a search page using Struts with...