<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>IT Stuff</title>
	<atom:link href="http://rscreeney.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rscreeney.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 22 Jan 2007 22:18:40 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='rscreeney.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/9c1ad69be2cd49c1e6135fb88b41f0b1?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>IT Stuff</title>
		<link>http://rscreeney.wordpress.com</link>
	</image>
			<item>
		<title>Checked vs. Runtime Exceptions in Java</title>
		<link>http://rscreeney.wordpress.com/2007/01/22/checked-vs-runtime-exceptions-in-java/</link>
		<comments>http://rscreeney.wordpress.com/2007/01/22/checked-vs-runtime-exceptions-in-java/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 12:07:24 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[exceptions]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://rscreeney.wordpress.com/2007/01/22/checked-vs-runtime-exceptions-in-java/</guid>
		<description><![CDATA[Good article on Effective Java Exceptions &#8211; http://dev2dev.bea.com/pub/a/2006/11/effective-exceptions.html
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=18&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Good article on Effective Java Exceptions &#8211; <a href="http://dev2dev.bea.com/pub/a/2006/11/effective-exceptions.html">http://dev2dev.bea.com/pub/a/2006/11/effective-exceptions.html</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=18&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2007/01/22/checked-vs-runtime-exceptions-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote Unix commands from Java</title>
		<link>http://rscreeney.wordpress.com/2007/01/08/remote-unix-commands-from-java/</link>
		<comments>http://rscreeney.wordpress.com/2007/01/08/remote-unix-commands-from-java/#comments</comments>
		<pubDate>Mon, 08 Jan 2007 15:49:34 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://rscreeney.wordpress.com/2007/01/08/remote-unix-commands-from-java/</guid>
		<description><![CDATA[This post shows a simple java class which allows you to run unix commands on a remote server.  Java Secure Chanel (JSch) library is used to run the commands. JSch is used in Ant and Eclipse. The only third party library required is jsch-0.x.x.jar.

package com.demo.jsch;

import com.jcraft.jsch.Channel;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.JSchException;
import com.jcraft.jsch.Session;
import com.jcraft.jsch.UserInfo;

public class ShellExample {

  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=17&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This post shows a simple java class which allows you to run unix commands on a remote server.  <a href="http://www.jcraft.com/jsch/index.html" title="Java Secure Chanel" target="_blank">Java Secure Chanel</a> (JSch) library is used to run the commands. JSch is used in <a href="http://ant.apache.org/" title="Ant" target="_blank">Ant </a>and <a href="http://www.eclipse.org/" title="Eclipse" target="_blank">Eclipse</a>. The only third party library required is jsch-0.x.x.jar.</p>
<pre>
package com.demo.jsch;

import com.jcraft.jsch.Channel;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.JSchException;
import com.jcraft.jsch.Session;
import com.jcraft.jsch.UserInfo;

public class ShellExample {

  public static void main(String[] args) {

    String user = "username";
    String host = "servername";

    JSch jsch = new JSch();

    try {

      Session session = jsch.getSession(user, host, 22);

      UserInfo userInfo = new MyUserInfo();
      session.setUserInfo(userInfo);
      session.connect(30000);

      Channel channel = session.openChannel("shell");
      channel.setInputStream(System.in);
      channel.setOutputStream(System.out);
      channel.connect(3 * 1000);

    } catch (JSchException e) {
      e.printStackTrace();
    }

}

  public static class MyUserInfo implements UserInfo {

    public String getPassword() {
      return "password";
    }

    public String getPassphrase() {
      return "";
    }

    public boolean promptPassword(String arg0) {
      return true;
    }

    public boolean promptPassphrase(String arg0) {
      return true;
    }

    public boolean promptYesNo(String arg0) {
      return true;
    }

    public void showMessage(String arg0) {
    }

  }

}</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=17&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2007/01/08/remote-unix-commands-from-java/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>
	</item>
		<item>
		<title>Laszlo &#8211; Simple Web Service</title>
		<link>http://rscreeney.wordpress.com/2006/09/19/laszlo-simple-web-service/</link>
		<comments>http://rscreeney.wordpress.com/2006/09/19/laszlo-simple-web-service/#comments</comments>
		<pubDate>Tue, 19 Sep 2006 09:34:25 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Laszlo]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://rscreeney.wordpress.com/2006/09/19/laszlo-simple-web-service/</guid>
		<description><![CDATA[This post shows a simple example of a Laszlo web service. It uses the xfire web service created in this post. The user enters a symbol and clicks Get Quote, laszlo makes a call to the webservice to retrieve a quote for the symbol. The laszlo documentation describes the use of soap in laszlo applications.
This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=13&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This post shows a simple example of a Laszlo web service. It uses the xfire web service created in this <a href="http://rscreeney.wordpress.com/2006/09/12/web-service-with-spring-and-xfire/">post</a>. The user enters a symbol and clicks Get Quote, laszlo makes a call to the webservice to retrieve a quote for the symbol. The <a href="http://www.laszlosystems.com/lps-3.3/docs/guide/rpc-soap.html" title="Laszlo Soap Documentation">laszlo documentation</a> describes the use of soap in laszlo applications.</p>
<p>This is a screenshot of the laszlo page:</p>
<p style="text-align:center;"><img src="http://static.flickr.com/93/247318252_6f5d198998_o.png" alt="Stock Quote Screen Shot" border="2" height="146" width="189" /></p>
<pre>&lt;canvas debug="true"&gt;

&lt;soap name="stockquote"
  wsdl="http://localhost:8080/xfire-stockquote/services/StockQuote?wsdl"&gt;

&lt;!-- Method to make a document for SOAP message requests --&gt;
&lt;method name="makegetQuoteDoc" args="symbol"&gt;
	Debug.write('Entering makegetQuoteDoc function');
&lt;![CDATA[
    var s =  '&lt;getStockQuote xmlns="http://localhost:8080/xfire-stockquote/services/stockQuote" &gt;&lt;security&gt;'+symbol+'&lt;/security&gt;&lt;/getStockQuote&gt;';

Debug.write(s);
    return s;
]]&gt;
&lt;/method&gt;

&lt;handler name="onload"&gt;
    // make buttons visible once SOAP object is loaded
		canvas.buttons.setAttribute('visible', true);
		Debug.write('StockQuote soap service loaded');
    Debug.write('StockQuote WSDL at ' + this.wsdl);
    Debug.write('proxy:');
    Debug.inspect(this.proxy);
&lt;/handler&gt;

&lt;handler name="onerror" args="error"&gt;
    Debug.write('error:', error);
&lt;/handler&gt;

&lt;handler name="ontimeout" args="error"&gt;
    Debug.write('timeout:', error);
&lt;/handler&gt;

&lt;remotecall funcname="getStockQuote" &gt;
  &lt;param value="${ canvas.stockquote.makegetQuoteDoc(symbol.text) }" /&gt;
  &lt;method event="ondata" args="value"&gt;
		    Debug.write("Got data!");
		    result.setText(value);
  &lt;/method&gt;
&lt;/remotecall&gt;

&lt;/soap&gt;

&lt;view name="buttons" x="10" y="10" visible="false" layout="spacing: 10" &gt;
&lt;text&gt;&lt;b&gt;Stock Quote Service&lt;/b&gt;&lt;/text&gt;
&lt;view layout="axis: x" &gt;&lt;text y="3"&gt;Symbol:&lt;/text&gt;&lt;edittext id="symbol" text="IBM"/&gt;&lt;/view&gt;
&lt;view layout="axis: x" &gt;&lt;text&gt;Result:&lt;/text&gt;&lt;text id="result"/&gt;&lt;/view&gt;

&lt;button text="Get Quote" onclick="canvas.stockquote.getStockQuote.invoke()" /&gt;

&lt;/view&gt;

&lt;/canvas&gt;</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=13&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2006/09/19/laszlo-simple-web-service/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>

		<media:content url="http://static.flickr.com/93/247318252_6f5d198998_o.png" medium="image">
			<media:title type="html">Stock Quote Screen Shot</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Service with Spring and XFire</title>
		<link>http://rscreeney.wordpress.com/2006/09/12/web-service-with-spring-and-xfire/</link>
		<comments>http://rscreeney.wordpress.com/2006/09/12/web-service-with-spring-and-xfire/#comments</comments>
		<pubDate>Tue, 12 Sep 2006 16:23:16 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[xfire]]></category>

		<guid isPermaLink="false">http://rscreeney.wordpress.com/2006/09/12/web-service-with-spring-and-xfire/</guid>
		<description><![CDATA[In a previous post I looked at how a simple quote web service with XFire. This post will implement the same webservice using XFire and Spring.
WEB-INF/web.xml
Configure the xfire dispatcher servlet and the spring config files in the web.xml
&#60;context-param&#62;
	&#60;param-name&#62;contextConfigLocation&#60;/param-name&#62;
	&#60;param-value&#62;/WEB-INF/applicationContext.xml
	classpath:org/codehaus/xfire/spring/xfire.xml&#60;/param-value&#62;
&#60;/context-param&#62;

&#60;listener&#62;
	&#60;listener-class&#62;org.springframework.web.context.ContextLoaderListener&#60;/listener-class&#62;
&#60;/listener&#62;

&#60;servlet&#62;
	&#60;servlet-name&#62;xfire&#60;/servlet-name&#62;
	&#60;servlet-class&#62;org.springframework.web.servlet.DispatcherServlet&#60;/servlet-class&#62;
&#60;/servlet&#62;

&#60;servlet-mapping&#62;
	&#60;servlet-name&#62;xfire&#60;/servlet-name&#62;
	&#60;url-pattern&#62;/*&#60;/url-pattern&#62;
&#60;/servlet-mapping&#62;
WEB-INF/applicationContext.xml
Configure the service class in the applicationContext.xml file:
&#60;beans&#62;
    &#60;bean id="stockQuoteService" class="demo.xfire.service.StockQuoteServiceImpl"/&#62;
&#60;/beans&#62;
 WEB-INF/xfire-servlet.xml
Configure a SimpleUrlHandlerMapping and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=9&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In a previous <a href="http://rscreeney.wordpress.com/2006/08/31/simple-web-service-with-xfire/">post</a> I looked at how a simple quote web service with XFire. This post will implement the same webservice using XFire and Spring.</p>
<p><strong>WEB-INF/web.xml</strong></p>
<p>Configure the xfire dispatcher servlet and the spring config files in the web.xml</p>
<pre>&lt;context-param&gt;
	&lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
	&lt;param-value&gt;/WEB-INF/applicationContext.xml
	classpath:org/codehaus/xfire/spring/xfire.xml&lt;/param-value&gt;
&lt;/context-param&gt;

&lt;listener&gt;
	&lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
&lt;/listener&gt;

&lt;servlet&gt;
	&lt;servlet-name&gt;xfire&lt;/servlet-name&gt;
	&lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
&lt;/servlet&gt;

&lt;servlet-mapping&gt;
	&lt;servlet-name&gt;xfire&lt;/servlet-name&gt;
	&lt;url-pattern&gt;/*&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt;</pre>
<p><strong>WEB-INF/applicationContext.xml</strong></p>
<p>Configure the service class in the applicationContext.xml file:</p>
<pre>&lt;beans&gt;
    &lt;bean id="stockQuoteService" class="demo.xfire.service.StockQuoteServiceImpl"/&gt;
&lt;/beans&gt;</pre>
<p><strong> WEB-INF/xfire-servlet.xml</strong></p>
<p>Configure a SimpleUrlHandlerMapping and an XFireExporter to expose the methods of our service class:</p>
<pre>&lt;bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&gt;
	&lt;property name="urlMap"&gt;
		&lt;map&gt;
			&lt;entry key="/StockQuoteService"&gt;
				&lt;ref bean="stockQuote"/&gt;
			&lt;/entry&gt;
		&lt;/map&gt;
	&lt;/property&gt;
&lt;/bean&gt;

&lt;bean id="stockQuote" class="org.codehaus.xfire.spring.remoting.XFireExporter"&gt;
	&lt;property name="serviceFactory"&gt;
		&lt;ref bean="xfire.serviceFactory"/&gt;
	&lt;/property&gt;
	&lt;property name="xfire"&gt;
		&lt;ref bean="xfire"/&gt;
	&lt;/property&gt;
	&lt;property name="serviceBean"&gt;
		&lt;ref bean="stockQuoteService"/&gt;
	&lt;/property&gt;
	&lt;property name="serviceClass"&gt;
		&lt;value&gt;demo.xfire.service.StockQuoteService&lt;/value&gt;
	&lt;/property&gt;
&lt;/bean&gt;</pre>
<p><strong>Service interface</strong></p>
<pre>public interface StockQuoteService {
  public Float getStockQuote(String security);
}</pre>
<p><strong>Service Implementation</strong></p>
<pre>public class StockQuoteServiceImpl {

protected final Log log = LogFactory.getLog(getClass());

public Float getStockQuote(String security)
  {
    Random rand = new Random();
    log.debug("Retrieving quote for "+ security);
    return new Float(rand.nextInt(101));
  }
}</pre>
<p><strong>Testing</strong></p>
<p>After the demo application has been deployed the url will be similar to http://localhost:8080/xfire-spring-demo/StockQuoteService?wsdl for tomcat.</p>
<p>To run requests against the web service you could use <a href="http://www.soapui.org/">soapUI</a>.</p>
<p><strong>The Code</strong></p>
<p>You can download the war file with the code here <a href="http://www.redbrick.dcu.ie/~reeney/xfire-spring-stockquote.war">xfire-spring-stockquote.war</a></p>
<p>If you are not using Tomcat you need to change the location of the log file in the log4j.properties file.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=9&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2006/09/12/web-service-with-spring-and-xfire/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Properties Files in Mule Configuration</title>
		<link>http://rscreeney.wordpress.com/2006/09/07/using-properties-files-in-mule-configuration/</link>
		<comments>http://rscreeney.wordpress.com/2006/09/07/using-properties-files-in-mule-configuration/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 14:40:17 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[mule]]></category>

		<guid isPermaLink="false">http://rscreeney.wordpress.com/2006/09/07/using-properties-files-in-mule-configuration/</guid>
		<description><![CDATA[In a previous post I looked at how to use quartz to trigger events in mule &#8211; we had a cron expression which dictated when an event occurred. This post explains how to externalise this cron expression to a properties file.
We create a properties file (application.properties) with the cron expression. This properties file should be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=12&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In a previous <a href="http://rscreeney.wordpress.com/2006/09/01/using-quartz-to-trigger-events-in-mule/">post</a> I looked at how to use quartz to trigger events in mule &#8211; we had a cron expression which dictated when an event occurred. This post explains how to externalise this cron expression to a properties file.</p>
<p>We create a properties file (application.properties) with the cron expression. This properties file should be on the classpath.</p>
<pre>cron.expression=0 24 15 * * ?</pre>
<p>First we reference our properties file in the mule config:</p>
<pre>&lt;environment-properties&gt;
  &lt;file-properties location="application.properties"/&gt;
&lt;/environment-properties&gt;</pre>
<p>We can then use the same syntax as <a href="http://www.springframework.org/" title="Spring">Spring</a> to acces the parameter in the properties file:</p>
<pre>&lt;endpoint name="quartz.in" address="quartz:/myService"&gt;
  &lt;properties&gt;
    &lt;property name="cronExpression" value="${cron.expression}" /&gt;
  &lt;/properties&gt;
&lt;/endpoint&gt;</pre>
<p>This example shows how to externalise configuration properties to a properties file.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=12&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2006/09/07/using-properties-files-in-mule-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>
	</item>
		<item>
		<title>Using environment variable to control the location of log files in Tomcat</title>
		<link>http://rscreeney.wordpress.com/2006/09/06/using-environment-variable-to-control-the-location-of-log-files-in-tomcat/</link>
		<comments>http://rscreeney.wordpress.com/2006/09/06/using-environment-variable-to-control-the-location-of-log-files-in-tomcat/#comments</comments>
		<pubDate>Wed, 06 Sep 2006 07:49:49 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[log4j]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://rscreeney.wordpress.com/2006/09/06/using-environment-variable-to-control-the-location-of-log-files-in-tomcat/</guid>
		<description><![CDATA[You can control the location of log files in Tomcat using the ${catalina.home} environment variable.
Example:
log4j.rootLogger=DEBUG, file

log4j.appender.file=org.apache.log4j.RollingFileAppender

log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{dd-MMM HH:mm:ss.SSS} %p - %C.%M(%L) &#124; %m%n
log4j.appender.file.File=${catalina.home}/logs/applicationname.log
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=11&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>You can control the location of log files in Tomcat using the ${catalina.home} environment variable.</p>
<p>Example:</p>
<pre>log4j.rootLogger=DEBUG, file

log4j.appender.file=org.apache.log4j.RollingFileAppender

log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{dd-MMM HH:mm:ss.SSS} %p - %C.%M(%L) | %m%n
log4j.appender.file.File=${catalina.home}/logs/applicationname.log</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=11&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2006/09/06/using-environment-variable-to-control-the-location-of-log-files-in-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>
	</item>
		<item>
		<title>Log4j &#8211; Reporting application errors by email</title>
		<link>http://rscreeney.wordpress.com/2006/09/01/log4j-reporting-application-errors-by-email/</link>
		<comments>http://rscreeney.wordpress.com/2006/09/01/log4j-reporting-application-errors-by-email/#comments</comments>
		<pubDate>Fri, 01 Sep 2006 12:22:40 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[log4j]]></category>

		<guid isPermaLink="false">https://rscreeney.wordpress.com/2006/09/01/log4j-reporting-application-errors-by-email/</guid>
		<description><![CDATA[This post shows how you can setup log4j to send email when errors occur in your application. log4j.properties extract:
# Root category priority: DEBUG, Appender:mail
log4j.rootCategory=debug, mail

# Configuration for receiving e-mails when ERROR messages occur.
log4j.appender.mail=org.apache.log4j.net.SMTPAppender
log4j.appender.mail.To=admin@company.com
log4j.appender.mail.From=error@application-name.com
log4j.appender.mail.SMTPHost=smtp.company.com
log4j.appender.mail.Threshold=ERROR
log4j.appender.mail.BufferSize=1
log4j.appender.mail.Subject=Application Error Occurred
log4j.appender.mail.layout=org.apache.log4j.HTMLLayout
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=10&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This post shows how you can setup log4j to send email when errors occur in your application. log4j.properties extract:</p>
<pre># Root category priority: DEBUG, Appender:mail
log4j.rootCategory=debug, mail

# Configuration for receiving e-mails when ERROR messages occur.
log4j.appender.mail=org.apache.log4j.net.SMTPAppender
log4j.appender.mail.To=admin@company.com
log4j.appender.mail.From=error@application-name.com
log4j.appender.mail.SMTPHost=smtp.company.com
log4j.appender.mail.Threshold=ERROR
log4j.appender.mail.BufferSize=1
log4j.appender.mail.Subject=Application Error Occurred
log4j.appender.mail.layout=org.apache.log4j.HTMLLayout</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=10&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2006/09/01/log4j-reporting-application-errors-by-email/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Quartz to trigger events in Mule</title>
		<link>http://rscreeney.wordpress.com/2006/09/01/using-quartz-to-trigger-events-in-mule/</link>
		<comments>http://rscreeney.wordpress.com/2006/09/01/using-quartz-to-trigger-events-in-mule/#comments</comments>
		<pubDate>Fri, 01 Sep 2006 08:13:59 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[mule]]></category>
		<category><![CDATA[quartz]]></category>

		<guid isPermaLink="false">https://rscreeney.wordpress.com/2006/09/01/using-quartz-to-trigger-events-in-mule/</guid>
		<description><![CDATA[This posts shows how to use Quartz to trigger events in Mule.
Simple Trigger
Simple triggers allows you to execute a component repeatedly after  a number of miliseconds.  This component will be triggered 20 seconds after the application starts (startDelay=20000) and then every 10 seconds (repeatInterval=10000)
&#60;global-endpoints&#62;
  &#60;endpoint name="quartz.in" address="quartz:/myService"&#62;
    &#60;properties&#62;
  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=8&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This posts shows how to use <a href="http://www.opensymphony.com/quartz/" title="Quartz">Quartz </a>to trigger events in <a href="http://mule.codehaus.org/" title="Mule">Mule</a>.<br />
<b>Simple Trigger</b></p>
<p>Simple triggers allows you to execute a component repeatedly after  a number of miliseconds.  This component will be triggered 20 seconds after the application starts (startDelay=20000) and then every 10 seconds (repeatInterval=10000)</p>
<pre>&lt;global-endpoints&gt;
  &lt;endpoint name="quartz.in" address="quartz:/myService"&gt;
    &lt;properties&gt;
      &lt;property name="repeatInterval" value="10000" /&gt;
      &lt;property name="startDelay" value="20000" /&gt;
      &lt;property name="payloadClassName" value="java.lang.String" /&gt;
    &lt;/properties&gt;
  &lt;/endpoint&gt;
&lt;/global-endpoints&gt;

&lt;mule-descriptor name="sampleComponent"
	inboundEndpoint="quartz.in"
	implementation="demo.mule.example7.SampleComponent"/&gt;</pre>
<p><b>Cron Trigger</b></p>
<p>Cron trigger allows us to execute a component based on a cron trigger (more information on cron triggers can be found <a href="http://wiki.opensymphony.com/display/QRTZ1/CronTriggers+Tutorial">here</a> ). This component will be triggered every day at 8:00.</p>
<pre>&lt;global-endpoints&gt;
  &lt;endpoint name="quartz.in" address="quartz:/myService"&gt;
    &lt;properties&gt;
      &lt;property name="cronExpression" value="0 00 08 * * ?" /&gt;
    &lt;/properties&gt;
  &lt;/endpoint&gt;
&lt;/global-endpoints&gt;

&lt;mule-descriptor name="sampleComponent"
	inboundEndpoint="quartz.in"
	implementation="demo.mule.SampleComponent"/&gt;</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=8&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2006/09/01/using-quartz-to-trigger-events-in-mule/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple Web Service with XFire</title>
		<link>http://rscreeney.wordpress.com/2006/08/31/simple-web-service-with-xfire/</link>
		<comments>http://rscreeney.wordpress.com/2006/08/31/simple-web-service-with-xfire/#comments</comments>
		<pubDate>Thu, 31 Aug 2006 14:16:53 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[xfire]]></category>

		<guid isPermaLink="false">https://rscreeney.wordpress.com/2006/08/31/simple-web-service-with-xfire/</guid>
		<description><![CDATA[This post describes how to implement as simple http web service using xfire (a next-generation java SOAP framework).
WEB-INF/Web.xml
Configure the XFire servlet in the web.xml:
&#60;servlet&#62;

&#60;servlet-name&#62;XFireServlet&#60;/servlet-name&#62;
&#60;display-name&#62;XFire Servlet&#60;/display-name&#62;
&#60;servlet-class&#62;org.codehaus.xfire.transport.http.XFireConfigurableServlet&#60;/servlet-class&#62;
&#60;/servlet&#62;

&#60;servlet-mapping&#62;
&#60;servlet-name&#62;XFireServlet&#60;/servlet-name&#62;
&#60;url-pattern&#62;/servlet/XFireServlet/*&#60;/url-pattern&#62;
&#60;/servlet-mapping&#62;

&#60;servlet-mapping&#62;
&#60;servlet-name&#62;XFireServlet&#60;/servlet-name&#62;
&#60;url-pattern&#62;/services/*&#60;/url-pattern&#62;
&#60;/servlet-mapping&#62;
WEB-INF/classes/META-INF/xfire/services.xml
Configure the services.xml file for xfire with the details of the service to expose:
&#60;service&#62;

&#60;name&#62;StockQuote&#60;/name&#62;
&#60;namespace&#62;http://localhost:8080/xfire-stockquote/services/stockQuote&#60;/namespace&#62;
&#60;serviceClass&#62;demo.xfire.service.StockQuoteService&#60;/serviceClass&#62;
&#60;implementationClass&#62;demo.xfire.service.StockQuoteService&#60;/implementationClass&#62;

&#60;/service&#62;
StockQuoteService.java
The service class:
package demo.xfire.service;

import java.util.Random;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class StockQuoteService {

protected final Log log = LogFactory.getLog(getClass());

public Float getStockQuote(String security)
 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=7&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This post describes how to implement as simple http web service using <a href="http://xfire.codehaus.org/" title="XFire">xfire</a> (a next-generation java SOAP framework).</p>
<p><b>WEB-INF/Web.xml</b></p>
<p>Configure the XFire servlet in the web.xml:</p>
<pre>&lt;servlet&gt;

&lt;servlet-name&gt;XFireServlet&lt;/servlet-name&gt;
&lt;display-name&gt;XFire Servlet&lt;/display-name&gt;
&lt;servlet-class&gt;org.codehaus.xfire.transport.http.XFireConfigurableServlet&lt;/servlet-class&gt;
&lt;/servlet&gt;

&lt;servlet-mapping&gt;
&lt;servlet-name&gt;XFireServlet&lt;/servlet-name&gt;
&lt;url-pattern&gt;/servlet/XFireServlet/*&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt;

&lt;servlet-mapping&gt;
&lt;servlet-name&gt;XFireServlet&lt;/servlet-name&gt;
&lt;url-pattern&gt;/services/*&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt;</pre>
<p><b>WEB-INF/classes/META-INF/xfire/services.xml</b></p>
<p>Configure the services.xml file for xfire with the details of the service to expose:</p>
<pre>&lt;service&gt;

&lt;name&gt;StockQuote&lt;/name&gt;
&lt;namespace&gt;http://localhost:8080/xfire-stockquote/services/stockQuote&lt;/namespace&gt;
&lt;serviceClass&gt;demo.xfire.service.StockQuoteService&lt;/serviceClass&gt;
&lt;implementationClass&gt;demo.xfire.service.StockQuoteService&lt;/implementationClass&gt;

&lt;/service&gt;</pre>
<p><b>StockQuoteService.java</b></p>
<p>The service class:</p>
<pre>package demo.xfire.service;

import java.util.Random;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class StockQuoteService {

protected final Log log = LogFactory.getLog(getClass());

public Float getStockQuote(String security)
  {
    Random rand = new Random();
    log.debug("Retrieving quote for "+ security);
    return new Float(rand.nextInt(101));
  }
}</pre>
<p><b>Testing</b></p>
<p>After the demo application has been deployed the url will be similar to http://localhost:8080/xfire-stockquote/services/StockQuote?wsdl for tomcat.</p>
<p>To run requests against the web service you could use <a href="http://www.soapui.org/" title="Soap UI" target="_blank">soapUI</a></p>
<p><b>The Code</b></p>
<p>You can download the war file with the code here: <img src="http://static.flickr.com/89/229934600_69ab611a44_o.jpg" alt="zip file" align="top" height="16" width="16" /><a href="http://www.redbrick.dcu.ie/~reeney/xfire-stockquote.war">xfire-stockquote.war</a>.</p>
<p>If you are not using Tomcat you need to change the location of the log file in the log4j.properties file.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=7&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2006/08/31/simple-web-service-with-xfire/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>

		<media:content url="http://static.flickr.com/89/229934600_69ab611a44_o.jpg" medium="image">
			<media:title type="html">zip file</media:title>
		</media:content>
	</item>
		<item>
		<title>What is OpenLaszlo?</title>
		<link>http://rscreeney.wordpress.com/2006/08/21/what-is-laszlo/</link>
		<comments>http://rscreeney.wordpress.com/2006/08/21/what-is-laszlo/#comments</comments>
		<pubDate>Mon, 21 Aug 2006 14:43:41 +0000</pubDate>
		<dc:creator>rscreeney</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Laszlo]]></category>

		<guid isPermaLink="false">https://rscreeney.wordpress.com/2006/08/21/what-is-laszlo/</guid>
		<description><![CDATA[&#8220;OpenLaszlo is the leading open source platform for the development and delivery of browser based Rich Internet applications&#8221;. OpenLaszlo programs are written in XML and JavaScript and transparently compiled to Flash and soon DHTML. The OpenLaszlo APIs provide animation, layout, data binding, server communication, and declarative UI. A good example of a laszlo application is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=6&subd=rscreeney&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>&#8220;<a href="http://www.openlaszlo.org/" target="_blank" title="Laszlo">OpenLaszlo</a> is the leading open source platform for the development and delivery of browser based Rich Internet applications&#8221;. OpenLaszlo programs are written in XML and JavaScript and transparently compiled to Flash and soon DHTML. The OpenLaszlo APIs provide animation, layout, data binding, server communication, and declarative UI. A good example of a laszlo application is <a href="http://www.laszlomail.com/lzmail/" title="Laszlo Mail" target="_blank">LaszloMail.</a> I have been working with laszlo on and off for about a year now, over the next while I will post about some of my experiences.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rscreeney.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rscreeney.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rscreeney.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rscreeney.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rscreeney.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rscreeney.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rscreeney.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rscreeney.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rscreeney.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rscreeney.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rscreeney.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rscreeney.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rscreeney.wordpress.com&blog=347978&post=6&subd=rscreeney&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rscreeney.wordpress.com/2006/08/21/what-is-laszlo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d8a8736a7c7def1ddfe8c80099261d47?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rscreeney</media:title>
		</media:content>
	</item>
	</channel>
</rss>