Generic collections (commons extreme makeover by google) What is the Google Collections Library?
An excellent article, and something we should all remember; "write less code, have less to test"!
Wednesday, October 31, 2007
Saturday, October 27, 2007
A week of content management
An exhausting week of training lays behind me. I'm only just recovering!
Oracle made another acquisition, added to their Fusion Middleware line (which to me, is "apps that do stuff, with nothing in common"). Stellent content server has been Universal Content management, and we were lucky enough to have a week with a trainer who had been working with the product for a decade.
The product looks smooth, the core architecture is true SOA. That is, SOA from the start, not services slapped on top of an application. Features seem to be strongly influenced by necessity. The main complaint in the class was: admin interface is ugly, and things aren't where I expect.
For me it seemed fairly obvious :) But no bragging, because liking an interface that was so obviously programmer-designed, isn't something to be proud of! ;)
I cruised through the week.. and hacked through the product after finishing all the exercises early.. and the verdict is; I can't wait to get out into the field!
I love being in the office, I like people and having my own cube.. I'm also a junkie for meeting new people and solving their problems.
I like the sound of that: syber, your friendly problem-solving junkie. Show me your issues!
Oracle made another acquisition, added to their Fusion Middleware line (which to me, is "apps that do stuff, with nothing in common"). Stellent content server has been Universal Content management, and we were lucky enough to have a week with a trainer who had been working with the product for a decade.
The product looks smooth, the core architecture is true SOA. That is, SOA from the start, not services slapped on top of an application. Features seem to be strongly influenced by necessity. The main complaint in the class was: admin interface is ugly, and things aren't where I expect.
For me it seemed fairly obvious :) But no bragging, because liking an interface that was so obviously programmer-designed, isn't something to be proud of! ;)
I cruised through the week.. and hacked through the product after finishing all the exercises early.. and the verdict is; I can't wait to get out into the field!
I love being in the office, I like people and having my own cube.. I'm also a junkie for meeting new people and solving their problems.
I like the sound of that: syber, your friendly problem-solving junkie. Show me your issues!
Thursday, October 11, 2007
Note to self. synchronized singleton access
So, what's the best thread safe singleton instantiation.. I must look this up sometime.
Here's what we have now.
Here's what we have now.
public static SingletonObject getInstance() {
if (instance == null) {
synchronized (SingletonObject.class) {
// might have been preempted just after first check
// but before the synchronized statement was executed
if (instance == null) {
instance = new SingletonObject();
}
}
}
return instance;
}
Subscribe to:
Posts (Atom)
