on code

Tuesday, November 17, 2009

DuplicateMappingException: Duplicate class/entity mapping

It turns out the deceptive exception can be thrown from an improperly formed Many-to-Many relationship declaration. I'm not going to take the time to document a correct declaration here but I was getting this misleading error message and was searching for an obvious problem with imports when it turned out to be the @ManyToMany annotation usage.

Monday, November 16, 2009

Mockingbird

Mockingbird

Handy tool to remember especially from a Mac/Linux standpoint when one lacks Visio.

Thursday, November 12, 2009

Chromium Blog: A 2x Faster Web

Chromium Blog: A 2x Faster Web

It is about time someone did this. There's no reason to think the HTTP protocol is the optimal and only protocol to last through the ages.

Monday, November 9, 2009

SQLAlchemy - The Database Toolkit for Python

SQLAlchemy - The Database Toolkit for Python

I need to explore the world of ORM'ing in Python. Python might just be the best cloud option going these days.

Friday, November 6, 2009

Spring with gwt-dispatch

pgt » Use Spring with GWT dispatch

So inspired by this post and the discussion over in the gwt-dispatch group I have converted my application over from Guice to Spring. The only variance from the pgt blog post is that I am using net.customware.gwt.dispatch.server.spring.SpringStandardDispatchServlet in my web.xml. Other than that my action handlers are getting called as expected.

Wednesday, November 4, 2009

InfoQ: Java Card 3 Includes Java 6 Support and an Embedded Servlet Container

InfoQ: Java Card 3 Includes Java 6 Support and an Embedded Servlet Container

Wow Tomcat in your pocket. This might expand some possibilities for iPhone applications.

Tuesday, November 3, 2009

Raible Designs | Running Hosted Mode in GWT Libraries (when using Maven)

Raible Designs | Running Hosted Mode in GWT Libraries (when using Maven)

Linking to Matt Raible's notes on the GWT Maven plugin setup. I have basically the same findings.

I've added the maven-war-plugin for building a war for deployment. I've also had some problems since I'm not on Snow Leopard yet and there are JDK 1.6 issues with GWT and JDK 1.6 on Leopard.