Tag: Java
-
New Hibernate version is here
The new Hibernate version, 3.2, is now available. The formal announcement came on 10/16. I haven’t played with it a lot yet, of course, but one thing strikes me right away. If there are significant differences between 3.2 and the 3.1 version I’ve been using for months, I don’t see them. They may have made…
-
Design Patterns
The class I’m teaching this week and next is a massive, customized combination of Design Patterns, JSTL, JSF, Spring, and Hibernate. It’s going to be an adventure. Today, though, we were digging into patterns. Design patterns has usually been my favorite course to teach. If teaching is all about giving people the ability to do…
-
Quick thoughts again
Some quick items while I’m working on the Hibernate materials (or is that avoiding working on the Hibernate materials?): My post last week about Steve Yegge’s extended blog entry on “good” vs. “bad” agile development was done too quickly. By that I mean I reacted to an early part of his blog before reading the…
-
Random thoughts
It’s way too late at night for me to be thinking clearly, but my internal clock still hasn’t quite adjusted from my trip to Amsterdam yet and I’ve got too many thoughts running through my head. (Plus, I’m too tired to actually do any work on my Hibernate materials and trying not to feel guilty…
-
Processing XML using Java
Someday, and that day may never come, I’ll remember that in a DOM tree the text value of a node is stored in its first child, not in the node itself. It’s one of the things I always emphasize to my students, but manage to forget when I have to do the actual processing. Last…
-
Hibernate clues
I get it now. In order to use Hibernate with Derby/Cloudscape, I need to use the “identity” generator: <class name=”Location” table=”LOCATIONS” schema=”EARTHLINGS”> <id name=”id” type=”integer”> <generator class=”identity”> </id> <property name=”address” column=”STREET_ADDRESS” /> … other properties … </class> This makes sense, of course, since in the db build script I have…
-
RAD, WAS, and profiles
This week and last I’ve been teaching an EJBs with RAD6 class. Now, the installation of RAD in the training centers was done the usual way. That means they installed it on one machine and then distributed the image to all the others. Normally that’s fine. The problem with doing that with RAD is that…
-
I blame the turbulence model
When I was a research scientist at United Technologies Research Center, I worked on unsteady aerodynamics in axial turbomachinery. That’s a complicated way of saying I worked on math and computer models of noise in jet engines. A friend of mine there was our resident mathematician. He knew everything about everything, or at least had…
-
What a twist!
Okay, I’ll admit it. When I first saw the commercial for the new M. Night Shyamalan movie Lady in the Water, I, too, felt compelled to say, “What a twist!” Robot Chicken rules, and not just because it was created by Oz from Buffy, aka Scott Evil, aka Chris Griffin. On a more serious note,…
-
EJB’s in RAD6
This week I’m back in Westborough, MA, teaching EJB’s in RAD6. EJB’s have a rather nasty learning curve. Here that’s made worse by the fact that the students only have the previous two training classes as experience. (This is the same group I taught Intro Java in May and Servlets and JSP’s in June. The…