<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Alex's Adventures on the Infobahn - opennms</title><link href="https://www.bennee.com/~alex/" rel="alternate"></link><link href="https://www.bennee.com/~alex/blog/tag/opennms/feed" rel="self"></link><id>https://www.bennee.com/~alex/</id><updated>2011-06-01T12:56:00+01:00</updated><subtitle>the wanderings of a supposed digital native</subtitle><entry><title>Travelling while moving</title><link href="https://www.bennee.com/~alex/blog/2011/06/01/travelling-while-moving/" rel="alternate"></link><published>2011-06-01T12:56:00+01:00</published><updated>2011-06-01T12:56:00+01:00</updated><author><name>alex</name></author><id>tag:www.bennee.com,2011-06-01:/~alex/blog/2011/06/01/travelling-while-moving/</id><summary type="html">&lt;p&gt;Last week I went to Fulda in Germany to attend the OpenNMS European User Conference. OpenNMS is an open source network management system which we make fairly heavy use of at work. The conference was an opportunity to catch up on developments in the project and get a sense of …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Last week I went to Fulda in Germany to attend the OpenNMS European User Conference. OpenNMS is an open source network management system which we make fairly heavy use of at work. The conference was an opportunity to catch up on developments in the project and get a sense of how it was being used. It was also an chance to make personal contact with a number of the developers. While open source development is typically conducted via faceless email and IRC it does help to put a face to the name every now and again.&lt;/p&gt;
&lt;p&gt;Mindful of my experiences last year when my &lt;a class="reference external" href="http://www.bennee.com/~alex/blog/2010/05/18/rainbow-nation/"&gt;work trip to South Africa&lt;/a&gt; was affected by a certain Icelandic volcano I opted for an entirely overland trip this time. I left my house at around 10.30 in the morning and arrived in Frankfurt by 21.30. The journey was lengthened somewhat by a 2 hour wait at Brussels for the &lt;a class="reference external" href="http://en.wikipedia.org/wiki/Deutsche_Bahn"&gt;Deutsche Bhan&lt;/a&gt; train to Frankfurt. However I was able to find a suitably WiFi enabled place to sit down and continue work.&lt;/p&gt;
&lt;p&gt;So while being a long journey it was considerably less hassle than going via plane. The amount of interruption to stuff I needed to do was limited to walking between platforms. As soon as I boarded the train I was able to open up my laptop and get on with some work. In fact I probably had one of the most productive days of hacking for some time as I was mercifully free of the distractions a typical day on the office throws at me.&lt;/p&gt;
&lt;p&gt;There is a difference between the EuroStar and the DB trains though. The EuroStar trains are getting on a bit and the upholstery is a little tatty although the ride is still very smooth. In contrast the German trains are very well cared for, clean and with a silky smooth ride. I'm certainly looking forward to when DB over &lt;a class="reference external" href="http://www.bbc.co.uk/news/business-11567753"&gt;direct services to Holland and Germany&lt;/a&gt; from St Pancras. When those services start running I'll be able to the same journey door to door in around 6 and half hours which will be much more competitive time wise with those ash-prone planes.&lt;/p&gt;
</content><category term="general"></category><category term="opennms"></category><category term="ouce2011"></category><category term="trains"></category><category term="travel"></category></entry><entry><title>Thoughts on Java</title><link href="https://www.bennee.com/~alex/blog/2010/02/12/thoughts-on-java/" rel="alternate"></link><published>2010-02-12T11:18:00+00:00</published><updated>2010-02-12T11:18:00+00:00</updated><author><name>alex</name></author><id>tag:www.bennee.com,2010-02-12:/~alex/blog/2010/02/12/thoughts-on-java/</id><summary type="html">&lt;p&gt;I've been spending the last week hacking around in Java. One of the components of the product I develop is the open source &lt;a class="reference external" href="http://www.opennms.org/wiki/Main_Page"&gt;OpenNMS&lt;/a&gt;. As I've mentioned before it's been lightly modified by myself to blend in better with our code mainly in the JSP department for it's web interface …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I've been spending the last week hacking around in Java. One of the components of the product I develop is the open source &lt;a class="reference external" href="http://www.opennms.org/wiki/Main_Page"&gt;OpenNMS&lt;/a&gt;. As I've mentioned before it's been lightly modified by myself to blend in better with our code mainly in the JSP department for it's web interface. Last week I discovered I needed to make a slightly deeper change to the code to export some more data to it's scripting interface.&lt;/p&gt;
&lt;p&gt;While I was exploring the code base and scratching my head at some of the exceptions being thrown I thought I'd have yet another go at making my Java development environment a little more integrated than binding the build script to &amp;quot;C-c c&amp;quot;.&lt;/p&gt;
&lt;p&gt;So far I have a couple of observations about Java code. The first is that it never seems to do very much. As you navigate the code base you tend to find a lot of simple skeleton classes, usually working as simple adaptors between one framework and the next. Thanks to Java's strong support for &lt;a class="reference external" href="http://en.wikipedia.org/wiki/Generic_programming"&gt;generics&lt;/a&gt; and &lt;a class="reference external" href="http://en.wikipedia.org/wiki/Interface_(Java)"&gt;interfaces&lt;/a&gt; you often find yourself looking at a class wondering what else it might do. None of this is helped by Java's standard/deep/directory/naming/strategy/of/doom. My usual tools of a decent programmers editor and grep start to show their limitations. Java is a language that is designed to be serviced by a full &lt;a class="reference external" href="http://en.wikipedia.org/wiki/Integrated_development_environment"&gt;IDE&lt;/a&gt; to help you make sense of the whole system.&lt;/p&gt;
&lt;p&gt;Having previously tried and failed to get &lt;a class="reference external" href="http://jdee.sourceforge.net/"&gt;JDEE&lt;/a&gt; working I thought I would capitulate and try &lt;a class="reference external" href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt;. I blithely thought that given the fact it's the standard Java developers tool with a long development history it would Just Work (tm). I was to be sorely disappointed.&lt;/p&gt;
&lt;p&gt;I tried several different versions on both my home Gentoo machine as well as various PPA based versions on my work Ubuntu setup. A lot of times it failed to start up due to some Mozilla dependency issues and when I did finally get it started I couldn't get any of the plugins to install. The entire Eclipse stack is designed around the concept of plugins and it seems every Java framework comes with it's own additional plugin for Eclipse. Without the plugins I wasn't able to get a working build or any sort of source level debugging. Eventually I had to concede defeat and bin the IDE approach and return to some tedious grep work and piece together the structure of the software by hand so I could finally crank out what in the end was a &lt;a class="reference external" href="http://marc.info/?l=opennms-devel&amp;amp;m=126582776211008&amp;amp;w=2"&gt;fairly simple patch&lt;/a&gt;. I doubt I shall return to Eclipse.&lt;/p&gt;
&lt;p&gt;I did have a brief tinker with JDEE which at least installed better from it's SVN repo (needing a one line patch). However the documentation is a little sparse on how to import an existing large project into it's view of the world. Annoyingly potentially useful links like the FAQ referenced on the &lt;a class="reference external" href="http://jdee.sourceforge.net/"&gt;main site&lt;/a&gt; lead to &lt;a class="reference external" href="http://sunsite.auc.dk/fom/jde/cache/1.html"&gt;dead ends&lt;/a&gt;. I never got to the point of seeing if I had a working Java &lt;a class="reference external" href="http://www.emacswiki.org/emacs/GrandUnifiedDebugger"&gt;GUD&lt;/a&gt; integration. I hope to revisit JDEE in the future when I'm a little less pressed for time at work. It's hard to work up the enthusiasm for plumbing in support for a language you never intend to use for fun in your own time.&lt;/p&gt;
</content><category term="geek"></category><category term="development"></category><category term="eclipse"></category><category term="emacs"></category><category term="java"></category><category term="jdee"></category><category term="opennms"></category></entry></feed>