Blogging Roller
Dave Johnson on blogging, open source and Java
Dave Johnson on blogging, open source and Java
Above: a random selection of photos from my Flickr photo-stream.
Lance: Castor is *supposed* to be caching objects for us so that we don't need to make repeated calls to the database. I suspect the way we are using Castor may not be optimal, though I really don't know enough to suggest improvements.Webapps seem to cause problems for O/R frameworks. In an O/R framework, things seem to work properly only inside of a O/R "transaction" or "session." In a webapp, you get an object from the database in one session, close that session, allow the user to modify the object in an HTML form, then start another session to update the object in the database. Castor calls this a "long transaction." I wonder how these long transactions effect Castor's ability to cache efficiently.
Dave in Java 07:34AM Feb 19, 2003 Comments[1]
Tags: Java
Dave in Blogging 07:11AM Feb 19, 2003 Comments[0]
Tags: Blogging