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

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

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