On Mar 1, 2009, at 11:33 AM, Bernd Fondermann wrote:

IMHO phoenix and the avalon framework are holding the server back

Yes, they do. but not everyone here thinks this way, AFAIU. But maybe this has changed.

I found the avalon/pheonix stuff rather hard to understand. IMO if it's kept it would be best as a layer on top of a container-agnostic component layer.


i would like to be able to run james on the phoenix container but
don't want the server architecture to be determined by it. my
preference would be to replace the intrusive Avalon interfaces with
JSR-250 annotations. this would provide a natural path toward smoother
integration with JEE containers whilst providing an easy route to
retain phoenix compatibility. if this sounds like an idea would
exploring, i'll open a JIRA with more details.

+1.
Maybe worth looking into at ACEU09's hackathon. WDYT?
I'll have a look at the JSR250 spec over the next days to be able to comment.

Also note that something very like spring + osgi is coming to the next osgi spec as rfc 124 blueprint service. Also IIUC JavaEE6 is going to have a much more general dependency injection framework, from what may be currently the web beans spec proposal. I don't know any details on this.

Geronimo xbean has a bunch of libraries that make annotation scraping and component creation pretty easy -- xbean-finder and xbean-reflect.

I'd kind of worry that if you start using annotations you are going to be building yet another wiring framework which may not be the ideal focus of this project.



Choosing an approach like this makes a lot of sense to me. We don't know how all this container stuff evolves over the next years - whether it is Spring or Pico/Nano or OSGi or Phoenix or whatever.

in the medium term, i think the best approach for james would be a
blended micro-kernel approach (like service-mix, for example) with a
top level service locator layer for coursely grained services (with
internal structure below that assembled by any supported dependency
injection mechanism).

Maybe, I'd like to think about planning that space trip later. Phoenix still has too much grativation on James. It's hard enough to eventually reach a higher orbit to be able too move away and get to the next planet.

Seems like a good long term goal to me.

thanks
david jencks



 Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to