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

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 […]

Disabling the Firefox DNS cache

If you, like me, make frequent changes to your host file, for instance because your staging and production environment both listen to the same vhost. You will have probably noticed that it takes Firefox a while to pick up on the alterations you made. This is because in order to improve performance by default Firefox […]

JIRA firefox plugin

For all the JIRA users out there. I just created a very simple JIRA plugin that allows you to add your JIRA instance as a search site in the Search Bar in the upper-right corner of Firefox. Who knows you may find it useful. You can find out more about it here

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 […]

Crashing notepad

Crashing notepad

Even though it’s kind of cheap to point and laugh at Microsoft’s “industrial strength” products I didn’t want to deny anyone this screenshot. I created a shortcut that automatically opens my hostfile using notepad by specifying the following target : %windir%\system32\notepad.exe %windir%/system32/drivers/etc/hosts and then tried to save my hostfile under a different name using save […]

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) […]