JHighlight is an embeddable Java syntax highlighting library that supports Java, Groovy, C++, HTML, XHTML, XML, and LZX languages and outputs to XHTML. The library can be used in several ways: embedded into another tool (for instance a blog or forum), through the command-line to generate highlighted files locally, or as a servlet filter to highlight source files on your server on-the- fly. It also supports RIFE templates tags and highlights them clearly so that you can easily identify the difference between your RIFE markup and the actual marked up source.
RIFE offers an alternative approach to web application development and design. It builds upon the Java platform, but offers all required tools and APIs to implement and perform all common Web site related tasks in a fast, intuitive, and consistent manner. RIFE is composed out of a large collection of modular parts, including a Web application engine, integrated Web continuations, a customizable multi-format template engine, support for template content transformation, and more.