<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/">

  <channel rdf:about="http://www.pmdit.se/blog/">
    <title>pmd/blog</title>
    <link>http://www.pmdit.se/blog/</link>
    <description>The thoughts of a Java developer...</description>
    <items>
      <rdf:Seq>
        
        <rdf:li resource="http://www.pmdit.se/blog/2009/09/27/and_the_winner_is.html" />
        
        <rdf:li resource="http://www.pmdit.se/blog/2009/07/04/on_to_the_next_widget.html" />
        
        <rdf:li resource="http://www.pmdit.se/blog/2008/10/26/interview_with_simon_phipps_about_open_source.html" />
        
        <rdf:li resource="http://www.pmdit.se/blog/2008/10/08/tapestry_5_and_gwt_part_2_5.html" />
        
        <rdf:li resource="http://www.pmdit.se/blog/2008/10/07/javafx_widgetfx_and_my_first_widget.html" />
        
        <rdf:li resource="http://www.pmdit.se/blog/2008/06/15/ubuntu_diskspace_on.html" />
        
        <rdf:li resource="http://www.pmdit.se/blog/2008/05/25/taking_the_first_steps_with_microemulator.html" />
        
        <rdf:li resource="http://www.pmdit.se/blog/2008/05/23/forwarding_iis_to_tomcat.html" />
        
        <rdf:li resource="http://www.pmdit.se/blog/2008/04/18/testing_a_web_service.html" />
        
        <rdf:li resource="http://www.pmdit.se/blog/2008/04/08/tomcat_6_windows_service.html" />
        
      </rdf:Seq>
    </items>
  </channel>

  
  <item rdf:about="http://www.pmdit.se/blog/2009/09/27/and_the_winner_is.html">
    <title>And the winner is...</title>
    <link>http://www.pmdit.se/blog/2009/09/27/and_the_winner_is.html</link>
    
      
        <description>
          &lt;style&gt;
    pre { border-width: 1px; border-style: solid; background-color: #efefff; font-size: 75%; }
    pre b { font-weight: bold; font-size: 120%; }
    img { border-width: 1px; border-style: solid; }
    td { vertical-align: top; }
&lt;/style&gt;

&lt;p&gt;
WidgetFX is a nice project, but it&#039;s young and users will not
use a widget engine with a minimal set of widgets.
A great way to solve such a problem is a contest. A contest gets the buzz going, creates
content and makes people involved.
&lt;/p&gt;

&lt;p&gt;
WidgetFX 1.2 was released in the end of June and at the same time the
first &lt;a href=&#034;http://steveonjava.com/2009/06/30/widgetfx-1-2-release-announcement&#034;&gt;WidgetFX contest&lt;/a&gt; was announced.
Having &lt;a href=&#034;http://www.pmdit.se/blog/2008/10/07/javafx_widgetfx_and_my_first_widget.html&#034;&gt;previously developed a widget&lt;/a&gt;
and grown quite fond of JavaFX I gave it a try. After all, I
already &lt;a href=&#034;http://www.pmdit.se/blog/2009/07/04/on_to_the_next_widget.html&#034;&gt;had an itch to scratch&lt;/a&gt;.
Besides writing the code and blogging about it could enter me into two contests at the same time.
Well, turned out that it did take a bit longer to finish a usable version of
the &lt;a href=&#034;http://pmdit.se/widgets/imageeditor.html&#034;&gt;ImageEditor&lt;/a&gt; in ScreenshotFX and
in hindsight I was only at most half way there when I wrote that blog post.
Anyway, I had time to finish a version it has even been useful for me a couple
of times already.
&lt;/p&gt;

&lt;p&gt;
The contest had slipped my mind since I&#039;ve been very busy for the last few weeks.
Imagine my surprise when I came home tonight and saw an email from Stephen Chin
with the subject &#034;Congratulations on Winning the WidgetFX Contest!&#034;.
Really? Now that&#039;s simply awesome! :)
&lt;/p&gt;

&lt;p&gt;
Now when I won and all I feel a bit bad that I&#039;ve not written a single line of code
for the project in weeks. After all... there are a lot of things to improve...
ui... exporting... not to mention submitting the ImageEditor to JFXtras :)
&lt;/p&gt;

