The building of a web application

The simple way, extracted from the hard methods

Archive for December 2011

I want a working pom for generating my project!

POM is for the developer sweet candy and ‘too bitter and sour lemon’ at the same time.
From one point it’s a heaven to manage your dependencies, at from another point it’s the source of dependency hell.

Mainly because IDE’s doesn’t have every listing of dependencies, groupIds and artifacts ‘out of the box’-included. So you’ll have to find the rest of the ones you’ll need on the internet. Please double check to be sure nothing is outdated, or turned into a dead project.

Read the rest of this entry »


Written by RiVaSo

13 December 2011 at 17:38

Posted in How To

Tagged with , ,

I want to develop a java-ee-maven-wicket-postgresql application on Windows!

What you’ll need:
– A windows environment ( WinXP or Win7 are recommended )
– A ‘recently enough’ version of JDK of Java. ( 6u29 )
– A ‘recently enough’ version of PostgreSQL ( 9.1.0-1 )
– A ‘recently enough’ version of  Netbeans ( 7.0.1 )
– A ‘recently enough’ version of Maven 2, Standalone installer(because accessing the build-in maven of netbeans via cmd is surprisingly hard ). ( 3.0.3 )
– A ‘recently enough’ version of Wicket ( 1.5.3 )

Begin with installing the JDK, I’m using version 1.6u29, since I’ve read rumours about that version 7 isn’t stable enough yet. Time will tell. I didn’t tried to install Java EE SDK including Glassfish, because NetBeans has an embedded Glassfish instance at its own.

Please note that you don’t have to install pgAdmin ( the admin tool for your PostgreSQL DB ), it’s already included in the PostgreSQL installer.

Note that you’ve to unpack Maven by yourself, and don’t forget to add it to your (system) path of your system environment, create also two new system environment variables: JAVA_HOME ( preferably  C:\Program Files\Java\jre6\ WITHOUT quotes ) and CLASSPATH ( .;%JAVA_HOME%\lib ).

Written by RiVaSo

12 December 2011 at 16:40

Posted in How To

Tagged with , , , , , , ,