Archive for the 'code' Category

GWT + Extjs + Eclipse + Cypal = Error

For anyone following the tutorial found here, and getting this handy error:
[ERROR] Failure to load module ‘foo.bar.Bar’
java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.CompilationResult.getErrors()[Lorg/
eclipse/jdt/core/compiler/IProblem;
I get this error whenever I add the nocache.js to the html page.
I have a solution.  Go in to your project properties and remove unused libraries (especially any that refer to Tomcat). Project -> Properties -> Java Build Path […]

Read More..>>

Dear Google, smarter plz

I say google because it happens to be the only search engine I use.  I guess this applies to all of them, if for some weird reason you use yahoo or ask or msn.
When I search for something like “java spring static method”, often times google will return results from mailing lists or blogs or […]

Read More..>>

Memcached vs. Ehcache (for Java)

First, lets look at simplicity to get up and running.  I’ll assume you already have a java environment up and running using an IDE or text editor of your choice (eclipse plus viPlugin ftw) because you are a java developer and you need that.  I’m also assuming you are starting out wanting to test both […]

Read More..>>

Sustainable Pace (Tortoise and the Hare style)

This isn’t something new I just made up, and it applies almost everywhere,  but for some reason people all too often think it doesn’t apply it to software development.  Let’s look at 3 different projects, one using a paradigm of sustainable pace (SP), and one using a naive approach we will call frantic pace (FP), […]

Read More..>>