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

Search

Online Books:
java.net on MarkMail:


Blog Archive for jfarcand during January 2007

GlassFish v2 just hit beta candidate (the beta release date is Feb 26th) and I'm taking the opportunity to describe a couple of new features we have added for that release:Grizzly now support Comet processing (here and here). Comet is a programming technique that enables web servers to send data to the client without the client needing to request it.Improved Virtual Server (Host) support (here...
Choosing the right byte buffer is not simple. Correct me if I'm wrong, but there is little documentation about which type of byte buffer to choose when writing scalable server. So here is some informal observations I've made when using the Grizzly WebServer There is three types of byte buffer: Direct Byte Buffer [ByteBuffer.allocateDirect()]: Given a direct byte buffer, the Java virtual machine...
I'm getting a lot of questions those days about how to configure Grizzly to get the best performance. In part I, I will share what we have learned so far(thanks to Scott for his help!) First, if you are using Grizzly in GlassFish, makes sure you remove in domain.xml the following jvm-options:-Xmx512 -client -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.rmi.dgc.client.gcInterval=3600000 and...