Re: Any idea for JDK 1.5 clean implementation?
Leo Simons <[email protected]>
| Newsgroups | gmane.comp.java.jicarilla.devel |
|---|---|
| Message-ID | <[email protected]> |
Berin Loritsch wrote:
> JDK 1.5 is out now, and I was wondering if there were any plans to take
> advantage of the native improvements in the memory model and generics, etc.
nope, no plans. I've been blissfully ignorant of most of the 1.5
features so far. You mean they fixed the double locking issue? That
sounds like a seriously healthy improvement :D
Leo Sutic posted some ideas about using generics in an IoC environment
to dev@avalon a while back, and we've had some private conversation
about it as well (though all the relevant parts of that wound up in his
RTs). I recommend you check that out.
Me, I think that generics are the wrong solution to a big range of
problems, including that of type casts in an IoC environment. Either
write your components to use strong typing (dependency injection instead
of lookup), or escape into a weakly typed language (ie groovy).
I'm not sure why I think that. Probably because of the uglyness of all
the <> all over the place.
> Just curious, because I am at a place where I want to upgrade some stuff
> and take advantage of those nice new language features.
you have anything specific in mind?
--
cheers,
- Leo Simons
-----------------------------------------------------------------------
Weblog -- http://leosimons.com/
IoC Component Glue -- http://jicarilla.org/
Articles & Opinions -- http://articles.leosimons.com/
-----------------------------------------------------------------------
"We started off trying to set up a small anarchist community, but
people wouldn't obey the rules."
-- Alan Bennett
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click