Blog Archives

Encryption between Java/Android and PHP

Use case While working on an android app that retrieves it’s data from a PHP-API  I needed to build a both-sided en- and decryption layer to secure the requests and responses properly. I decided to use an AES encryption with

Posted in Android, Encryption, Java, PHP, Security, Webserver

Enable Zend PHP Debugging under IntelliJ 11.1

Use case In this tutorial I assume that you have already installed and configured the Web server and the PHP engine properly. If not, please have a look at this tutorial. Solution In our configuration we use all default properties

Tagged with: , ,
Posted in Debugging, IntelliJ, kubuntu, Linux, PHP, Webserver, Zend

Grails: java.lang.OutOfMemoryError: PermGen space

Use case Developing with IntelliJ and Grails sometimes leads to memory problems, particularly considering the PermGen space – even with plenty of RAM. This issue occures especially after re-deploying several times while debugging. Incident This is more a flaw with Tomcat itself,

Tagged with: , , , , ,
Posted in Grails, Groovy, IntelliJ, Java, Webserver

Installing Apache2 and Tomcat6 with mod_jk on Ubuntu 10.10

Use case This brief step-by-step guide tries to explain how to install Tomcat with Apache and mod_jk on an Ubuntu 10.10 system considering following components Apache 2, MySQL 5, PHP 5, PhpMyAdmin, Sun Java JDK 1.6, Tomcat 6.0, Tomcat-Admin, mod_jk

Tagged with: , , , ,
Posted in Java, Uncategorized, Webserver