Archives
Forrest
February 28th, 2003
I'm currently using Forrest to document the evaluation of various O/R frameworks I did for my current employer. In fact, I started with a MS Word document, but I got pale in the foresight of twiddling with headers and fonts to get something presentable. Then I decided just to go for it. It rocks. I had to find out a bit how the <link> tag works a bit, but that's forgotten already.
I'm curious what my readers will think of it when I present it to them next week... I'll keep you posted.
Feathers
February 27th, 2003
Outer Web Thought Log: Cluefull people get rewarded and It's happening: Bruno is about to become Apache committer. Outerthought now has one business analyst (aka "feature-spawner"), one architect (aka "modelisator") and one developer (aka "worker"), who are all committers. I guess that makes them the first single-company Apache waterfall ;-) Congrats, Bruno!
Rush Hour
February 25th, 2003
Death to SpamBots
February 19th, 2003
Dvorak
February 17th, 2003
Big bucks
February 13th, 2003
Danno wants to earn big bucks ;-)
While of course I'm interested in this too, it is in the end that the real danger lies:
just because you can monkey around with J2EE middleware doesn't mean you are worth one tenth of the money that is spent on youI've been pondering this for a while now. Most of the companies that hire contractors, are not capable of making a distinction between a good and a bad programmer. So how are good programmers able to prove they're good? How can you (honestly) prove that you're actually ten times more productive than the next guy/gal in line, who asks only half of the fee you ask?
BTW, nobody should have a problem convincing somebody with mere buzzword throwing. It's a weapon the next in line will use too, so don't be afraid/shy/"political correct" to do it.
Another tip: when asked "how well do you know X?", don't be afraid to say "very well!". I've experienced situations when I answered "well, I've been playing around with it, but it's not really my area of expertise.", while the next in line just said "I know it!", but didn't know where the start button was, so to speak.
Probably it's not plain dishonesty of those people. The more you know, the more you know what you don't know. I want to explain this to you: imagine that everything there is to know, is a plane. The things you know, is a filled circle in that plane. Now, imagine a small circle. It has a small boundary, so for somebody inside that circle, it is just to say "there is little that I see that I don't know yet". And imagine a BIG circle. It has a very BIG boundary. A person in a big circle will be more apt to say "There is much I don't know yet." Which doesn't mean he knows less, only that he sees more that there still is to know. (I hope this is a bit clear. Courtesy of a teacher in high school. It's a bit more clear when drawn on a chalk board, I guess.)
So to conclude: when presenting your knowledge, don't concentrate on everything you don't know, but on everything you do know. Now if only I could do this in practice instead of in theory ...
Hibernate: the sequel
February 13th, 2003
I encountered my first mayor stumble in getting Hibernate to do what I want it to do.
We have a database which has business data as primary keys. Those keys are (wisely) encapsulated in objects (in the Java code, that is). Now, Hibernate recommends not to use business data as primary keys, but says it still is allowed. I'm glad to hear that. Now I'm just figuring out how to tell Hibernate that it should use our class while doing the mapping. I already found out that it had to implement UserType. But the documentation of the UserType interface seems to be a bit scarce in what exactly every method is doing. So now I'm stuck with a
cirrus.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling: argument type mismatch setter of XI hope I can get this solved soon. Refactoring the DB to use non-business primary keys is too big an investment for us ATM (certainly in the light of the fact that we're still evaluating Hibernate, and didn't take the "let's do it" decision yet).
"Java tools"
February 11th, 2003
Good old adventures
February 7th, 2003
Proxy
February 6th, 2003
Erik pointed me (once again) to something that looked interesting: a pure Java Microsoft MSN Messenger clone. I got the files, unzipped, started, tried to login... and got disappointed again. The authors didn't provide any way to configure a HTTP proxy. This is the nth time I've seen it. It's kind of weird: every C, C++ or .NET application I get, has a "proxy settings" box somewhere. None of the Java programs have it. Is it that hard to configure proxies in Java (I've never tried it)? Or are most Java programmers using direct T1 lines?
Note: I know there is some arcane -D setting you can provide to use a HTTP proxy, but I forget every time what it is, and Google doesn't return too many useful hits on that one. It should be configurable anyways.
Note: This is in no way an attack on the authors of JMSN. It is just a general remark. My hope is that at least one Java programmer who is about to release some nifty code, now thinks "Ah, I'll quickly add that before I release".
New toy
February 5th, 2003
QOTD
February 5th, 2003
Unfortunately, Hibernate is flexible and supports several approaches.Or how users and documenters don't see everything in the same perspective ;-)
A JRE per application
February 5th, 2003
O/R - Thank you
February 4th, 2003
I just wanted to thank everybody who commented on my JDO / O/R search-in-the-dark (including Joe -- if I've overlooked somebody, let me know. I still have to work on the refer(r)er-tracking of this blog).
It seems like everybody recommends Hibernate (with OJB as a close second). I will concentrate now on the first one. Thanks again, everybody!
Another Cocoonie spotted
February 3rd, 2003
JDO, or O/R
February 3rd, 2003
I'm currently looking for a solution to the Persistence Problem. Revisiting the O/R problem yet again. Currently, we're having a mechanism based on Value Objects and Data Access Objects which works quite well, except for the fact that it's a nightmare performance wise. In order to improve performance, we're writing custom Connection wrappers, parsing and reparsing statements to make them Prepared Statements, etc etc. Every improvement creates some "we have to remember to do that with new objects in the future", each of which can be easily forgotten and which omitment is not readily noticed.
An added complexity is that we need a system that works as good for batch processing (thousands of records at once, loaded from files) as for "online" processing (one at a time, with a user sitting at a screen), without copying all the business logic. It's easy to build a system that works A-OK for either, but not for both.
So somebody pointed me to JDO. It seems to be a good replacement for our DAO layer. Map your objects to a DB without too much complexity. But I'm quite hesitant: will it solve our performance problems? Will it be as easy to convert our application as it looks? Even worse: if we decide to go for JDO, do we need Sun's JDO spec, or is Castor's better? Sun's spec doesn't seem to have a free implementation, which makes it riskier to invest in that option. I've heard a lot of good of Castor, but it was about it's XML serialization. Are they as good in O/R mapping? I'm looking into it, but real-life experience would be very welcome. I'm kind of searching around in the dark, with a flashlight that only reveals positive points.
Clock discussion
February 3rd, 2003
Jesse Ezell seems to say "you have to do more than 40 hours a week". I don't get it. Why would that be? Anyway, "doing hours" seems distant to me. I'm 24/7 busy with my job. I punch in and out at about 40 hours/week (most of the time even less), but when driving home, when eating, when going to sleep, when lining up in the grocery shop, ... I'm thinking about my job. It never ends.
You're looking for something older?
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003
- January 2003
- December 2002
- November 2002