&lt;p&gt;
Well, that&#039;s a lot of words when all I actually wanted to say was Thank You to
the people who liked my widget enough to deem it a worthy winner!
&lt;/p&gt;

&lt;p&gt;
See you in the next contest :)
&lt;/p&gt;
        </description>
      
      
    
  </item>
  
  <item rdf:about="http://www.pmdit.se/blog/2009/07/04/on_to_the_next_widget.html">
    <title>On to the next widget</title>
    <link>http://www.pmdit.se/blog/2009/07/04/on_to_the_next_widget.html</link>
    
      
        <description>
          &lt;style&gt;
    pre { border-width: 1px; border-style: solid; background-color: #efefff; font-size: 75%; }
    img { border-width: 1px; border-style: solid; }
    td { vertical-align: top; }
&lt;/style&gt;

&lt;script src=&#034;http://dl.javafx.com/1.2/dtfx.js&#034;&gt;&lt;/script&gt;

&lt;p&gt;
    JavaFX 1.2 was released a while back with quite a lot of &lt;a href=&#034;http://javafx.com/docs/articles/javafx1-2.jsp&#034;&gt;new features&lt;/a&gt;.
    The release was also accompanied by a &lt;a href=&#034;http://www.javafx.com/blogcontest&#034;&gt;blogging competition&lt;/a&gt; to get the buzz going.
    I didn&#039;t think I had anything to enter into that contest since I&#039;ve not had much time for JavaFX. However, a couple
    of days ago new 1.2 compatible version of &lt;a href=&#034;http://steveonjava.com/2009/06/30/widgetfx-1-2-release-announcement&#034;&gt;WidgetFX
    was released&lt;/a&gt; and I thought it was time to create a new widget.
    As I&#039;ve &lt;a href=&#034;http://www.pmdit.se/blog/2008/10/07/javafx_widgetfx_and_my_first_widget.html&#034;&gt;said before&lt;/a&gt;,
    creating a widget is a fun way to explore JavaFX and right now it actually seems like I could enter a blog post in time as well :)
&lt;/p&gt;

&lt;p&gt;
    Anyway, on to the code...
&lt;/p&gt;

&lt;p&gt;
    With the increased performance now even more than before I find JavaFX to be a great way to play around with and
    create quite advanced stuff in a very short time... while on the other hand the other way around might be true
    every now and then as well.
&lt;/p&gt;

&lt;p&gt;
    &lt;h4&gt;The project&lt;/h4&gt;
    For example... a college usually attaches screenshots to mails when he want&#039;s to describe some change or feature
    update to the company site/admin interface. Obviously that makes it easier to quickly grasp what he&#039;s talking about.
    Another college mentionend that he probably has Photoshop running all the time. Well, that might be the case,
    but I doubt Photoshop&#039;s memory requirements allow for that. That made me think that a quick to access widget
    really should be the way to go for these things. It&#039;s only going to take a screenshot, how hard can it be?
&lt;/p&gt;

&lt;p&gt;
    &lt;h4&gt;Getting a screenshot&lt;/h4&gt;
    The power of JavaFX beeing built on the Java platform comes to play here...
    I quickly used the Robot class to get a screenshot of the desktop.
    The point to make here of course is that I had used this class a few years ago and even
    though JavaFX doesn&#039;t have a screen capturing feature I could use my previous Java knowledge for this.
    &lt;pre&gt;
        Robot robot = new Robot();
        BufferedImage bi = robot.createScreenCapture(new Rectangle(x, y, width, height));
    &lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;
    &lt;table&gt;
        &lt;tr&gt;
            &lt;td&gt;
                Very easy... a few minutes of work with some file handling and other stuff. But hey, just taking a
                screenshot still means that one has to manipulate the image in another program to highlight something.
                I did remember that I saw a JavaFX
                &lt;a href=&#034;http://javafx.com/samples/FullScreenSketch/index.html&#034;&gt;drawing example&lt;/a&gt; on the JavaFX.com site.
                That&#039;s probably easy to add.  Sure enough, following Jasper Potts&#039; example code gave me a
                Node I could draw on in no time at all.
            &lt;/td&gt;
            &lt;td&gt;
                &lt;center&gt;
                    &lt;img width=&#034;267&#034; height=&#034;218&#034; src=&#034;images/fx12_demo1.jpg&#034;/&gt;
                    &lt;br/&gt;
                    &lt;a href=&#034;/demos/BlogDemos1.jnlp&#034;&gt;&lt;img src=&#034;images/jws-launch.jpg&#034; border=&#034;0&#034;&gt;&lt;/a&gt;
                    &lt;br/&gt;
                    &lt;i&gt;Capture screenshot &amp; draw&lt;/i&gt;
                &lt;/center&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
