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;
}
}