Main menu:

Site search

Categories

Archive

Archive for April, 2007

Getting DWR to work on Tomcat 6.0

I’ve been trying to get the simple “ajax validation” with Direct Web Remoting (DWR) example working from the Struts 2 site.
I kept getting a severe error on startup. I finally waded through a number of theories and I think it was basically just versionitis. The jsf-impl-1.2_04.jar, jsf-api-1.2_04, and jstl-1.2.jar seem to do the […]

Logging: Why so hard to find the right answer?

I’m finishing up the details of the particular web framework I want to use for this project. One thing I tackled yesterday was logging. Pretty straightforward, right?
Having been away from java web frameworks for many years, I finally got a chance to play with them last year at work. So I was […]

Eric Van Wyk

I thought I should at least make a small note of a discussion I had with Eric Van Wyk of the University of Minnesota during his recent visit to UCLA.
He’s probably the only person I’ve ever conversed with who had direct knowledge of what Intentional Software was up to — he was funded by them […]

Going with ANTLR

I was hoping to have as much synergies as possible with IBM’s SAFARI project. Part of that was to use the LPG (LALR Parser Generator — formerly the Jikes Parser Generator).
But I think I’m going to go with ANTLR for a few reasons:
1) It’s really close to its 3.0 release
2) John Mitchell (an old […]

Prospectus

So I’ve actually put “pen to paper” and started the prospectus. The title remains to be determined. That will probably be the last thing I figure out. At this point it seems like a hodge-podge of ideas from the last 11 years.
The two main threads are these:
1) What is required of an […]

Java PowerSet and more on pingel.org

Please see pingel.org for PowerSet source code (among other algorithms and data structures)
Example usage:

Set<String> elems = new HashSet<String>();
elems.add(”a”);
elems.add(”b”);
elems.add(”c”);
for( Set<String> set : new PowerSet<String>(elems) ) {
System.out.println(set);
}

I noticed in the logs for pingel.org that a lot of people are finding pages there because of searches for “powerset in java” or similar search strings.
There […]