Git is an excellent version control system, maven and jenkins are excellent ways for continuous integration and deployment, but how can you set them all up, so they will all work happily and content next to each other?
To start it all of, you are going to need :
- a maven project
- a central git repository,
- and jenkins.
On March the first, I headed for Rotterdam to try and find the Maassilo, where I expected to encounter dozens of enthusiastic fellow coders. I arrived relatively early, but even so, I had to stand in line to get my badge. So I guess my fellow coders really were enthusiastic! It’s not often that I encounter so many coders that don’t mind getting up early. With my badge and bag of goodies in hand I headed off to the main stage, where coffee, muffins and cheese scones could be found.
Amazon Relational Database Service (Amazon RDS) is a web service that makes it easy to set up, operate, and scale a relational database in the cloud. It enables people without almost any knowledge of databases to administer, for instance, MySQL databases. After running some time an MySQL RDS based database we discovered that standard installations of an RDS based on MySQL does not support the database triggers. This is mostly a rights/permissions issue, but changing the user privileges of the database user did NOT help. In fact, you get errors one not directly relates to the incapacity of the MySQL database in RDS to create the database triggers. Read more…
We all do it, or at least some of us do it, trying to write test cases for a good code coverage of all the possible solutions for a complex problem. Some of us even try to drive the design for programs through a test driven approach. That is something that I am not a fan of because I think that once you start
programming for a while and start doing test driven development, you are capable enough of overseeing a problem and knowing the general direction for a solution, so the test driven design in my opinion can lead to waste. Waste as in test cases that are not needed anymore and if those test cases are not cleaned out might even lead to misunderstandings. Mind you, most of the time that won’t happen of course, because good test driven developers will clean away the waste. Read more…
Most likely you have found yourself in the following situation: you’re at the start of new web application project and one thing you need to take care of is the layout. Problem is that you can build static HTML templates with dummy data, but then you have to (manually) convert these into JSP. When you don’t have a running system you don’t have any choice but to make static HTML, or model templates a different way. Because of this the main problem will be on how to update the system given this (updated) design. This post will described the Thymeleaf framework which addresses these issues and will allow static templates to run unchanged in a web application.
It’s taken me quite a while, but I finally finished my summary of GotoCon Aarhus. On the StoryTroop website you can find all my blog posts about the sessions I attended. But for your convenience, I’ve written this summary of the summaries with links to the individual stories (the link is in the title).
Sunday September 30th
This was a half day tutorial about six possible strategies you can use to influence the people around you.
This was another half day tutorial, but this time about how you make decisions yourself. Linda debunked some of the common misconceptions about thinking that we all have.
I started a new project to play with JSF 2 and hibernate 4. The project consists of the frameworks JSF 2.1, RichFaces 4.2, CDI and Hibernate 4. I built it all with maven and it can be deployed on JBoss 7 with a MySQL database but you can also use a tomcat or glassfish server with another database.
In the past I used Hibernate 3.x and the hibernate-maven-plugin to generate a schema out of the entities in my java project. So I thought this will also be available for hibernate 4. Unfortunately it isn’t. However there is a way to generate a ddl file when you build your war with maven.
Let me show you how.