Thursday, April 28, 2011

Setting up a Development Environment - JEE

Recently i had to configure a development environment for a new project. Since it is interesting thought of posting it here.

Tools, etc used
Maven-AppFuse
SVN
TeamCity

Maven-AppFuse
This project is build using Maven with AppFuse. AppFuse is great to develop web application using java. With Maven its amazing. We used Struts 2,Spring, Hibernate. Since there is Maven pluging for AppFuse you can create a simple application in a minute. Also there are very good design pricipals they have used. Ether you can just use it or you can modify it. Struts 2 magic with Maven and Appfuse

SVN
Since the company having few issues with the CVS they decided to go with SVN for this new project. Intalling svn is not a big deal. Follow the steps here (SVN on CentOS). Some of the useful SVN commands also in there. Then you can add your project to it.

TeamCity
TeamCity used as the Continuous Integration server. Again this is also very easy thaks to jetbrains. Just download it and run the "runAll" script.
After installation you have to add projects to it. For that you can use the TeamCity Documentation. You have set your build tool (Maven/Ant,etc) and Version control system (SVN,CVS) and set build triggers.