Category: Development

Unity Tips & Tricks: Multiple Event Systems in a Single Scene (Unity 5.1)

Unity Tips & Tricks: Multiple Event Systems in a Single Scene (Unity 5.1)

| September 7, 2015 | 5 Replies

Yup, that’s correct, having multiple event systems in a single scene is possible. It requires a bit of trickery, but in the end, the job gets done. Here’s some background. I’ve been making a 2D shoot ’em up game in Unity. The primary goal is to learn how to use the different Unity APIs and […]

Read More

Create Unsigned PKCS10 Certification Request in Java using Bouncy Castle

Create Unsigned PKCS10 Certification Request in Java using Bouncy Castle

| April 21, 2015 | Reply

Usually, when you create a CSR, you have to: generate a private/public key pair, create a PKCS10 CSR with the public key and a X500 Subject, sign the CSR with the private key. This is literally what the Java Crypto APIs and Bouncy Castle NEED to do if you want to get the encoded CSR. […]

Read More

ZK Router Security

ZK Router Security

| December 9, 2014 | Reply

Since the ZK Hash Router was recently updated, the security part was moved to a seperate plugin. In this post I will explain how the plugin works and how to configure it. Defining security constraints The security constraints are currently very simple to use with the ZkRouteSecutiyConstraint class. All the needed data is a path […]

Read More

ZK Hash Router With Spring DI

ZK Hash Router With Spring DI

| October 27, 2014 | Reply

2014-12-09 Update: The router has been updated. This post has been edited to reflect the changes. As a result, the security part can be found here The ZK Framework offers great support for SPAs (Single Page Applications), however it lacks one key feature – a routing solution. Standard javascript routers usually inspect the value of […]

Read More

ASP.NET WebApi with NHibernate and Unity – Application Architecture

ASP.NET WebApi with NHibernate and Unity – Application Architecture

| September 16, 2013 | Reply

Recently I had to propose a sample .NET application which exposed a REST API. One of the requirements was that it had to use NHibernate. I am currently used to developing similar Java applications with Spring and Hibernate so naturally I decided I wanted the familiar architecture with clearly differentiated Controller, Service and DAO layers. […]

Read More

Beware overloaded operators in .net (for java programmers)

Beware overloaded operators in .net (for java programmers)

| June 6, 2013 | Reply

The following screenshot will be enough to make a fool of myself. As one can see the to variable is NULL. Why am I inside the if body then? I don’t know. I tried all kinds of variations of this piece of .. code. It turns out that the == operator is overloaded for the […]

Read More

Strange Fancybox/Ajax behavior – HierarchyRequestError

Strange Fancybox/Ajax behavior – HierarchyRequestError

| October 29, 2012 | Reply

A few days ago I accidentally discovered a weird behavior in fancybox. It’s present both in the old 1.xx and in the new 2.xx versions, up to 2.12. If you try to load images with fancybox, and the files in the file system don’t have extensions, an exception gets thrown by jQuery. The exception is: […]

Read More

Poor man’s RMI for Android

Poor man’s RMI for Android

| October 11, 2012 | 8 Replies

I had to create a bridge between an Android application and a Java application which uses RMI as a service interface. Its well known that Android does not support the RMI part of Java and a web service is NOT an option in this particular case. I did some research and it turns out there […]

Read More

Spring 3.1, Hibernate 4 and Jackson-Module-Hibernate

Spring 3.1, Hibernate 4 and Jackson-Module-Hibernate

| March 12, 2012 | 4 Replies

Those of you who use Spring MVC 3 with Hibernate have probably also used jackson-module-hibernate to handle json serialization from hibernate proxies. With the recent release of Hibernate 4 the old version of jackson-module-hibernate has become obsolete, and indeed, the people behind jackson-module-hibernate have created a new version. However, this new version is intended to […]

Read More