Eclipse 2.1 M5 is out. [postneo] I’ve been using Eclipse for the last couple weeks when I do Java work and I love it (I’ve also used Notepad, JCreator LE, JRUN Studio, Sun Forte and others I can’t remember). I dig the code completion, the compile time error checking/feedback and the price. I haven’t been able to get it running on linux yet, although installing on a PC is a snap. Try it out if you haven’t already.
Using the Decorator Pattern
Using the Decorator Pattern: “The main difference between subclassing and the Decorator pattern is this: with subclassing, you work with the class, whereas in the Decorator pattern, you modify objects dynamically. When you extend a class, the change you make to the child class will affect all instances of the child class. With the Decorator pattern, however, you apply changes to each individual object you want to change.” [onjava]
One of the comments at the end of the article mentions that the Decorator pattern is always illustrated using UI components (and, in fact, the first couple pages of Design Patterns uses only UI type examples, Design Patterns also mentions using the Decorator pattern with streams). What other uses can the Decorator pattern be put to? Better, in what ways have you used the Decorator pattern?
Joe finally has a blog
ActiveBuddy and the BuddyScript
Same issue of New Architect (also apparently their last): virtual elves: A write-up on ActiveBuddy and the BuddyScript SDK. “BuddyScript allows developers to create interactive agents either for internal use — an agent might be used to answer common human resource questions or for Internet marketing and promotion.”
“AOL must give permission before outside bots can be launched on its network, because ‘they have to flip a switch to let an unlimited number of messages go to one screen name,’ says Murray. This is referred to ‘provisioning the bot.'” If you have AIM, you must try out RecipeBuddie or you can use the MSN version of RecipeBuddie. 🙂
New Architect: SportsML
From the March (not yet online) issue of New Architect: SportsML : The Sports Markup Language: “SportsML aims to be the global XML standard for the interchange of sports data. Designed to be as easy to understand and implement as possible, SportsML allows for the exchange of sports scores, schedules, standings, and statistics for a wide variety of competitions. “
Really?
Open Source Content Management Conference
All kinds of fun things happening in Boston these days. From [cms-list]: “OSCOM3 (Open Source Content Management Conference) will take place at lovely Harvard University, Cambridge/Boston, at the end of May 2003:
Adventures at Google
If you’re in Boston next week and can spare a couple hours on Valentine’s Day, then check out this seminar at MIT:
“Adventures at Google
Speaker: Martin Farach-Colton
Speaker Affiliation: Rutgers University
Host: Erik Demaine, Frans Kaashoek, David Karger
Host Affiliation: LCS
Date: 02-14-2003
Time: 3:00 PM – 4:00 PM
Refreshments: 2:45 PM
Location: NE43-518
SYSTEMS, SOFTWARE, AND NETWORKS SEMINAR
Google has changed the way search engines are built. I’ll discuss some of the changes, as well as some experiences from my two years in the Google Research Department and the nature of research at a startup.”
More information here: http://www.lcs.mit.edu/calendar/eventView.phtml?Event_ID=243
update on JCACHE
update on JCACHE from Cameron Purdy: “JCache. jCache. JCACHE. Who knows. It’s Technically known as JSR 107 and it’s been stuck in the doldrums until recently due to Oracle licensing issues. I am on the expert commitee. One thing that I really dislike about the JCP is its total lack of transparency. The work all goes on behind an iron curtain. Take this JSR for example. It’s been in process for a year and a half, but no one outside the JSR knows what state it is in. The specs inside the JSR don’t match the ones published with the original JSR at all. The specs implemented by various future JCACHE vendors don’t match either the originally published API or the current thinking for the JSR. There’s no status updates, no accountability. If a vendor wanted to implement the spec, they’d have to wait for the public review period at the earliest, and would be far behind Tangosol, Oracle, SpiritSoft, etc. by that point. The JCP should not be the means to a market advantage for a company; it should the means for the market advantage of Java.”
Bummer…
cache instances of objects in a web application
I’m (perennially) working on karensrecipes.com tonight, putting the final touches on the application. I’d running into a couple places on the site where performance is not so good so I’d like to start caching objects, presumably in the servlet container. I’m looking for ‘the way’ to cache instances of objects in a web application. I found this article on JavaWorld.com, which seems promising, but doesn’t relate caching to a servlet container. Would you just place the hashtable in the ServletContext using setAttribute()?
JCACHE – Java Temporary Caching API looks promising as well, although I don’t see where JCACHE lives.. anyone else know if JCACHE is alive and well?
I remember going to a presentation on caching at JavaOne last year, one of the presentations was on ESI, but of course, they have nothing to download on that site, so it’s worthless.