Build and Run JEE Applications in the Cloud

CloudBees offers a service to build and run JEE applications. After registering you get an ready to use Jenkins build system and an application server instance to run your application. Both is free with some limitations. The best thing is: You can combine both services. After building your application Jenkins is deploying it automatically to it’s CloudBees fellow and the build result is online and ready for use immediately afterwards.

Weiterlesen

PostgreSQL – List indices

Indices
Just a short note about listing indices of PostgreSQL databases.

Weiterlesen

Dub-Techno Mix (Traditional Style)

I released my first DJ mix on SoundCloud, a platform to share sound. Since SoundCloud provides widgets for WordPress Blogs like this, you can listen to the mix right here. Just click the Play button before you continue reading:

Weiterlesen

Table-Detail-View with RichFaces Data Table

AJAX !!

It’s a common task in almost every application to show a table with a list of items and a detail view with one selected item of the table. RichFaces provides a data table component with a lot of sorting and ordering features called extendedDataTable. I will show how to implement the selection of one item of the table and display the item data in separate detail component. All action is done by AJAX requests without a page reload. You need a JSF application and RichFaces components to run this. To get started see the RichFaces Developer Guide.

Weiterlesen

JSF and Dependency Injection

Inject

Last week i noticed that you can easily inject one managed bean into another in your JSF configuration file faces-config.xml. Even if this not new to all of you i will write some configuration details.

Weiterlesen

Public-key cryptography

Enigma

Using public-key cryptography anyone can encrypt messages using the public key, but only the holder of the paired private key can decrypt. Security depends on the secrecy of that private key.

This article describes the Java implementation of this approach based on the open source cryptography API for Java from Bouncy Castle.

Weiterlesen

Deutsche Rechtschreibprüfung in Eclipse

Babelfisch

Eclipse enthält eine Rechtschreibprüfung. Leider kann man die Prüfung nicht einfach auf andere Sprachen umstellen, wie es trotzdem geht beschreibt dieser Artikel auf javathreads.de.

Benötigt wird eine einfache Textdatei mit möglichst vielen deutschen Wörter. In jeder Zeile muss genau ein Wort stehen. Ein solche Datei mit über 300.000 Wörtern lässt sich einfach mit aspell erzeugen.

Weiterlesen

Parameter Substitution In Resource Bundles

Tower Of Babel

If you use Java resource bundles to add multi language support to your application you sometimes need to add parameter to you properties but resource bundles from the JDK itself does not support parameter substitution.

Weiterlesen

Saving Files in Derby with Hibernate

Snowflake

I use a byte-array to persist a file in a database with hibernate. After converting file data to a byte-array i map the byte-array to a property of type BINARY:

Entity class:

public class Attachment implements Serializable {
  private byte[] fileData;
  public byte[] getFileData() {
    return fileData;
  }
  public void setFileData(byte[] fileData) {
    this.fileData = fileData;
  }
}

Weiterlesen

Songbird On Ubuntu 9.10 Karmic Koala

After upgrading to Ubuntu 9.10 (64-bit) i noticed that Songbird is not running anymore. After starting from command-line there are some error messages related to gstreamer.
Weiterlesen

Follow

Get every new post delivered to your Inbox.