USE SPRING REST AND JACKSONXML TO ACCESS GOOGLE MAPS ROADS API (TUTORIAL AND EXAMPLE)

simple

February 29, 2016

General

In the following tutorial we will integrate access to the REST/JSON API of GOOGLE MAPS ROADS in a Java Web Application. Please setup before an appropriate environment as this tutorial requires you to use a current Java Development Kit JDK, the Netbeans IDE and a working Tomcat Installation as described in the Prerequisites. Tutorial Step 1. […]

Read More

Use Spring REST and JacksonXML to access Foursquare (Tutorial and Example)

simple

January 24, 2016

General

In the following tutorial we will integrate access to the REST/XML API of Foursquare in a Java Web Application. Please setup before an appropriate environment as this tutorial requires you to use a current Java Development Kit JDK, the Netbeans IDE and a working Tomcat Installation as described in the Prerequisites. Tutorial Step 1. – Integrate […]

Read More

Prerequisites for a Java Web Application

simple

January 19, 2016

Java

Prerequisites for a Java Web Application If there is no JDK installed on your System you must first download it for the appropriate platform. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html You also need a current installation of Netbeans which you can download from: https://netbeans.org/downloads/ Last but not least we also need an application server and choose therefor Tomcat, which you […]

Read More

Setup Primefaces Website with Google Maps (Tutorial and Example)

simple

January 17, 2016

Java

To setup a JSF Website using Primefaces with Google Maps not much time is necessary. As en environment this tutorial requires you to use a current Java Development Kit JDK, the Netbeans IDE and a working Tomcat Installation. Prerequisite If there is no JDK installed on your System you must first download it for the […]

Read More

Better openerp-server init.d script, for ennhanced Monit/d behavior

simple

December 6, 2012

Linux

No Comment

This script was taken from the default distributions openerp-server init.d script and mainly modified for improved Monit/d behavior. The main problem was that sometimes the openerp-server could not be reliable shutdown – as a result a manual kill had been necessary. This should be now addressed with the following script: [crayon-576e29928eb17214117267/]

Read More

Postgres: Copy a database

simple

November 17, 2012

Databases, Postgres

No Comment

For backup and development reasons a copy of a postgres database on the same system is often used. This is not a big problem and can be done directly as a SQL statement: [crayon-576e29928ed4e212010035/] in your favorite console (psql, pgadmin, etc). There is one thing to remember, if you do a template copy this can […]

Read More

Eclipse: convert upper case text to lower case and viceversa with a simple shortcut

simple

November 7, 2012

Development, Java

No Comment

This is just a quick post to share these 2 little shortcuts to convert text from lower case to uppercase and vice-versa in Eclipse. Lower case: CTRL+SHIFT+Y (CMD+SHIFT+Y on Mac OS X) Upper case: CTRL+SHIFT+X (CMD+SHIFT+X on Mac OS X) Camel case: Anyone knows a shortcut? You can select one or more characters to convert.

Read More

OpenERP: Connect Kettle to OpenERP

[1] http://kettle.pentaho.com [2] http://ci.pentaho.com/view/Data%20Integration/job/Kettle/ [3] http://apps.openerp.com/addon/1833?filter=%7B%22order_by%22%3A+%22click_counter+desc%22%2C+%22author%22%3A+78%7D&page=0 [4] http://erpmoldeo.wordpress.com/2011/02/10/openerp-kettle-and-terminatooor/ [5] http://www.akretion.com/en/products-and-services/openerp-kettle-bi-connector-terminatooor [6] http://forums.pentaho.com/showthread.php?98831-Asking-OpenERP-module-for-pentaho-data-integration-(Kettle)

Read More

Glassfish: Running in an java.lang.NoSuchMethodError Exception, when porting a Glassfish2 project

Using the default installation with the standard domain “domain1” of a fresh Glassfish3 installation, I deployed an old Entprise project. The project worked perfectly with Glassfish2, but on Glassfish3 I did ran into an java.lang.NoSuchMethodError: [#|2012-08-07T15:38:25.983+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=20;_ThreadName=Thread-2;|org.apache.commons.collections.MapUtils.putAll(Ljava/util/Map;[Ljava/lang/Object;)Ljava/util/Map;at org.glassfish.apf.AnnotationInfo@cb88c8 java.lang.IllegalStateException: org.apache.commons.collections.MapUtils.putAll(Ljava/util/Map;[Ljava/lang/Object;)Ljava/util/Map;at org.glassfish.apf.AnnotationInfo@cb88c8 at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:487) at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:429) at com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:405) at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:380) at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:243) at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:252) at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:657) at […]

Read More

Magento: Adding a list of categories as a single category block to Magento

Magento is missing per default a categories block, so you have to code it on your own. For this knowledge of the language php or better 😉 might be required. First we need to change the layout in the file of your magenta installation (assuming that we use the Theme WEBBLAZER): [crayon-576e29928ef7f094773946/] add the following […]

Read More