bj Http Web Server (v0.95zxx)

about the name   Credits


JCMP, java obfuscator available (Link currently down)

viscomp.utdallas.edu is currenly down, I am in process of restoring all my stuff to geocities.

  • What is bj server?
    • bj server is a fast jspservlet engine and a stand alone http web server. It is the smallest of this kind, support a wide range of features. It can also act as a servlet/jsp engine plugin for apache or IIS via AJP.

  • Why bjServer?
    • It is free.
    • It is fast. 3 times faster then Tomcat, the standard implemention jsp engine.
    • It is portable. Runs on any machine where Java is installed (windows, Linux, UNIX, Mac, etc).
    • Great for development with features like auto reload, auto recompile of servlets/jsp
    • It is widely used. bjServer has users out side of US, which means unicode functions are also tested.
    • Great support. We fix most problems with in 24 hours.

  • Server features
    • Supports Servlet 2.3, JSP 1.2, War and tag libs.
    • Standard AJP connector for working wiht Apache and IIS.
    • Simple JSP/Servlet debugger available.
    • Automatic reload of servlet, war and jsps.
    • Ease web/form/digest based authentification for any url (config via configServlet).
    • Supports mutile-byte language input (can set language encoding for server to convert byte to char)
    • Easy server management with config servlet.
    • Supports easy servlet and war development. Drop servlets in the server class path (default htdocs/WEB-INF/classes and servlets/, you can config it to have mutiple directory for different servlet groups) and it is accessable Drop .war file in wars/ directory and it will be listed with a web context of its name (you can map it to other contexts too).
    • Auto recompile servlets if source is in server's classpath. Drop the .java file in classpath, and you can access the servlet by http://hostname/servlet/serverltClassName
    • Support CGI scripts
    • HTTPS hook provided (you need to download JSSE free from sun)
    • Virtual Path support
    • Virtual host support
    • Supports customizable error page servlet, customizable directory processing servlet.

For installation process, refer to the Installation Guide.
For how to setup servlets and .war, see FAQ



Recent changes:
Now server will automatically default to process jsp if web.xml file is deleted. Added FORCEUSEJSP to properties file. Set it to false if you don't want jsp to be parsed as jsp.
0.95zxe1 fixes cross site script bug. I don't think it is really a bug but since other servers all try to fix it, I did it too.
I got AJP connector working for Apache and IIS, Check out Ajp Howto.
Updated Mar 20, 2003, a simple debugger is also available now (very crappy, be warned) at here.

WAP files are now extracted, in defaultTmp\htdocs\bajieWarDir. Set WAREXCATOVERRIDE=false in config/jzHttpSrv.properties so your extracted war files won't be write over everytime server starts.
jars in /lib directory will be available to WARs.



Credits




Thanks to
JOPT by Markus Jansen. The server uses jopt on both the server itself and the java compiler from sun (tools.jar) to reduce the product size.
Thanks to Bill Giel from KC Multimedia for letting me using Their tutorial code for NT service for bjServer.
The JNDI code is initially created by a striped version of Tomcat JNDI implemention.


Feel free to contact me gzhangx@hotmail.com to report bugs




















Download

New Benchmark

Installation Guide

Quick&Simple Jsp Tutorial

trouble shooting

Quick Howto File FAQ

History

Known Bugs

Security issues