• Get the Flash Player to see the slideshow.
  • Categories

  • Authors

  • Great Quotes

    Honest differences are often a healthy sign of progress. — Mahatma Gandhi

Get in touch...

To have a chat about
your CMS needs...

Call us 0207 193 2014
or
Email us on

Creating a “Hello World” LiveSite Java External

July 4th, 2008 by Gavin Colborne

I wanted to demonstrate the bare bones Hello World for LiveSite 3.x Java External Component, so here it is (if you can reduce this to being even simpler then please let us know):

package com.littleforest.examples;
import com.interwoven.livesite.dom4j.Dom4jUtils;
import com.interwoven.livesite.runtime.RequestContext;
import org.dom4j.Document;
 
public class Hello
{
    public static Document hello(RequestContext context)
    {
        Document doc = Dom4jUtils.newDocument("<hello/>");
 
        return doc;
    }
 
}

Leave a Reply

You must be logged in to post a comment.