A review of the Four Tier Annihilation method by Saj P and Alex Goad – Building multiple streams of income.
A review of the Four Tier Annihilation method by Saj P and Alex Goad – Building multiple streams of income.
r0ml explores the secret Catholic bias present in Java enterprise development. (in case the hair shirts weren’t a dead giveaway)
Kellan-Elliot-Mcrea: Laughing Meme
Programming
Patterns
Uncategorized
History
architecture
Kellan-Elliot-Mcrea
Tier
|
Sun's WebServer 7.0 provides a Java Web Tier as well as good connectivity (NSAPI, Fast-CGI) with many non-Java applications. As an example of the former, Seema also shows how to run Blojsom, which follows from Blojsom on GlassFish, as did our previously reported Phobos on Web Server. As an example of the latter, Seema describes in detail how to Run Ruby On Rails. All together, the Sun WebServer is a good Web 2.0 Platform, and it will get better as one will be able to run the latest Java Web Tier by Plugging the GlassFish Web Tier. |
Web
phobos
blojsom
glassfish
sun
Web2.0
webserver
Rails
Ruby
Tier
|
One of my favorite quotes says: "In theory there is no difference between theory and practice. In practice there is." (Yogi Berra or Jan_L._A._van_de_Snepscheut). In theory, we knew that we could plug in the GlassFish Web Tier into Sun's Web Server 7.0. And now Krishnamohan shows that there is practice to back it out! |
This means that you will be able to run your Web Tier apps from GlassFish in your Web Server. Plus all the benefits from the Sun Web Server. Good news all along.
Thanks to CVR for the tip.
|
Did you know that there is a TCL interpreter in Sun's Web Server 7.0? And it is put to good use, as shown by True Blue in this collection of detailed blog entries on WADM, starting with why TCL was chosen (this was way before jRuby came into focus at Sun), going through parts II (global variables), III (ACL), IV (log analyzer), V (access to Java objects), VI (parsing httpd.config), VII (faking a file system), and the last - so far - VIII (extensions). |
I could not find a concise quote for the Monty Python eurojoke, but here is one set of fly-in-the-soup jokes.
|
|
It seems quite a number of people are using GlassFish with the Apache HTTP Server, so a natural question, which Jean-Francois is asking is whether we should Formalize the Support. Your comments would be appreciated. |
Added: Be sure to check the "mail thread. People are reporting success with mod_jk and mod_proxy_ajp for Apache, isapi_redirect.dll for IIS and nsapi_redirect.dll for iPlanet and Sun One web server.
|
Virtual hosts (or servers) are very popular and GlassFish supports them (see SJS AS 9.0 Doc Book). The support for virtual hosts has been improving in GF V2 and early in the cycle Jean-Francois explained how to Dynamically Add them. Now Jan explains the concept of a virtual server docroot and the new flexible mechanisms in the latest builds |
Check Jan's blog for details. The SJS AS 9.0 docbook has a good chapter on this topic; just note that it uses the term "virtual server" instead of "virtual host" and "http-listener" instead of "connector".
|
Jean-Francois writes another informative article this time on adding SSL to Grizzly which uses NIO. This means that he is adding SSL over a framework that uses NIO SocketChannel (non-blocking) implementation. As he comments, SSL support has been in GlassFish since it's inception but that uses the blocking socket method. He goes over the obsticles that he faced and the solutions he came up with. He did say it was a bit like riding your bike in the snow. Doable but hard... |
|
The web tier of GlassFish is based on the Catalina architecture (from Tomcat 4.0) that provides a number of extension points. These extensions are implementation-specific but they are sometimes indispensable. Jean-Francois's latest entry provides an overview of the different extension points, check it out. The mechanism for adding the extensions is very easy, starting with GlassFish V2 b17, which will be part of Milestone 2, later this month. |
|
After many requests from users, Jean-Francois posted the Grizzly Framework in the maven repository on java.net. Included with the framework classes is a basic example. See Jean-Francois' blog for more info. Jean-Francois is currently working on enhancements to Grizzly as part of GlassFish V2 release and is asking for feedback. See his post on the GlassFish forum for more info. |
|
The Sun Java System Web Server 7.0 Technology Preview release was announced here during JavaOne. It has many cool features that will be of interest to Java developers. Krishna and Marina have published a nice how-to on building and deploying web services to Web Server 7.0 using NetBeans 5.0. Check the article out. |
|
Jan reports that Jetty Has Integrated the GlassFish JSP compiler and it has nice things to say about us. The GlassFish Team is actively supporting this reuse, typical of open source projects (see DTrace in Leopard) and it factored out the JSP compiler to make it possible to Use the JDT Compiler in JSP compilations. I expect more cross-project sharing / recombinations in the future. |
Added: Also check out Jan (Bartel)'s blog.