Google guice released.. lets take a look

View: New views
1 Messages — Rating Filter:   Alert me  

Google guice released.. lets take a look

by xVik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Google just released its little opensource ioc framework
tss flame is here http://www.theserverside.com/news/thread.tss?thread_id=44593

framework site is here http://code.google.com/p/google-guice/

im asking hivemind authors (and of course, Howard) to look at guice user guide
There are many little pretty things that can help with hivemind evolution

I wont to notice binding.. api is really (really!!!) beautiful
just look: binder.bind(Service.class).to(ServiceImpl.class);
its almost like natural language (im impressed!)
..also have a look to binding depending on annotation: bind(Service.class).annotatedWith(Blue.class).toBlueService.class);

i have no time to go deep in guice, but i already see its not hivemind competitor (for now, but remember its only first release) in serious progects
Guice presents only annotation -based dependecy injection and some aop functionality
The aim (as i think) was simplicity and performance (google likes little but perfect tools)

compering to hivemind it have no:
modularity support
configurations

also hivemind have annotation configurations (in 2.x) ..so guice cannot get something new for
hivemind users except of very short learning curve, beauty binding syntax and performance
(i havn't measure, but i think hivemind 2 will be little slower then guice,
but i think tapestry ioc should be equal or faster (maybe someone will perform some tests))

thank everyone for attention.. i hope hivemind will teach some aspects from guice
i still think hivemind is the best ioc