Skip to content

Stuff I've learned recently…

I teach this stuff. I didn't say I could do it.

  • Home
  • About Me
  • Groovy
  • Java
  • Kotlin
  • NFJS
  • Teaching
  • 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…

    Ken Kousen

    July 31, 2006
    Java, XML
  • Sometimes it all works out

    I’ve had a couple of airline adventures this week.  My class in Philadelphia ended early last Friday, so I went to the airport expecting to spend hours in the US Airways club.  Not a bad thing, incidentally, since I had a lot of work to do.  As it turned out, though, I was able to…

    Ken Kousen

    July 24, 2006
    Ruby on Rails, Travel
  • 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…

    Ken Kousen

    July 24, 2006
    Java
  • 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…

    Ken Kousen

    July 20, 2006
    Java
  • 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…

    Ken Kousen

    July 18, 2006
    Java
  • 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,…

    Ken Kousen

    July 12, 2006
    Java, Red Sox
  • What a way to enter the All Star break…

    19 innings and an L.  Papelbon blows the save by giving up a homer with two outs in the 9th.  They score two runs in the 11th, only to give them back in the bottom half of the inning, missing a major baserunning error in the process.  They almost made that double play to get…

    Ken Kousen

    July 10, 2006
    Red Sox
  • 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…

    Ken Kousen

    July 10, 2006
    Java
  • At least one Hibernate resolution

    Okay, one of the issues I identified is my fault. I can use JavaBeans that don’t have id fields as long as I leave the “name” attribute out of the <id> element in the mapping document. The reason I was throwing an exception is that I was still using the same test cases from before,…

    Ken Kousen

    July 5, 2006
    Java
  • Hibernate Challenges

    Hibernate is proving to be a bit more challenging than I originally anticipated. The toy problems seem to work just fine, but I have a real (if very small) database schema and a real (if very small) set of Java classes mapped to them already. Trying to insert Hibernate in between is providing a lot…

    Ken Kousen

    July 3, 2006
    Java
Previous Page
1 … 20 21 22 23 24
Next Page

About the Blog

Stuff I’ve Learned Recently chronicles my adventures in the world of teaching software development, primarily focused on Java and related languages, like Groovy and Kotlin. I also teach Spring, Android, Gradle, and more.

Popular Posts

  • I Finally Understand What MCP Is ForJune 22, 2025
  • Sure, I’ll sign your ebookMay 28, 2025
  • Waiting for Spring AI Streaming Responses in JUnit TestsMay 27, 2025

Newsletter

Subscribe to our email newsletter for a weekly dose of travel inspiration.

Proudly powered by WordPress

Loading Comments...