&lt;/p&gt;

&lt;p&gt;
    Such a feature would of course be useless unless I could save the edited image.
    I did remember that I previously had seen something like that among the tutorials as well.
    After a while I found &lt;a href=&#034;http://javafx.com/samples/EffectsPlayground/index.html&#034;&gt;this demo&lt;/a&gt;
    with the save image feature.
&lt;/p&gt;

&lt;p&gt;
    &lt;h4&gt;Something unsupported&lt;/h4&gt;
    A few lines of code, unfortunately hacking JavaFX a bit to get it to work. 
    Usually not a good idea, but I can&#039;t go without a save feature.
    Turned out the &#034;save node as image&#034; function didn&#039;t work any longer, probably
    broke in the JavaFX 1.2 release. Here&#039;s one of the bad parts beeing such a young
    language and all. When working with JavaFX there&#039;s been quite a few times when
    things like this has happened. Features like layout, controls etc. which one
    would think obvious parts of such a language/platform have been missing.
    Fortunately for my little program this exact example also shows the strenght
    of JavaFX in another way. I&#039;m not talking about the language here, but what
    it&#039;s build on. I.e the Java platform and it&#039;s community. Someone had already
    solved &lt;a href=&#034;http://forums.sun.com/thread.jspa?threadID=5392334&#034;&gt;this problem in Sun&#039;s forum&lt;/a&gt;.
    I certainly believe those things to be what will make it survive and prosper.
&lt;/p&gt;

&lt;p&gt;
    Of course, I&#039;ll have to maintain this code since it&#039;ll most likely break in every
    release, but I quickly got the feature and eventually I can replace it with a
    library. Perhaps the feature itself will be added to JavaFX some day.
&lt;/p&gt;

&lt;p&gt;
    &lt;h4&gt;Dragging around&lt;/h4&gt;
    &lt;table&gt;
        &lt;tr&gt;
            &lt;td&gt;
                &lt;center&gt;
                    &lt;img width=&#034;180&#034; height=&#034;210&#034; src=&#034;images/fx12_demo2.jpg&#034;/&gt;
                    &lt;br/&gt;
                    &lt;a href=&#034;/demos/BlogDemos2.jnlp&#034;&gt;&lt;img src=&#034;images/jws-launch.jpg&#034; border=&#034;0&#034;&gt;&lt;/a&gt;
                    &lt;br/&gt;
                    &lt;i&gt;Hover over the square to see what you can drag&lt;/i&gt;
                &lt;/center&gt;
            &lt;/td&gt;
            &lt;td&gt;
                Great. Capturing a screenshot, drawing stuff on it and saving it... done?
                Hmm... it really would be fun to be able to mark an area and darken the
                rest of the image. Would certainly look better in many cases... I&#039;ve used
                Path before and it seemed to be suitable for this task. It did take some
                time and it&#039;s pretty basic, but after a couple of hours I had something useful.
                &lt;br/&gt;&lt;br/&gt;
                This is made all by me so for this code I don&#039;t have anywhere to link. Here are the three files for Example2:
                &lt;a href=&#034;/demos/Example2.fx&#034;&gt;Example2.fx&lt;/a&gt;,
                &lt;a href=&#034;/demosMovablePath.fx&#034;&gt;MovablePath.fx&lt;/a&gt; and
                &lt;a href=&#034;/demosPoint.fx&#034;&gt;Point.fx&lt;/a&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
    &lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
    &lt;h4&gt;Finishing up&lt;/h4&gt;
    I got a couple more features that would be fun to make, but it&#039;s probably
    a good time to put together something usable at this point.
    I will have to put some time into the GUI as well. Can&#039;t wait for the tool
    &lt;a href=&#034;http://java.sun.com/javaone/2009/general_sessions.jsp&#034;&gt;Tor demoed at JavaOne 2009&lt;/a&gt;
    (it&#039;s part of James Gosling&#039;s toy show).
    Looks awesome!
&lt;/p&gt;

&lt;p&gt;
    That brings me to my final point. I&#039;ve found that the way I like to develop
    in JavaFX is to always create new Stages (and sometimes whole projects) for
    everything. Just like all programming it&#039;s a good thing to keep classes and
    methods small, but with NetBeans an added benefit is to be able to preview a
    Stage. Jumping around in a lot of classes takes one away from that preview.
    When I think about it it would be nice to have an option to lock the preview
    to a certain class or perhaps the project main class. Anyway, when I&#039;m done
    with one of these Stage-tests I &#034;convert&#034; it into a real class which usually
    mean that I&#039;ll have to remove a lot of test code, commented code and other
    useless lines. Then it&#039;s ready to be put to work in the real project.
&lt;/p&gt;

&lt;p&gt;
    &lt;h4&gt;Conclusion&lt;/h4&gt;
    Is short I&#039;m having fun with JavaFX and with version 1.2 I&#039;ve not felt any slowness at all.
    I&#039;m still missing things, but progress is made. It would be great if the next version could
    be binary compatible though :)
