Category Archives: English

Java DateFormat: Do use FastDateFormat or clone() to achieve Thread-Safety

TL;DR: Use Apache Commons FastDateFormat. Use DateFormat.clone() if you can’t use FastDateFormat. Continue reading

Posted in Carano, Computers, English, Java | Leave a comment

Looking for great Ionic 2 example apps – Ionic 2 Conference Application by Ionic

This is not original content, but praises https://github.com/driftyco/ionic-conference-app as a great example for an Ionic 2 Angular 2 TypeScript app. Continue reading

Posted in Angular.js, Computers, English, Ionic | 1 Comment

Using Docker to create Ionic 2 PWA developer environment

For creating a simple Progressive Web Application (PWA) I chose Ionic 2 because it looks cool and it’s based on Angular 2.

I show, how I used Docker to set up a tiny developer environment on a MacBook, avoiding involved installation and isolating my host from all the mishaps that may (will) happen on its way.

At the same time, you’ll take a glimpse at Docker’s ease of use, up to using Docker Hub’s cloud infrastructure. Continue reading

Posted in Angular.js, Computers, Docker, English, Ionic, Mac OS X | 8 Comments

How to restore an EBS based Amazon EC2 Windows instance from a snapshot

This mail showed up this afternoon within my inbox: Dear REINER SADDEY, Your volume experienced a failure due to multiple failures of the underlying hardware components and we were unable to recover it. Although EBS volumes are designed for reliability, … Continue reading

Posted in at other Locations, Computers, English | Tagged , , | 3 Comments

Grails and Microsoft SQL Server – Not so painless when using Unique Constraints – A Pragmatic Work-Around

When porting your Grails application from just about any database to MS SQL Server, four areas come to my mind that require your immediate attention: Primary key generation strategy (not covered here) Case sensitivity and collation issues (not covered here) … Continue reading

Posted in English, Grails, Hibernate | 1 Comment

Episodes from the Life of a Mac Convert – How to install Apache?

Yes, I shout it out to all my fellow brothers – after having led a sinful life of Windows miseries, I now have become a true and humble Apple believer 🙂 I wanted to install a web server on my … Continue reading

Posted in English, Mac OS X | Leave a comment

How to Deploy a Grails Application to GlassFish

As outlined at How to Deploy a Grails Application to JBoss 5, deploying to JBoss 5 just requires to remove some logging jars and disable Grails logging configuration. With GlassFish however, it is required to supply certain logging jars (e.g. … Continue reading

Posted in English, Grails | Leave a comment

How to Deploy a Grails Application to JBoss 5

As outlined at Grails – How to Use Native Server Logging Configuration (e.g. Tomcat GlassFish JBoss), it may be advisable to remove any conflicting logging implementation when deploying a Grails application into a production environment. I’ll give a full source … Continue reading

Posted in English, Grails | 7 Comments

Teaching Mavenized Grails to Survive mvn release:prepare release:perform with Hudson

A mavenized Grails project has 2 competing sources stating the version of the application <version> within pom.xml app.version within application.properties If 2. does not match 1. the grails-maven-plugin will abort the build, urging you to manually fix the version mismatch. … Continue reading

Posted in English, Grails, Maven | Leave a comment

Maven – Never Say Never in an updatePolicy

I want to share a misconception that caused Maven to fail when looking for artifacts. Im my example I was upgrading from Grails 1.2.0 to 1.2.1 and including a dependency to grails.org:grails-core:[1.2.1,1.2.1]. Maven would just complain with Couldn’t find a … Continue reading

Posted in English, Maven | Leave a comment