| Subcribe via RSS or via Email

Updated terrcotta wicket-tim

December 7th, 2008 | 7 Comments | Posted in Java, Wicket

The latest version of the wicket 1.3 and terracotta integration is out (1.1.3).

The code will now automatically configure your application to use the correct page store, with a default of 100 pages history per page map.  If you need to override this value then you can override the the newSessionStore method in your WebApplication class, as in the previous version (see this post).

So in most cases all you need to do to use wicket with terracotta is include the tim in your terracotta configuration like so.

<module name="tim-wicket-1.3" version="1.1.3"/>

The next thing i’m going to be working on is wicket 1.4 support, which I should get finished before wicket 1.4 goes live.

Tags: ,

So VAT is reduced

November 25th, 2008 | 1 Comment | Posted in General

<sarcasm>

yay, woo, this will make me spend loads of money

</sarcasm>

So the government reduces VAT by 2.5 percent.  So for every £1000 I spend, I will save a whole £25.

And for that privilage I will get to pay higher taxes in a years time, probably for the next 10 years.

Cant say im convinced.

I’m just waiting for all those systems with a hard coded figure of 17.5% for VAT not being able to handle the change, it could be Y2K all over again.

Tags:

A simple wicket and terracotta example

November 23rd, 2008 | 4 Comments | Posted in Uncategorized

Since the publication of the updated wicket terracotta plugin I have been working on a simple example app.

I decided to use the terracotta maven plugin, which means that you dont need to download anything, maven will do it all for you.

Simply extract the zip file and run

mvn tc:run

Then point your browser at http://localhost:8080/simple-wicket or http://localhost:8081/simple-wicket to see it in action.

You can read more about the terracotta maven plugin on this url

Edit:

I have corrected the typo pointed out to me. Just goes to show that you should test your code in a different user account to the one you have multiple versions of the same project installed in your local maven repo.

You can download the source code here simple-wicket1.zip