Winstone Servlet Container
[
Winstone Servlet Container] 是個非常優秀的 JSP/Servlet container,您或許會問,為何要重新設計一個新的 Servlet container 呢?不是已經有 Apache Jakarta/Tomcat/Jetty 等一流的實作了嗎?我們考量的問題不在於授權 (有趣的是,Free/Open Source 的實作的確是比商業版本多),問題在於我們是否需要完整支援 J2EE 這個大怪物。
J2EE 無可諱言,引入許多傑出的設計,讓開發時程縮短,而整體的穩定度與可維護性有相當不錯的改進,並且 J2EE 本身就是 Design Patterns 相當好的典範,非常幽雅,但是,很多情況下,我們真的只需要普通的 Web content,了不起搭配一些 web services,就能應付大部分的應用了,所以簡單又強健的 JSP/Servlet container 就有其存在的必要性。
Winstone 的設計目標如下:
- Supply fast, reliable servlet container functionality for a single webapp per server
- Keep the size of the core distribution jar as low as possible (currently 138KB)
- Keep configuration files to an absolute minimum, using command line options to optionally override sensible compiled in defaults.
- Eventually compile with GCJ to make a 3-4Meg windows exe for local development/deployment of servlets. This has not happened yet, because of some GCJ class loading problems.
- Optionally support JSP compilation using Apache's Jasper. (http://jakarta.apache.org)
而剛剛也用開發中的 KaffeVM 作測試,不需要任何修改就可以運作,而且效能還不錯,詳情可參考 [
Winstone Servlet Container runs on Kaffe]。
Just Kaffe it!
由 jserv 發表於 January 30, 2005 10:43 PM