/, LiveSite/Creating a “Hello World” LiveSite Java External

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("");

        return doc;
    }

}
By |2008-07-04T14:55:06+00:00July 4th, 2008|Java, LiveSite|0 Comments

About the Author: