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

Search

Online Books:
java.net on MarkMail:


Blog Archive for jfarcand during July 2008

There is a lot happening this summer with Grizzly. We have two new commiters, several new tutorials, a new lead and our community is growing. Happy summer from the monster... First, we have new Grizzlies commiters: John Vieten (from Conclude.com) has been active for a while, helping the community, writing tutorial and more. Shing Wai Chan (from Sun) has been improving our Bayeux support,...
Before I deep dive into the AsyncFilter API I've proposed in part 3, I've decided to show how easy is to add...PHP to your Grizzly based application with support for the Bayeux protocol. In part one, two and three, I have showed how easy is to embed the Grizzly Http Runtime and add JMX and Monitoring support. This time I would like to add PHP to the picture. Yes, PHP! A couple of months ago, my...
So far we were able to build a WebServer based on Grizzly and add JMX Support to it. Now it is time to gather statistics of what's happening inside the monster' stomach. Part I was about building synchronous and asynchronous Web Server using Grizzly Http Engine, part II demonstrated how to add JMX support and track what's happening. Let's re-use the example we used in part II: 47...
Now that we are all able to create Grizzly Web Server in less than 10 lines, let's complicate our day and add JMX management to the monster In part I, I've described how easy it is to create synchronous and asynchronous http based Web Server. One of the most complicated example was:GrizzlyWebServer ws = new GrizzlyWebServer("/var/www"); try{ ServletAdapter sa = new...
Project Grizzly provides developers with a simple and consistent mechanism for extending the functionality of the Grizzly HTTP Runtime and for bridging existing HTTP based technologies like JRuby-on-Rail, Grail, Servlet, the Bayeux Protocol or any http based protocol. There is three important classes to know when you want to extend (and embed):GrizzlyAdapter: The GrizzlyAdapter is the main...
The Grizzly users list is bombarded with questions about how to start with Comet and GlassFish v2. Here is a quick explanation... GlassFish v2 ships with Grizzly 1.0.20 (not Grizzly 1.8.0) so to easily compile your application, just download 1.0.20, and then make sure your add that jar file to your classpath. That steps should be quite trivial if you are using Netbeans or Eclipse. Then you are...
When Grizzly became a top level project on java.net, we renamed it's package from com.sun.enterprise.web.connector.grizzly to com.sun.grizzly. For the core package, the transition was quite smooth, but for Comet based application, having to rename the imported packages and then recompile was painful. Worse, building an application that works for both v2 and v3 was quite complicated, having to...