<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="http://feedproxy.google.com/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feedproxy.google.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Paul Codding's Weblog</title>
	
	<link>http://www.paulcodding.com/blog</link>
	<description>My miscellaneous ramblings and how-to's</description>
	<pubDate>Tue, 30 Dec 2008 01:37:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feedproxy.google.com/PaulCoddingsWeblog" type="application/rss+xml" /><item>
		<title>Update a BIOS lately?</title>
		<link>http://feedproxy.google.com/~r/PaulCoddingsWeblog/~3/EZ4bFiwAcV0/</link>
		<comments>http://www.paulcodding.com/blog/2008/10/12/update-a-bios-lately/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 02:22:25 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://www.paulcodding.com/blog/?p=34</guid>
		<description><![CDATA[This *should* be an easy task, but if you find yourself without a floppy drive and a Windows system you are in for a 2 hour adventure]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve spent the past 2 hours attempting to update the BIOS on my Dell SC420 server in hopes of running ESXi. This *should* be an easy task, but if you find yourself without a floppy drive and a Windows system you are in for a 2 hour adventure. </p>
<p>My first thought was to boot the server from a pen/flash/usb drive. At first glance I thought I could simply use the linux biosdisk utility from Dell available <a title="here" href="http://linux.dell.com/projects.shtml#biosdisk">here</a>.  The options are to create a disk image, write directly to a floppy drive, or create an RPM. I attempted using the first two options and made significant use of dd and fdisk without any luck. </p>
<p>I&#8217;m wondering why it is so difficult to do this.  After Google&#8217;ing for hours, I found no good solution.  If anyone has a good idea on how to do this, I am all ears.  I am currently downloading a Fedora Core 7 Virtual Appliance so I can use revisor as mentioned <a title="here" href="http://linux.dell.com/wiki/index.php/Tech/libsmbios_livecd">here</a>.</p>
<p>The question I have is how in the world do people update their BIOS&#8217;s if they do not run Windows on their server, and do not have access to a Windows machine or a floppy drive??</p>

<p><a href="http://feedads.googleadservices.com/~a/a9zaqkpcBnYNL2rJtI0ZVLnsQck/a"><img src="http://feedads.googleadservices.com/~a/a9zaqkpcBnYNL2rJtI0ZVLnsQck/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/PaulCoddingsWeblog/~4/EZ4bFiwAcV0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2008/10/12/update-a-bios-lately/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.paulcodding.com/blog/2008/10/12/update-a-bios-lately/</feedburner:origLink></item>
		<item>
		<title>Ruby Connection Notifier</title>
		<link>http://feedproxy.google.com/~r/PaulCoddingsWeblog/~3/5FgmQBhpvcU/</link>
		<comments>http://www.paulcodding.com/blog/2008/09/27/ruby-connection-notifier/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 02:15:42 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.paulcodding.com/blog/?p=11</guid>
		<description><![CDATA[Lately I&#8217;ve been spending a lot of time at coffee shops in the morning, and because of that have spent a lot of time on wireless networks that are not exactly trustworthy.  I always thought it would be nice to get a little notification on incoming established tcp/udp connections.  Just to know.  [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve been spending a lot of time at coffee shops in the morning, and because of that have spent a lot of time on wireless networks that are not exactly trustworthy.  I always thought it would be nice to get a little notification on incoming established tcp/udp connections.  Just to know.  So I created this simple ruby script that uses Growl to notify you when an inbound connection is established.  Instead of using ruby/pcap to do the job, this script simply relies on the output of the Unix netstat command.  The code is below, it requires the Growl Ruby binding which is available <a href="http://growl.info/documentation/developer/ruby-support.php">here</a> and RubyCocoa which is available <a href="http://rubycocoa.sourceforge.net/HomePage">here</a>.</p>
<pre>#!/usr/bin/ruby
#
#  connection_notifier.rb
#  ConnectionNotifier
#
#  Created by Paul Codding on 2008-09-27.
#  Copyright 2008 id3al Solutions
. All rights reserved.
#
#  Released under the BSD license.
require 'rubygems'
require File.dirname(__FILE__) + '/Growl'

class Connection
  include Comparable
  attr_accessor :protocol, :local_ip, :remote_ip, :local_port, :remote_port, :id

  def initialize(connection_entry)
    pieces = connection_entry.split(" ")
    @protocol = pieces[0]
    @local_ip = pieces[3].split(".")[0..3].join(".")
    @remote_ip = pieces[4].split(".")[0..3].join(".")
    @local_port = pieces[3].split(".").last.to_i
    @remote_port = pieces[4].split(".").last.to_i
    @id = pieces[4].split(".").join()
  end

  def (other_connection)
    @id  other_connection.id
  end

  def to_s
    "#{@protocol} connection established from #{@remote_ip} to port #{@local_port}"
  end
end

class ConnectionNotifier
  GROWL_APP_NAME="Connection Notifier"

  def initialize
    @ports = Array.new(1024)
    @ports.fill { |port| port += 1}
    @connections = Array.new
    @growl = GrowlNotifier.new(GROWL_APP_NAME,['Ruby Connection Notifier'],nil,
              OSX::NSWorkspace.sharedWorkspace().iconForFileType_('rb'))
    @growl.register()

    # Pre-populate connections array so we're not automatically notified about
    # existing established connections
    check_for_new_connections(false)
    build_list_of_listening_ports()
  end

  # Poll for changes in netstat output
  def poll
    while true do
      sleep(2)
      check_for_new_connections(true)
    end
  end

  # Check for a new connection in the output of netstat
  def check_for_new_connections(notify)
    netstat_output = `netstat -na`
    for connection_entry in netstat_output do
      if connection_entry.include?("ESTABLISHED")
        connection = Connection.new(connection_entry)

        if connection.local_port != nil &amp;&amp; @ports.include?(connection.local_port.to_i) \
          &amp;&amp; !@connections.include?(connection)
          @connections &lt;&lt; connection
          if (notify)
            @growl.notify('Ruby Connection Notifier', 'Connection Established',
              connection.to_s)
          end
        end
      end
    end
  end

  def build_list_of_listening_ports
    netstat_output = `netstat -na`
    for connection_entry in netstat_output do
      if connection_entry.include?("LISTEN")
        connection = Connection.new(connection_entry)
        if !@ports.include?(connection.local_port)
          @ports &lt;&lt; connection.local_port
        end
      end
    end
  end
end

conn = ConnectionNotifier.new
conn.poll</pre>
<p>I&#8217;ve created a launch agent configuration for the script as well so it can start when you login.  The configuration and source code is located in the <a href="http://www.paulcodding.com/software/ConnectionNotifier.zip">ConnectionNotifier.zip</a> file.</p>
<p>To run the script, either execute the script directly, or place the <em>com.paulcodding.connection_notifier.agent.plist</em> file in your <em>~/Library/LaunchAgents</em> directory and log in again.  Just note that you need to update the path to the script within the agent file before it will work.  Once the script is running and you attempt a connection from an external machine, or the localhost you should see a growl notification like the image below.</p>
<div id="attachment_30" class="wp-caption alignnone" style="width: 327px"><a href="http://www.paulcodding.com/blog/wp-content/uploads/2008/09/connectionnotifer.png"><img class="size-full wp-image-30" src="http://www.paulcodding.com/blog/wp-content/uploads/2008/09/connectionnotifer.png" alt="Growl Notification" width="317" height="118" /></a><p class="wp-caption-text">Growl Notification</p></div>

<p><a href="http://feedads.googleadservices.com/~a/UeKS3K0CDVVp_C0-6thsRZhIdNk/a"><img src="http://feedads.googleadservices.com/~a/UeKS3K0CDVVp_C0-6thsRZhIdNk/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/PaulCoddingsWeblog/~4/5FgmQBhpvcU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2008/09/27/ruby-connection-notifier/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.paulcodding.com/blog/2008/09/27/ruby-connection-notifier/</feedburner:origLink></item>
		<item>
		<title>Upgrading a large RoR Project from 1.2.6 to 2.0.2</title>
		<link>http://feedproxy.google.com/~r/PaulCoddingsWeblog/~3/UYFHIDLFRSg/</link>
		<comments>http://www.paulcodding.com/blog/2008/01/21/upgrading-a-large-ror-project-from-126-to-202/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 04:23:12 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category><![CDATA[OS X]]></category>

		<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://www.paulcodding.com/blog/2008/01/21/upgrading-a-large-ror-project-from-126-to-202/</guid>
		<description><![CDATA[This evening while upgrading a large Ruby on Rails application that I&#8217;ve been working on for the past year and a half, I ran into some issues upgrading to 2.0.2.  As you may know actionwebservice has been ousted from rails in favor of REST.  For those of us that depend on using SOAP for interoperability [...]]]></description>
			<content:encoded><![CDATA[<p>This evening while upgrading a large Ruby on Rails application that I&#8217;ve been working on for the past year and a half, I ran into some issues upgrading to 2.0.2.  As you may know actionwebservice has been ousted from rails in favor of REST.  For those of us that depend on using SOAP for interoperability with other applications, we need it to work.  After spending a great deal of time googling to remove the following error:</p>
<pre>`report_activate_error':
RubyGem version error: actionpack(2.0.2 not = 1.13.6) (Gem::LoadError)</pre>
<p>I found <a href="http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/">this</a> <strong>very</strong> helpful article about getting actionwebservices to run under Rails 2.0.2.  I&#8217;ve yet to see the issues that some other users have seen when using actionwebservices with Rails 2.0.2, but we shall see in the coming days of using it.  One thing I had to do that I didn&#8217;t really like was to freeze the rails gems into the project.  I would rather not have them in my subversion repository.Another issue encountered was with installing gems that needed compilation on my OS X Leopard machine.  Luckily I found a great article detailing the use of the <code>ARCHFLAGS</code> environmental variable.  So to install my postgres gem all I had to do was this:</p>
<pre>$ sudo -s# export ARCHFLAGS="-arch i386"# gem install postgres</pre>
<p>After that, the gem was installed and I no longer received any compile time errors.  This stems from the universal binary support mechanism in OS X.</p>

<p><a href="http://feedads.googleadservices.com/~a/z1RfUfiQ6bqCJjabZgM66qeat0Y/a"><img src="http://feedads.googleadservices.com/~a/z1RfUfiQ6bqCJjabZgM66qeat0Y/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/PaulCoddingsWeblog/~4/UYFHIDLFRSg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2008/01/21/upgrading-a-large-ror-project-from-126-to-202/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.paulcodding.com/blog/2008/01/21/upgrading-a-large-ror-project-from-126-to-202/</feedburner:origLink></item>
		<item>
		<title>Using the OpenSessionInViewInterceptor for Spring + Hibernate3</title>
		<link>http://feedproxy.google.com/~r/PaulCoddingsWeblog/~3/aMvMLCofPK4/</link>
		<comments>http://www.paulcodding.com/blog/2008/01/21/using-the-opensessioninviewinterceptor-for-spring-hibernate3/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 19:35:38 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Hibernate]]></category>

		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.paulcodding.com/blog/2008/01/21/using-the-opensessioninviewinterceptor-for-spring-hibernate3/</guid>
		<description><![CDATA[If you&#8217;re like me and have written Spring web applications using Hibernate for persistence, you&#8217;ve probably seen this error when using FetchType.LAZY in your @OneToMany annotation.
 failed to lazily initialize a collection of role:
        your.Class.assocation no session or session was closed
If you are using lazy loading rather than [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me and have written Spring web applications using Hibernate for persistence, you&#8217;ve probably seen this error when using <code>FetchType.LAZY</code> in your <code>@OneToMany</code> annotation.</p>
<pre> failed to lazily initialize a collection of role:
        your.Class.assocation no session or session was closed</pre>
<p>If you are using lazy loading rather than eager loading for obvious reasons, and you&#8217;re trying to access associated objects in your view code, this error can be a bit difficult to resolve.  Luckily there is the <a href="http://static.springframework.org/spring/docs/2.5.1/api/org/springframework/orm/hibernate3/support/OpenSessionInViewInterceptor.html">OpenSessionInViewInterceptor</a>, or the <a href="http://static.springframework.org/spring/docs/2.5.1/api/org/springframework/orm/hibernate3/support/OpenSessionInViewFilter.html">OpenSessionInViewFilter</a>.  These solutions will keep the hibernate session open long enough for the view to render what is needed before it is closed, thus allowing you to access your lazy loaded associations without raising an exception.  The detail of what this functionality provides can be found on the Hibernate website <a href="http://www.hibernate.org/43.html">here</a>.</p>
<p>Now, how does one get this to work in their application?  Well, I&#8217;ve chosen to illustrate the basic steps necessary to implement the  OpenSessionInViewInterceptor.  You will need to modify 2 files.  These being your <code>applicationContext.xml</code>, and <code>YourApplication-servlet.xml</code> files.  We&#8217;ll start with the <code>applicationContext.xml</code> file.  You will need to place the following snippet after you&#8217;ve defined your <code>sessionFactory</code> bean.</p>
<pre>
&lt;bean id="openSessionInViewInterceptor"
    class="org.springframework.orm.hibernate3.support.OpenSessionInViewInterceptor"&gt;
    &lt;property name="sessionFactory"&gt;
        &lt;ref local="sessionFactory"/&gt;
    &lt;/property&gt;
    &lt;property&gt; name="flushModeName"&gt;
        &lt;value&gt;FLUSH_AUTO&lt;/value&gt;
    &lt;/property&gt;
&lt;/bean&gt;</pre>
<p>What does the <code>FLUSH_AUTO</code> do?  Here is a quote from the javadoc for the interceptor:</p>
<blockquote><p>&#8220;This interceptor will by default not flush the Hibernate Session, with the flush mode being set to FlushMode.NEVER. It assumes that it will be used in combination with service layer transactions that handle the flushing: the active transaction manager will temporarily change the flush mode to FlushMode.AUTO during a read-write transaction, with the flush mode reset to FlushMode.NEVER at the end of each transaction.&#8221;</p></blockquote>
<p>We use the <code>FLUSH_AUTO</code> to automatically flush the session in this case because I am not using transactions.<br />
Now comes the edit to your <code>YourApplication-servlet.xml</code> file, or whatever file you&#8217;ve used to define your URL Mappings.  Add the following snippet to your URL mapping bean.</p>
<pre>
&lt;property name="interceptors"&gt;
  &lt;list&gt;
    &lt;ref bean="openSessionInViewInterceptor" /&gt;
  &lt;/list&gt;
&lt;/property&gt;</pre>
<p>And that&#8217;s that, redeploy and you will no longer see that dreaded exception.</p>

<p><a href="http://feedads.googleadservices.com/~a/FdP2U40_xa3nQikURkFrcz0dv3Y/a"><img src="http://feedads.googleadservices.com/~a/FdP2U40_xa3nQikURkFrcz0dv3Y/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/PaulCoddingsWeblog/~4/aMvMLCofPK4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2008/01/21/using-the-opensessioninviewinterceptor-for-spring-hibernate3/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.paulcodding.com/blog/2008/01/21/using-the-opensessioninviewinterceptor-for-spring-hibernate3/</feedburner:origLink></item>
		<item>
		<title>Spring, Hibernate, and Sitemesh</title>
		<link>http://feedproxy.google.com/~r/PaulCoddingsWeblog/~3/9-65YVi7VsU/</link>
		<comments>http://www.paulcodding.com/blog/2008/01/11/spring-hibernate-and-sitemesh/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 04:48:37 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Hibernate]]></category>

		<category><![CDATA[Sitemesh]]></category>

		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.paulcodding.com/blog/2008/01/11/spring-hibernate-and-sitemesh/</guid>
		<description><![CDATA[This week at work I&#8217;ve had the luxury of getting to sit down and write a sample application using a few of my favorite tools: Spring, and Hibernate-Annotations.  New to this equation has been Sitemesh.  I&#8217;ve been using Tiles for quite a while and have felt very comfortable with it, but at the [...]]]></description>
			<content:encoded><![CDATA[<p>This week at work I&#8217;ve had the luxury of getting to sit down and write a sample application using a few of my favorite tools: Spring, and Hibernate-Annotations.  New to this equation has been Sitemesh.  I&#8217;ve been using <a href="http://tiles.apache.org/">Tiles</a> for quite a while and have felt very comfortable with it, but at the same time a little annoyed with the amount of work and time it takes to use it.  As I sat down to pour out as many best practices as possible into this sample application I figured I should use the opportunity to take the time necessary to explore a new tool.  At first I had a hard time finding out just what it takes to use Sitemesh with Spring. I found some helpful hints here and there, but because this blog is meant to try to aggregate my searches into something useful for you (the reader), I will outline just what it takes to integrate Sitemesh into an application.</p>
<h4>Sitemesh Integration</h4>
<p>What do you have to do to integrate Sitemesh with your newly created Spring application?  Well, here is the list of prerequisites:</p>
<ul>
<li>Download Sitemesh from <a href="http://www.opensymphony.com/sitemesh/">OpenSymphony</a>.</li>
<li>Build the sitemesh-2.x.jar using ant.</li>
<li>Copy the sitemesh-2.x.jar to the <code>WEB-INF/lib</code> directory of your web application</li>
</ul>
<p>Now we can move on to integrating Sitemesh into your web application.  To use sitemesh with your application only 1 file needs to be edited amazingly enough.  Open up your <code>web.xml</code> file and add this snippet:</p>
<pre>
&lt;!-- Sitemesh --&gt;
&lt;filter&gt;
	&lt;filter-name&gt;sitemesh&lt;/filter-name&gt;
	&lt;filter-class&gt;
		com.opensymphony.module.sitemesh.filter.PageFilter
	&lt;/filter-class&gt;
&lt;/filter&gt;

&lt;filter-mapping&gt;
	&lt;filter-name&gt;sitemesh&lt;/filter-name&gt;
	&lt;url-pattern&gt;/*&lt;/url-pattern&gt;
&lt;/filter-mapping&gt;</pre>
<p>So, now what?  The next step is to setup the directory structure and files necessary to make things work.  Refer to this <a href="http://www.opensymphony.com/sitemesh/decorators.html">page</a> on the OpenSymphony site detailing the creation of your first decorator, and creating the <code>WEB-INF/decorators.xml</code> file.  I&#8217;ve included a copy of my <code>main.jsp</code> file for reference:</p>
<pre>
&lt;%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"
	prefix="decorator"%&gt;
&lt;%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&gt;
	&lt;head&gt;
		&lt;title&gt;&lt;spring:message code="application.title" /&gt;&lt;/title&gt;
		&lt;decorator:head /&gt;
		&lt;%@ include file="/WEB-INF/view/includes/style.jsp"%&gt;
		&lt;%@ include file="/WEB-INF/view/includes/js.jsp"%&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;div id="container"&gt;
			&lt;%@ include file="/WEB-INF/view/includes/header.jsp"%&gt;
			&lt;div id="internalWrapper"&gt;
				&lt;%@ include file="/WEB-INF/view/includes/links.jsp"%&gt;
				&lt;div id="content"&gt;
					&lt;decorator:body /&gt;
				&lt;/div&gt;
			&lt;/div&gt;
			&lt;%@ include file="/WEB-INF/view/includes/footer.jsp"%&gt;
		&lt;/div&gt;
	&lt;/body&gt;
&lt;/html&gt;</pre>
<p>So, how do you get your Controllers to spit out decorated pages?  Easy, just create a jsp that will be used as the content of the <code>&lt;decorator:body /&gt;</code> tag in the <code>main.jsp</code> file.  When you&#8217;re returning your <code>ModelAndView</code> just refer to that jsp like the example below:</p>
<pre>
public ModelAndView list(HttpServletRequest request,
			HttpServletResponse response) throws Exception {
	List&lt;DomainObject&gt; userList = userService.findAll();
	request.setAttribute("userList", userList);
	return new ModelAndView("list.jsp", null);
}</pre>
<p>Here is an example snippet of my url mapping for reference as to where the jsp is located:</p>
<pre>
&lt;prop key="/users/*.html"&gt;userController&lt;/prop&gt;</pre>
<pre></pre>
<p>In this case my <code>list.jsp</code> is located in the <code>users</code> folder under my web root.</p>
<p>So, isn&#8217;t this easier than Tiles?</p>

<p><a href="http://feedads.googleadservices.com/~a/zlarjpl6qX6482yZRFhM3l6d4xI/a"><img src="http://feedads.googleadservices.com/~a/zlarjpl6qX6482yZRFhM3l6d4xI/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/PaulCoddingsWeblog/~4/9-65YVi7VsU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2008/01/11/spring-hibernate-and-sitemesh/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.paulcodding.com/blog/2008/01/11/spring-hibernate-and-sitemesh/</feedburner:origLink></item>
		<item>
		<title>Project in the works</title>
		<link>http://feedproxy.google.com/~r/PaulCoddingsWeblog/~3/1x_1iL1u5KY/</link>
		<comments>http://www.paulcodding.com/blog/2007/08/19/project-in-the-works/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 14:35:40 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category><![CDATA[OS X]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.paulcodding.com/blog/2007/08/19/project-in-the-works/</guid>
		<description><![CDATA[Well, I was able to spend some time this weekend to get my OpenBSD firewall back in action after a major HDD catastrophe.  After getting my internal network back in order, I&#8217;ve decided to begin work on a few projects I&#8217;ve been thinking about.
The first project involves the use of Growl, the notification system [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I was able to spend some time this weekend to get my OpenBSD firewall back in action after a major HDD catastrophe.  After getting my internal network back in order, I&#8217;ve decided to begin work on a few projects I&#8217;ve been thinking about.</p>
<p>The first project involves the use of Growl, the notification system written for OS X, and snort.  Snort is a great little IDS that I&#8217;ve been working with for quite some time.  Ever since I checked out growl, I&#8217;ve been really excited to get something going that utilizes it.  Luckily the project with snort is perfect for it.  In short the project will use ruby to monitor the snort IDS alert logs for alerts and use Growl to send a notification to the user.  Growl does have ruby bindings&#8230;hence the choice of ruby.  I could use Objective-C, the only problem with that is that I don&#8217;t know the language :).  So, ruby it is.  I will keep everyone posted on the progress/caveats.</p>

<p><a href="http://feedads.googleadservices.com/~a/liOuHGQ00UNwtniwgcPVT-72YG8/a"><img src="http://feedads.googleadservices.com/~a/liOuHGQ00UNwtniwgcPVT-72YG8/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/PaulCoddingsWeblog/~4/1x_1iL1u5KY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2007/08/19/project-in-the-works/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.paulcodding.com/blog/2007/08/19/project-in-the-works/</feedburner:origLink></item>
		<item>
		<title>Utilizing Ruby on Rails Web Services with Java</title>
		<link>http://feedproxy.google.com/~r/PaulCoddingsWeblog/~3/VKthLslppXg/</link>
		<comments>http://www.paulcodding.com/blog/2007/03/31/utilizing-ruby-on-rails-web-services-with-java/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 03:29:24 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://www.paulcodding.com/blog/?p=4</guid>
		<description><![CDATA[As part of a project I&#8217;m currently working on, I&#8217;ve had to integrate a RoR application with another developer&#8217;s Java code.  At first glance, things looked to be fairly simple as I envisioned a simple Web Service communication between Java and Ruby would be a breeze&#8230;not so fast.  Getting the two to play [...]]]></description>
			<content:encoded><![CDATA[<p>As part of a project I&#8217;m currently working on, I&#8217;ve had to integrate a RoR application with another developer&#8217;s Java code.  At first glance, things looked to be fairly simple as I envisioned a simple Web Service communication between Java and Ruby would be a breeze&#8230;not so fast.  Getting the two to play nice with each other took some time as I was unaware that RoR only supports the RPC/encoded style/use and not Document/literal.  After getting a prototyped client written read using <a href="http://www.springframework.org/spring-ws">Spring-ws</a> (does not support RPC/encoded) I quickly found out that it was going to go nowhere fast.  I ended up choosing to use <a href="http://ws.apache.org/axis/">Apache Axis</a> as I&#8217;ve used it for a previous project, and I knew for sure it supported RPC/encoded.</p>
<p>Part of the reason for this blog is to share information from developer to developer issues that I&#8217;ve encountered that have either been unable or too busy to find solutions to.  In this case my solution is to let the reader know that the best bet client to use when consuming RoR web services in Java is <a href="http://ws.apache.org/axis/">Apache Axis</a>.  If anyone would enjoy a code example or two I&#8217;d be glad to oblige&#8230;although the artifacts generated by Axis 1.4 are fairly involved, the process is fairly easy especially when using the <a href="http://www.soapui.org/">SoapUI tool</a> to generate the artifacts based on the RoR WSDL e.g. http://localhost:3000/web_service_name/service.wsdl .</p>

<p><a href="http://feedads.googleadservices.com/~a/d0JyvwrT_f_QgYkVSGmRpTenAaw/a"><img src="http://feedads.googleadservices.com/~a/d0JyvwrT_f_QgYkVSGmRpTenAaw/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/PaulCoddingsWeblog/~4/VKthLslppXg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2007/03/31/utilizing-ruby-on-rails-web-services-with-java/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.paulcodding.com/blog/2007/03/31/utilizing-ruby-on-rails-web-services-with-java/</feedburner:origLink></item>
		<item>
		<title>First Tracks</title>
		<link>http://feedproxy.google.com/~r/PaulCoddingsWeblog/~3/tPtLScmk47s/</link>
		<comments>http://www.paulcodding.com/blog/2007/03/31/first-tracks/#comments</comments>
		<pubDate>Sat, 31 Mar 2007 21:48:45 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category><![CDATA[Announcement]]></category>

		<guid isPermaLink="false">http://paulcodding.com/blog/?p=3</guid>
		<description><![CDATA[Hey everyone, here&#8217;s the first post&#8230;hopefully there will be much more to come when time allows.
]]></description>
			<content:encoded><![CDATA[<p>Hey everyone, here&#8217;s the first post&#8230;hopefully there will be much more to come when time allows.</p>

<p><a href="http://feedads.googleadservices.com/~a/L7iJxprR4WXfJ8Do3N_0Fue6Vvc/a"><img src="http://feedads.googleadservices.com/~a/L7iJxprR4WXfJ8Do3N_0Fue6Vvc/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/PaulCoddingsWeblog/~4/tPtLScmk47s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2007/03/31/first-tracks/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.paulcodding.com/blog/2007/03/31/first-tracks/</feedburner:origLink></item>
	</channel>
</rss>
