Skip to main content

You are currently viewing the Trifork Blog, to view our full website please go to Trifork.com

Guice versus Spring

Craig Walls, author of spring in action just blogged on the subject of Spring and Guice. Pitting the two inversion of control containers against each other he concludes : “I’m glad that I spent the time to learn a little about Guice, but I’m not all that “juiced” about using Guice. In addition to all […]

Spring and DWR – Ajax made Easy

Direct Web Remoting (DWR) is an Open Source initiative that provides easy Ajax for Java. Besides being the best Ajax framework for Java developers, it has one more big feature, at least in my opinion. It integrates very nicely with Spring, by provides the means to easily remote your spring-managed beans to JavaScript. However, up […]

XGL and java

A couple of months back I tried out a very nice opengl based x server called XGL. I followed the instructions outlined at http://www.ubuntuforums.org/showthread.php?t=131267 and had it working in record time. However there was one catch. Java applications would not render properly. For instance when I would start intelliJ Idea all the dialogs , menu […]

Integrating Spring and GWT

I just completed my first shot at integrating Spring with GWT. You can check it out here Here’s what you do to expose a simple service. 1) Write the remote service, note that the service no longer extends RemoteServiceServlet however HelloService should still implement RemoteService public class HelloServiceImpl implements HelloService { public String sayHello(String name) […]

Google WebToolkit remoting

Last week I started playing around with the google webtoolkit an Ajax framework that allows software engineers to develop complex ajax web interfaces in java rather than javascript. I found the google webtoolkit not without it’s limitations, most noteably it is very hard to style / layout pages compared to jsp templates etc. But I […]

EasyMock2 in a Nutshell

The essential tool for unit testing, EasyMock, has come to a new level. This blog entry introduces the new EasyMock2 release. While it is still in pre-release stage, I do recommend using EasyMock2 for all your Java 5 projects. To quote Tammo Freese (Project Founder) from the EasyMock project: ‘I plan no modifications other than […]

Your first cup of DWR…

Important: this post is fairly outdated. Take a look at my more recent blog post on DWR and Spring integration. Ok, so you want to create a more intuitive and responsive web application? And you’ve decided to give AJAX, HttpXmlRequest, DWR or any other buzzword of the last few months, a try? Now, if you’re […]