Quantcast
Channel: Adrian Smith's Blog » java
Browsing latest articles
Browse All 12 View Live

Using Managed Sessions in Hibernate to Ease Unit Testing

If you’ve ever tried to reuse a session in Hibernate you may have come across this exception… org.hibernate.SessionException: Session is closed! at...

View Article



Problem with Hibernate many-to-many association

This post is really a record for both myself and anyone else who ever comes across the same problem. The Problem: Given two entities with a many-to-many association between them, the join table isn’t...

View Article

UPM 1.4 Released

Version 1.4 of UPM has just been released. The most important feature in this release is the support for multiple languages. It ships with English and French language bundles but I’d really appreciate...

View Article

Hiding & Unhiding the text in a JPasswordField

JPasswordField is a Java SWING control used to manage password fields. Rather than use a normal JTextField it masks the characters typed by the user with some other character (default is an ‘*’). Very...

View Article

UPM 1.5 Released

Just thought I’d slip another release of UPM out before the end of the year. Here’s what’s new in this release… - Added Czech and German translations (courtesy of Petr Ustohal) - Added username and...

View Article


Meteor WebSMS

As a Java5/JUnit4/Maven2 learning exercise I’ve written a simple little SMS command line utility called Meteor WebSMS. It allows you to bypass Meteor’s website and send the free web SMS messages they...

View Article

Image may be NSFW.
Clik here to view.

How to Create a Remote Paging Listview Using GWT-Ext

Creating a remote paging listview isn’t particularly difficult but getting to the point of knowing how all the pieces fit together can be tricky first time round. This post describes how I created a...

View Article

Multipart form upload on Android

Android 1.5 includes Apache HttpClient 4 for the purposes of making HTTP requests. Unfortunately HttpClient 4 (or the version included with Android anyway) doesn’t appear to support multipart form...

View Article


Installing Debian 7.1 “Wheezy”

Every time I install Linux, no matter what the distribution, I have the same problems; configuring video and audio. When I installed Debian 7.1 recently I documented the steps I took. Hopefully you’ll...

View Article


Installing Android Studio on Debian Wheezy

Android Studio is the new IntelliJ IDEA based Android IDE. It succeeds the current Eclipse based IDE. Android Studio requires Oracle Java 1.6 or later. It won’t work with OpenJDK. Installing Oracle...

View Article
Browsing latest articles
Browse All 12 View Live


Latest Images