System News
"Best Practices for Deploying TWiki Software on GlassFish Application Server Using LRWPinJava"
Sun BluePrints Online Article
May 22, 2009,
Volume 135, Issue 3

The solution using GlassFish software and LRWPinJava in persistent mode is twice as fast as the Apache software, and is comparable to the Apache software when run in fork mode.

-- Nagendra Nagarajayya, Sun ISV Engineering
 

The Sun BluePrints Online article provides an inside look into the best practices for deploying TWiki software on GlassFish, an open source application server. Users can run up to twice the speed of Apache HTTP Server software when they use Java technology, long-running Web process (LRWP) protocol on the Solaris Operating System (OS). Imagine the ability to accommodate a greater number of users along with a reduced system overhead.

"TWiki is a popular free and open source enterprise wiki, collaboration platform, and knowledge management system. Written in Perl, it runs as a cgi-bin application," said Nagendra Nagarajayya, Sun ISV Engineering.

The principle behind employing TWiki software on GlassFish is based on accommodating the needs to provide websites that use open source applications to set up.

As social networking websites become more popular, alternative free and open source solutions are being deployed for these applications, such as with TWiki software. Currently, many websites use the Linux operating system and Apache HTTP Server. However, TWiki software is becoming a popular way that uses open source to deploy these social networking and collaboration environments.

"The solution using GlassFish software and LRWPinJava in persistent mode is twice as fast as the Apache software, and is comparable to the Apache software when run in fork mode," said Nagarajayya.

Contents

  • Introduction
  • Greater efficiency with TWiki software and LRWPinJava
  • TWiki, GlassFish Application Server, and the LR WPinJava Protocol
  • How LRWPinJava works
  • Handling potential problems
  • Deploying TWiki Software on the GlassFish Application Server
  • Installing GlassFish application server
  • Installing Perl
  • Perl modules
  • Installing missing Perl modules
  • Installing and deploying LRWPinJava
  • Starting and stopping cgi-wrappers
  • Installing, deploying, and configuring TWiki software
  • Measuring TWiki Performance with GlassFish Application Server and LR WPinJava
  • Test environment
  • Test methodology
  • Test results
  • Performance statistics
  • Analysis of results
  • For More Information, About the author, Acknowledgments, References
  • Ordering Sun documents, Accessing Sun documentation online
  • GlassFish Application Server Configuration
  • Apache Configuration
  • Jython Test Scripts and How to Run the Tests
  • Performance Details - TWiki on Apache HTTP Server with cgi-bin
  • Performance Details - TWiki on GlassFish with LR WPinJava in Fork Mode
  • Performance Details - TWiki on GlassFish with LR WPinJava in Persistent Mode
  • Installing Perl

About the Author

Nagendra Nagarajayya, with 14 plus years with Sun, is a Staff Engineer in ISV Engineering who works with independent software vendors (ISVs) in the telecommunications industry.

More Information

Best Practices for Deploying TWiki Software on GlassFish Application Server Using LRWPinJava (Sun registration/login is required)

Sun: Free and Open Source Software

Open Source TWiki.org Project Now Powered by Sun

Project SocialSite for Building Widgets and Web Services

Using OpenSSO To Protect Java EE Applications

How to Optimize GlassFish Performance

GlassFish versus Oracle: Application Server Price/Performance Results

Release of Portal Pack 3.0 [...read more...]

Keywords:

fullsource
 

Other articles in the Java Technology section of Volume 135, Issue 3:
  • "Best Practices for Deploying TWiki Software on GlassFish Application Server Using LRWPinJava" (this article)

See all archived articles in the Java Technology section.



News and Solutions for Users of Solaris, Java and Oracle's Sun hardware products
Just the news you need, none of what you don't – 42,000+ Members – 24,000+ Articles Published since 1998