&lt;/p&gt;


        </description>
      
      
    
  </item>
  
  <item rdf:about="http://www.pmdit.se/blog/2008/10/26/interview_with_simon_phipps_about_open_source.html">
    <title>Interview with Simon Phipps about Open Source</title>
    <link>http://www.pmdit.se/blog/2008/10/26/interview_with_simon_phipps_about_open_source.html</link>
    
      
        <description>
          &lt;style&gt;
    pre { border-width: 1px; border-style: solid; background-color: #efefff; font-size: 75%; }
    img { border-width: 1px; border-style: solid; }
    td { vertical-align: top; }
&lt;/style&gt;
&lt;p&gt;
    Today I was catching up with a bunch of &lt;a href=&#034;http://twit.tv/FLOSS&#034;&gt;FLOSS Weekly podcast&lt;/a&gt; episodes.
    One episode really cought my attention, the &lt;a href=&#034;http://twit.tv/floss39&#034;&gt;FLOSS Weekly 39: Simon Phipps&lt;/a&gt; episode.
    Simon Phipps is the chief open source officer of Sun Microsystems and talks about open source in general, 
    having a business strategy based on open source and how Sun has come to be the company it is today in regard of open source.
    It&#039;s an &lt;b&gt;amazing interview&lt;/b&gt;!
&lt;/p&gt;

&lt;p&gt;
    Have you ever been in a discussion with someone about Open Source and the reason either for it to exist or for a company do adopt it?
    I have, and I always struggle with the explanation.
    I usually find it difficult to give a conclusive explanation of the business value of open source.
    Usually I get the feeling that the person I&#039;m failing to convince just get&#039;s reinforced in his or hers opposite beliefs.
    I&#039;m always annoyed by that since I know that open source is a good thing and for that reason I tend to stay away from trying to convince people.
&lt;/p&gt;

&lt;p&gt;
    I think listening to this interview can answer all of those questions with an intelligent diskussion.
    I will listen to it several more times for sure!
&lt;/p&gt;

&lt;p&gt;
    More people must have found it good since in &lt;a href=&#034;http://twit.tv/floss40&#034;&gt;the following FLOSS Weekly episode 40&lt;/a&gt; 
    the hosts Randal Schwartz and Leo Laporte talked about the positive feedback and how &lt;a href=&#034;http://www.webmink.net&#034;&gt;Simon Phipps&lt;/a&gt; 
    appearently had got so much into the discussion that he now was thinking about writing a book. 
    I would pre-order that book today!
&lt;/p&gt;

&lt;p&gt;
    I just feel good right now, I love hearing really smart people talking about great things like this :)
