<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>littleforest &#187; Java</title>
	<atom:link href="http://www.littleforest.co.uk/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.littleforest.co.uk</link>
	<description>The littleforest Weblog</description>
	<lastBuildDate>Fri, 05 Nov 2010 08:01:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Read a Single XML File in Java</title>
		<link>http://www.littleforest.co.uk/articles/jave-read-a-single-xml-file/</link>
		<comments>http://www.littleforest.co.uk/articles/jave-read-a-single-xml-file/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 13:04:40 +0000</pubDate>
		<dc:creator>Michael Thomas</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[dcr]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XSL]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/?p=188</guid>
		<description><![CDATA[The following should complement the supplied article for reading XML files (DCRs) based on a directory.  This will read the contents of a singe file

package com.littleforest.examples;
&#160;
import com.interwoven.livesite.dom4j.Dom4jUtils;
import com.interwoven.livesite.external.ParameterHash;
import com.interwoven.livesite.runtime.RequestContext;
import com.interwoven.livesite.external.*;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.*;
import org.dom4j.*;
import java.util.Properties; /* Added for proxy use */
import java.io.IOException;
import com.interwoven.livesite.file.FileDALIfc; /* Added to avoid use of CDATA write */
&#160;
public class [...]]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/articles/jave-read-a-single-xml-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Read List of XML Files from Directory Tree in Java</title>
		<link>http://www.littleforest.co.uk/articles/java-read-list-of-xml-files-present-directory-downwards/</link>
		<comments>http://www.littleforest.co.uk/articles/java-read-list-of-xml-files-present-directory-downwards/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 12:51:29 +0000</pubDate>
		<dc:creator>Michael Thomas</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/?p=187</guid>
		<description><![CDATA[This is a TeamSite 6.7.2/LiveSite 3.1 compliant mechanism that can be used to read all DCR files into a single XML files for further processing:

&#160;
package com.littleforest.examples;
&#160;
import com.interwoven.livesite.dom4j.Dom4jUtils;
import com.interwoven.livesite.external.ParameterHash;
import com.interwoven.livesite.runtime.RequestContext;
import com.interwoven.livesite.file.FileDALIfc;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.*;
import org.dom4j.*;
import java.util.Properties; /* Added for proxy use */
import com.interwoven.livesite.external.*;
import java.io.IOException;
&#160;
public class xmlFileListContents &#123;
&#160;
public Document fetchTree&#40;RequestContext context&#41;
&#123;
//look in ALL directories
Document doc [...]]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/articles/java-read-list-of-xml-files-present-directory-downwards/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Referencing Hello World Java Class in LiveSite External Component</title>
		<link>http://www.littleforest.co.uk/livesite/hello_world-ref-in-livesite/</link>
		<comments>http://www.littleforest.co.uk/livesite/hello_world-ref-in-livesite/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 14:43:09 +0000</pubDate>
		<dc:creator>Yusuf Ali</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[LiveSite]]></category>
		<category><![CDATA[Yusuf Ali]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/?p=178</guid>
		<description><![CDATA[Now that we have Hello.Java created as a class.  Please refer to the blog
Creating a “Hello World” LiveSite Java External
I will demonstrate below how the class would be utilised in a LiveSite component.
- Create a component (name the component what ever you would like it to be)
- Select the component as XML/XSL format
- In Content [...]]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/livesite/hello_world-ref-in-livesite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling Java Classes in LiveSite 3.0.2</title>
		<link>http://www.littleforest.co.uk/teamsite/complie_java_in_livesite_302/</link>
		<comments>http://www.littleforest.co.uk/teamsite/complie_java_in_livesite_302/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 13:12:57 +0000</pubDate>
		<dc:creator>Yusuf Ali</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[LiveSite]]></category>
		<category><![CDATA[TeamSite]]></category>
		<category><![CDATA[Yusuf Ali]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/?p=176</guid>
		<description><![CDATA[Java classes created in TeamSite &#38; LiveSite reference many other Java files.  These files are located in a different directory of TeamSite, so are referred to as external files to the location where Java classes.
The problem with compiling a Java class comes when the Java file to be compiled looks for these reference files, but [...]]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/teamsite/complie_java_in_livesite_302/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting MultipleSelect values in a Java External</title>
		<link>http://www.littleforest.co.uk/livesite/getting-multipleselect-values-in-a-java-external/</link>
		<comments>http://www.littleforest.co.uk/livesite/getting-multipleselect-values-in-a-java-external/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 22:24:50 +0000</pubDate>
		<dc:creator>Rajendra Shekhawat</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[LiveSite]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/?p=123</guid>
		<description><![CDATA[It is often useful to setup a &#8220;Multi-Select Datum&#8221; in a LiveSite component, but how do you write the Java external to receive this array of parameters?
The following code snippet from Raj Shekhawat shows you how:

//LiveSite returns Multiple select values in the form of ArrayList object
//Searchproperties is my parameter name
 ArrayList selectedProperties= &#40;ArrayList&#41; context.getParameters&#40;&#41;.get&#40;&#34;SearchProperties&#34;&#41;; 
&#160;
String [...]]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/livesite/getting-multipleselect-values-in-a-java-external/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Just Compile&#8221; &#8211; how to minimise disruptions when compiling Java</title>
		<link>http://www.littleforest.co.uk/livesite/just-compile-how-to-minimise-disruptions-when-compiling-java/</link>
		<comments>http://www.littleforest.co.uk/livesite/just-compile-how-to-minimise-disruptions-when-compiling-java/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 12:43:31 +0000</pubDate>
		<dc:creator>Gavin Colborne</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[LiveSite]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/stream/?p=67</guid>
		<description><![CDATA[To make things a little less disruptive on development servers I recommend using a simple &#8220;compile&#8221; script for running any Java code.
This is good to do to check that all compiles ok before running a &#8220;build.sh&#8221; (which takes down the TeamSite UI for a minute or so
and so disrupts any other work being done on [...]]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/livesite/just-compile-how-to-minimise-disruptions-when-compiling-java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a &#8220;Hello World&#8221; LiveSite Java External</title>
		<link>http://www.littleforest.co.uk/livesite/hello-world-livesite-java-external/</link>
		<comments>http://www.littleforest.co.uk/livesite/hello-world-livesite-java-external/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 13:55:06 +0000</pubDate>
		<dc:creator>Gavin Colborne</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[LiveSite]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/stream/?p=51</guid>
		<description><![CDATA[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;
&#160;
public class Hello
&#123;
    public static Document hello&#40;RequestContext context&#41;
    &#123;
     [...]]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/livesite/hello-world-livesite-java-external/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

