The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Blog Archive for jfarcand during June 2006

GlassFish (and SJSAS 9.0) supports a nice feature where you can add virtual-server (host) and http-listener on the fly, without having to reboot the server. You can do it using the admin GUI or the admin CLI. The admin CLI has a nice way to interact with GlassFish, so I will use it first. Let's add a new virtual-server (make sure GlassFish is running): % asadmin create-virtual-server -u admin --...
Glassfish b06 now support HTTP Compression, the same way Tomcat is supporting it. Several options are availaible (from Tomcat docs): compressableMimeType: The value is a comma separated list of MIME types for which HTTP compression may be used. The default value is text/html,text/xml,text/plain. compression: The Connector may use HTTP/1.1 GZIP compression in an attempt to save server bandwidth...
First, thanks for all the good feedback on part I. Please use the thread instead of sending me private email, as everybody can contribute to the answer (and I will not forgot to respond :-) ). Now If I can have the same kind of feedback for Grizzly code, I will be very happy (subliminal marketing here :-) ) OK this time I want to discuss the java.nio.channels.SelectionKey.attach(). I recommend...