&lt;/p&gt;

        </description>
      
      
    
  </item>
  
  <item rdf:about="http://www.pmdit.se/blog/2008/10/08/tapestry_5_and_gwt_part_2_5.html">
    <title>Tapestry 5 and GWT - part 2.5</title>
    <link>http://www.pmdit.se/blog/2008/10/08/tapestry_5_and_gwt_part_2_5.html</link>
    
      
        <description>
          &lt;style&gt;
    pre { border-width: 1px; border-style: solid; background-color: #efefff; font-size: 75%; }
    pre b { font-weight: bold; font-size: 120%; }
    img { border-width: 1px; border-style: solid; }
    td { vertical-align: top; }
&lt;/style&gt;

&lt;p&gt;
    &lt;h4&gt;The source code&lt;/h4&gt;
    I should have done this a long time ago, but here we go. 
    The code for the Tapestry 5 and GWT tutorial &lt;a href=&#034;http://www.pmdit.se/blog/2008/04/03/tapestry_5_and_gwt_part_1.html&#034;&gt;part 1&lt;/a&gt;
    and &lt;a href=&#034;http://www.pmdit.se/blog/2008/04/08/tapestry_5_and_gwt_part_2.html&#034;&gt;part 2&lt;/a&gt;:
    &lt;br/&gt;
    &lt;a href=&#034;files/www.pmdit.se-Tutorial-Tapestry5WithGWT.zip&#034;&gt;Download NetBeans project&lt;/a&gt;
    &lt;br/&gt;&lt;br/&gt;
    The following versions of GWT and Tapestry5 are used as well as their respective dependencies that can be found on their sites.
    &lt;ul&gt;
        &lt;li&gt;GWT 1.4.60 - &lt;a href=&#034;http://code.google.com/webtoolkit&#034;&gt;http://code.google.com/webtoolkit&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;Tapestry 5.0.15 - &lt;a href=&#034;http://tapestry.apache.org/tapestry5&#034;&gt;http://tapestry.apache.org/tapestry5&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;br/&gt;&lt;br/&gt;
&lt;/p&gt;

        </description>
      
      
    
  </item>
  
  <item rdf:about="http://www.pmdit.se/blog/2008/10/07/javafx_widgetfx_and_my_first_widget.html">
    <title>JavaFX, WidgetFX and my first widget</title>
    <link>http://www.pmdit.se/blog/2008/10/07/javafx_widgetfx_and_my_first_widget.html</link>
    
      
      
        <description>
          &lt;style&gt;
    pre { border-width: 1px; border-style: solid; background-color: #efefff; font-size: 75%; }
    pre b { font-weight: bold; font-size: 120%; }
    img { border-width: 1px; border-style: solid; }
    td { vertical-align: top; }
&lt;/style&gt;
&lt;p&gt;
    I became interested in the early version of the JavaFX Script language, F3 script, thanks to the nice GUI and graphics demos. I&#039;m guessing I&#039;m not alone in that :)
&lt;/p&gt;

&lt;p&gt;
    Anyway, the preview release of the JavaFX SDK was released a while ago and I looked at it with some interest. I became more interested in actually doing something with it when I saw the
    &lt;a href=&#034;http://code.google.com/p/widgetfx&#034;&gt;WidgetFX&lt;/a&gt; project, simply becuase I like the idea of widgets/gadgets etc. Until now I haven&#039;t been able to develop and run them in a Java environment.
    I also saw the oppertunity to actually learn JavaFX Script since widgets are a really good way to make a really small, but still useful application, while getting to know the language.
    &lt;br/&gt;&lt;br/&gt;
    If you&#039;re interested in developing widgets you really should check out the &lt;a href=&#034;http://groups.google.com/group/widgetfx-dev&#034;&gt;WidgetFX Developers Google group&lt;/a&gt;.
    People like Stephen Chin, who&#039;s been answering loads of my questions :), are really good at answering all kinds of questions about WidgetFX!
&lt;/p&gt;

&lt;p&gt;
    It took me quite a lot of time to get at least a bit used to declarative UIs. I&#039;m still not there, but I&#039;ve made some progress and it&#039;s fun.
&lt;/p&gt;

&lt;p&gt;
    &lt;table&gt;
        &lt;tr&gt;
            &lt;td&gt;
                This is just a small post about my &lt;a href=&#034;http://pmdit.se/widgets/diskspace/&#034;&gt;first widget&lt;/a&gt;, a disk space monitor.
                It&#039;s not a step by step tutorial, more of a tips and tricks for a beginner.
                I&#039;ve included stuff I&#039;ve learned when working with the JavaFX Script language and the WidgetFX API.
                It&#039;ll require at least some basic knowledge of the JavaFX script language.
            &lt;/td&gt;
            &lt;td&gt;
                &lt;img src=&#034;images/widget-diskspace_0.2.jpg&#034; width=&#034;192&#034; height=&#034;99&#034;/&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
&lt;/p&gt;

&lt;p&gt;
    &lt;table&gt;
        &lt;tr&gt;
            &lt;td&gt;
                Read on, visit the quite sparse &lt;a href=&#034;http://pmdit.se/widgets/diskspace/&#034;&gt;DiskSpace Widget page&lt;/a&gt; or try it out right now.
            &lt;/td&gt;
            &lt;td width=&#034;160&#034; align=&#034;center&#034;&gt;
                &lt;a href=&#034;http://widgetfx.org/dock/launch.jnlp?arg=http://pmdit.se/widgets/diskspace/launch.jnlp&#034;&gt;
                    &lt;img src=&#034;images/widgetfx-launch.png&#034; width=&#034;100&#034; height=&#034;41&#034; style=&#034;border-width: 0px;&#034;/&gt;
                &lt;/a&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://www.pmdit.se/blog/2008/10/07/javafx_widgetfx_and_my_first_widget.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
  </item>
  
  <item rdf:about="http://www.pmdit.se/blog/2008/06/15/ubuntu_diskspace_on.html">
    <title>Ubuntu diskspace on /</title>
    <link>http://www.pmdit.se/blog/2008/06/15/ubuntu_diskspace_on.html</link>
    
      
      
        <description>
          &lt;p&gt;
I&#039;ve had very little space left on the root drive for quite some time now, but I&#039;ve not come around to check into the problem. After a crash today I was left with 1mb and therefore was forced to deal with this ;)
&lt;/p&gt;
&lt;p&gt;
As it turned out the problem was much easier to solve than I had lead myself to believe. Not beeing very familiar with Linux that is. A quick googling gave me the following &lt;a href=&#034;http://arun-prabha.com/wdpress/?p=301&#034;&gt;blog post from Arun&lt;/a&gt;. Just doing a simple &lt;b&gt;du -hc –max-depth=1&lt;/b&gt; gave me the directory occupying my missing space.
&lt;/p&gt;
&lt;p&gt;
Sometimes things really are a lot more simple than you think...
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://www.pmdit.se/blog/2008/06/15/ubuntu_diskspace_on.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
  </item>
  
  <item rdf:about="http://www.pmdit.se/blog/2008/05/25/taking_the_first_steps_with_microemulator.html">
    <title>Taking the first steps with MicroEmulator</title>
    <link>http://www.pmdit.se/blog/2008/05/25/taking_the_first_steps_with_microemulator.html</link>
    
      
      
        <description>
          &lt;p&gt;
    &lt;table&gt;
        &lt;tr&gt;
            &lt;td valign=&#034;top&#034;&gt;
&lt;p&gt;
I started looking at &lt;a href=&#034;http://www.microemu.org/&#034;&gt;MicroEmulator&lt;/a&gt; a few days ago. Unfortunately, when I tried to start MicroEmulator from the command line locally it refused to take a jad file (or class) as argument. Starting the emulator and dragging a jad file into it worked as it should. But running with an argument froze it at startup.
&lt;/p&gt;

&lt;p&gt;
Fortunately, the solution/workaround wasn&#039;t difficult...
&lt;/p&gt;
            &lt;/td&gt;
            &lt;td&gt;
                &lt;img width=&#034;100&#034; height=&#034;232&#034; src=&#034;images/microemu_generic.jpg&#034;/&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;td colspan=&#034;2&#034;&gt;
        &lt;/td&gt;
    &lt;/table&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://www.pmdit.se/blog/2008/05/25/taking_the_first_steps_with_microemulator.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
  </item>
  
  <item rdf:about="http://www.pmdit.se/blog/2008/05/23/forwarding_iis_to_tomcat.html">
    <title>Forwarding IIS to Tomcat</title>
    <link>http://www.pmdit.se/blog/2008/05/23/forwarding_iis_to_tomcat.html</link>
    
      
      
        <description>
          &lt;p&gt;
Every now and then I get the chance to do something Java related at work. This week it was installing Tomcat 6 and forwarding certain urls from IIS to it. 
&lt;/p&gt;

&lt;p&gt;
It really shouldn&#039;t have to be too much of a problem, but of course I knew that IIS wouldn&#039;t play ball. It took a couple of hours with the help of a college, but finally it worked!
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://www.pmdit.se/blog/2008/05/23/forwarding_iis_to_tomcat.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
  </item>
  
  <item rdf:about="http://www.pmdit.se/blog/2008/04/18/testing_a_web_service.html">
    <title>Testing a web service</title>
    <link>http://www.pmdit.se/blog/2008/04/18/testing_a_web_service.html</link>
    
      
      
        <description>
          &lt;p&gt;
During the last two weeks I&#039;ve been busy building a web service at work. It&#039;s the first web service for the company I work at as well as the first web service I&#039;ve ever built so it&#039;s been fun to learn a couple of new things. 
&lt;/p&gt;

&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;
The work flow consists of a couple of steps, one of them being a connection to another service performing a payment of a credit card if it&#039;s a credit card order. I wanted to be sure that it could sustain a fair load and went googling for that kind of tool.
&lt;/td&gt;
&lt;td&gt;
&lt;img src=&#034;images/soapui_example.jpg&#034;&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;
I found &lt;a href=&#034;http://www.soapui.org/&#034;&gt;soapUI&lt;/a&gt; and it&#039;s great! It took a couple of hours, but after that I had a call to the web service up and running. A test that asserted a valid soap response as well as a XPath expression that counted the number of messages returned and checked them for correct return codes. Also a load test running tests for both invoice and credit card payments. Really powerful and cool I must say.
&lt;/p&gt;

&lt;p&gt;
Not only that, it also got a good documentation which makes setting up a project really smooth. I will definitely recommend that we buy the Pro version for the next web service project! 
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://www.pmdit.se/blog/2008/04/18/testing_a_web_service.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
  </item>
  
  <item rdf:about="http://www.pmdit.se/blog/2008/04/08/tomcat_6_windows_service.html">
    <title>Tomcat 6 Windows service</title>
    <link>http://www.pmdit.se/blog/2008/04/08/tomcat_6_windows_service.html</link>
    
      
      
        <description>
          &lt;p&gt;
I installed Tomcat 6 at work the other day. The server is a windows server running our software. Most of the developers don&#039;t have admin access to it.
&lt;/p&gt;

&lt;p&gt;
    &lt;table&gt;
        &lt;tr&gt;
            &lt;td&gt;
I installed tomcat as a service and choose to have it running at startup. It didn&#039;t take long before one of my fellow developers without admin access logged in and got this error message.
            &lt;/td&gt;
            &lt;td&gt;
&lt;img src=&#034;images/win_tomcat6w_access_denied.jpg&#034; width=&#034;252&#034; height=&#034;126&#034;/&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
&lt;/p&gt;

&lt;p&gt;
Very strange. He had full access to the Tomcat directory and tomcat6w.exe, the Tomcat monitor process that was giving him the error dialog. A colleague (thanks Oscar) pointed out that tomcat6w.exe probably was trying to contact the service. Of course! Since tomcat6w was running with the logged in user&#039;s privileges and the tomcat service was running as System the monitor program didn&#039;t have enough access.
&lt;/p&gt;

&lt;p&gt;
Suggestion: don&#039;t install (I don&#039;t actually think I did that, so it might be automatic) the monitor program for people without access to the service.
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://www.pmdit.se/blog/2008/04/08/tomcat_6_windows_service.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
  </item>
  

</rdf:RDF>
