Testing Android Applications with Maven, Android-x86 and VirtualBox

Testing Android Applications with Maven, Android-x86 and VirtualBox For a few months now, I’ve been working on a small application called Cub Tracker which is designed to help Cub Scout den and pack leaders track the progress of the scouts assigned them. I’m a big fan of testing, so I’ve done my best to follow TDD as I’ve worked on the app. Early on, it became.....

Read More ›

Book Review: Real World Java EE Night Hacks - Dissecting the Business Tier

Book Review: Real World Java EE Night Hacks - Dissecting the Business Tier Last week, a great post by Adam Bien brought his latest book, Real World Java EE Night Hacks - Dissecting the Business Tier, to mind. I have since gotten myself a copy and thought I’d share my thoughts here. For starters, this is a very different kind of book. In the foreword, James Gosling describes it this way (and I’ll.....

Read More ›

Funky Object Initialization

Funky Object Initialization I’ve been using a technique a lot, recently, for initializing an object a bit more succinctly. It looks pretty odd, I’ll admit, enough so that it really caught a coworker of mine off guard. If you’ve been reading my recent REST posts, you’ve seen this a few times. I like it a lot, so I thought I’d a take a quick look.....

Read More ›

GlassFish REST Client - ComplexExample.java

GlassFish REST Client - ComplexExample.java In a series of recent posts, I’ve shown off what the GlassFish 4.0 REST client wrappers should look like, giving simple examples of using the wrappers using both Java and Python, the two currently supported languages. In this post, we’ll take a look at a more complex example, that of setting up clusters and standalone instances, deploying an app, then cleaning up after ourselves. Let.....

Read More ›

GlassFish REST Client Goes to the Flying Circus

GlassFish REST Client Goes to the Flying Circus It happened a bit more quickly than I had planned, and, yes, I know that’s a pretty bad Python joke, but, as promised, I just committed code to add support for generating Python REST clients to the GlassFish RESTful Administration interface. Let’s take a quick look at it. One easy egg to crack! Generating the python client looks strangely similar to how it.....

Read More ›

GlassFish REST Interface, a Client-side Perspective

GlassFish REST Interface, a Client-side Perspective As I’ve covered here before, GlassFish sports (and has for a while now), a pretty comprehensive set of management and monitoring REST endpoints. While this goes a long way toward opening up GlassFish management to various scripting solutions, the client side is still pretty manual. One my goals in GlassFish 4.0 is to fix that. In this article, I’m going to give you.....

Read More ›

A Quick (and oh so Brief) Look at a Windows 8 Developer Build

A Quick (and oh so Brief) Look at a Windows 8 Developer Build Call me crazy, but I tried Windows 8, albeit a developer build. An entry in my feed reader from TechBargains showed up announcing a free download of a Windows 8 developer build. It was free, so I figured it couldn’t hurt to check it out. After the 4G+ download, I was ready to create my VirtualBox Windows 8 VM, which.....

Read More ›

Android at the OKC JUG

Android at the OKC JUG Today, I presented basic Android development at the Oklahoma City JUG. In the presentation, we walked through a very simple (and very ugly) note-taking application. The app allows the user to list, view, add, edit, and delete notes. There are no bells and whistles in the app, as I was trying to find something that is non-trivial enough to be interesting, yet no so complex that the audience.....

Read More ›

My First Android App: Cub Tracker

My First Android App: Cub Tracker Over the weekend, I published my first Android application, Cub Tracker. Cub Tracker is really a pretty simple application, but one born out of a personal need. My oldest son is a Cub Scout Wolf, and I am his den leader. There have been countless times where we had been out somewhere, and my wife and I would ask each other, "I wonder if there’s a Cub.....

Read More ›

Managing GlassFish JDBC Resources via REST

Managing GlassFish JDBC Resources via REST I was asked this morning about creating JDBC resources via REST. As with user management, it’s actually pretty simple, once you’ve seen how. Let’s take a look. To create a JDBC resource, you need two different objects, a JDBC Connection Pool and a JDBC Resource. The endpoints for these two objects are http://localhost:4848/management/domain/resources/jdbc-connection-pool and http.....

Read More ›