In this post I will show how to install CloundFoundry on Windows and VirtualBox using Vagrant and bosh-lite.
Prerequisites:
Installation of Vagrant for Windows
Installation of VirtualBox for Windows
After you've installed Vagrant and VirtualBox you start by cloning https://github.com/cloudfoundry/bosh-lite
git clone https://github.com/cloudfoundry/bosh-lite
Now go into your bosh-lite directory...
Donnerstag, 19. März 2015
Freitag, 13. März 2015
Creating Dynamic Entities with EclipseLink in a Java EE Application
Posted on 13:46 by Unknown
In the last project where I had to use EclipseLink as the JPA provider for a web-based application. One of the nice features of EclipseLink is the ability of creating dynamic entities. Dynamic entities are virtual entities which can be mapped to the database. That means that you can define a entity at runtime and persist this entity. In this post I will show you how to create dynamic entities and...
Montag, 2. März 2015
OpenHAB Metro like Visualization
Posted on 12:56 by Unknown

Currently I'am trying to make my home smarter. I'am a big fan of home automation and wanted a flexible gateway for using different protocols and sensors. Therefore I've started with the OpenHAB project which is a good choice if you want to connect many smarthome protocols. In my setup I'am using Z-Wave dongle and some of the Fibaro Dimmers and Shutter...
Montag, 23. Februar 2015
Spring RESTful service with SWAGGER integration
Posted on 12:04 by Unknown
In this post I will show how you can integrate Swagger into a Spring RESTful service.
For this tutorial I am using the Spring RESTful maven project from this site.
At first you have to add the swagger-springmvc and scala-library libraries to the dependencies in your maven pom.xml so that it looks like this:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
Sonntag, 22. Februar 2015
Jackson circular dependencies on deserialization with @JsonIdentityInfo
Posted on 09:12 by Unknown
Recently I had to implement a RESTful service which had to have a CRUD interface for storing entities with circular dependencies given as JSON. Usually if you have for example an object like this:
"graph": {
"nodes": [{"name":"n1"}, {"name":"n2"}],
"transitions": [{"source": {"name":"n1"}, "target": {"name":"n2"}]
}
and having these Java classes:
@Entity
class Graph {
@Id
...
Samstag, 21. Februar 2015
Fritz!Box Phonelist Microservice with Spring Boot
Posted on 12:03 by Unknown
While making my home smart and automated I wanted to see the phonelist from my Fritz!Box 7362SL in my home visualization as well. Since I didn't find a javascript library for accessing the Fritz!Box via a Challenge-response authentication to put directly into my visualization page I later came across a Java implementation on https://github.com/grundid/fritzbox-java-api. This library is currently...
Mittwoch, 27. August 2014
HTML Application (HTA) with database access and CSS styling
Posted on 00:31 by Unknown

Once I needed to implement a small script that should read rows from a database and create a CSV file based on a particular filtering. I knew much about command line VB and Java scripting but a main requirement was to have a simple GUI which for entering the filter criteria.
After a while I ’ve found a tutorial about HTML Applications and immediately...
Abonnieren
Posts (Atom)