Archive for the Open Source Category

Spring Boot Basics

Posted in Java, Open Source, Software Development, Spring, Spring Boot with tags , , , on May 14, 2017 by jstevenperry

Hello, World! Would you like to learn Spring Boot? I have written a new tutorial for IBM developerWorks that shows you how to use Spring Boot.

The tutorial starts off with a simple Hello World (actually, Hello Spring Boot) application.

Then I crank up the volume and show you a more complicated use of Spring Boot with a Spring MVC application called SpringBootDemo.

You can access the tutorial at IBM developerWorks by clicking this link.

A video accompanies the tutorial. You can access it from the tutorial, view it embedded below, or click here to view it on YouTube.

Please let me know what you think. Thanks for reading!

–jsp

Hallelujah!

Posted in Java, Open Source, Software Development on December 27, 2013 by jstevenperry

Hallelujah!

Anyone who uses the JDK Date/Time API knows it, well, sucks. Badly.

Joda-Time was created to remedy the numerous shortcomings in the JDK’s stock Date/Time API. And it pretty much ruled for a very long time. Include it in my Maven POM and, boom!, just like that, I had a very good Date/Time API.

I wrote an article for IBM DeveloperWorks about Joda-Time in an attempt to share this news with those who didn’t know they had to suffer in silence.

So imagine when I read this article at JavaWorld about JSR-310. Basically Joda-Time’s (very few) design flaws will be fixed and the spirit of Joda-Time will be included in the JDK as part of Java 8 (at least, that is the plan). I’m sure that is not a completely accurate characterization of the situation, but basically the new JDK Date/Time API will be very familiar to anyone who has used Joda-Time.

–jsp

Android Invades the Desktop (ZDNet)

Posted in Android, Open Source, Software Development on June 26, 2013 by jstevenperry

Android Invades the Desktop (ZDNet)

This is really cool. Maybe I think that because I really like Android. But there’s something kind of neat about the idea of having a unified desktop between my mobile devices and my development workstation. Sure, there’s no IDE for Java (or any other language I know of) for Android. Yet. But stuff like this is a good first step.
Well done.

Missing artifact com.sun.jdmk:jmxtools:jar:1.2.1 – WTF?

Posted in Open Source, Software Development on April 24, 2013 by jstevenperry

Do you use Eclipse and get this error? Do you use Maven? Have you recently added log4j 2.1.15 as a <dependency>?

If you answered “yes” to all three of the above, then this short post is for you.

To make this work, use a different version of log4j. Yep, it’s that simple. For example, use this POM snippet:

    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.16</version>
    </dependency>

This will use version 1.2.16 instead of 1.2.15 and you should see this weird error go away.

If you care about what is causing this, read on. If not, good luck and have fun.

Apparently, the 1.2.15 release of log4j has some dependencies that are not available in the central maven repository because of licensing issues. This post (http://unitstep.net/blog/2009/05/18/resolving-log4j-1215-dependency-problems-in-maven-using-exclusions/) has more information in it.

Keep coding.

–jsp

Keep Your Enemies Closer

Posted in Open Source, Rants, The World of IT on August 5, 2011 by jstevenperry

Check out this latest Message Board entry at the Java Enterprise Open Source Application Architecture forum I manage at IBM DeveloperWorks!

Join up. It’s free!

Upgrading from Helios to Indigo?

Posted in General, Open Source, Software Development with tags , , on July 14, 2011 by jstevenperry

It’s easy. Here’s a great blog article on upgrading from Helios to Indigo:

Click Here (if you dare)

I love it when things are easy! I’m lazy that way.

I LOVE this! Android Open Accessory Development Kit (ADK)

Posted in Electronics, Open Source, Software Development on May 12, 2011 by jstevenperry

Every now and then, some really cool pops up on my radar. In this case I saw this article at Info World about Google’s Android Open Accessory Developer Kit (ADK).

I’m a bit of a do-it-yourselfer, so when I saw this, I just had to tell you about it (yes, all three of you who read this blog).

I can envision a number of really cool electronics projects that I could do with this. Of course, I’ll need to invest in an Android Tablet (but I was probably going to do that anyway), but the ADK is free to download, and there’s no annoying developer program to join.

Cool. Way cool.

–jsp