--- tm jee <[EMAIL PROTECTED]> wrote:

> Thx for the reply. If you have any finding, I'd be
> glad to learn more about it. I am kindof interested
> in this area as well. But i am still a beginner so I
> might talk nonsense... :P

Well, I'm  pretty used to DI / IoC containers ( being
pico commiter ;) ) 

I looked at javadocs ( there is no real docs besides
it ) and sources, and it looks that it is really new,
and there is not so much there. 

I do not like idea of "scope" - it's kind looks
"springy" to me. Scope can be obtained easily by using
container hierarchy ( like nanocontainer does - 
it registers 3 container hierarchy with managed 
lifecycles, or possibly more like "one container per
directory / package " )

Though this code did not made it into S2 codebase yet
pending issue with source headers ( and WW-1370 ), it 
is usable.

Storage of wiring information in annotations is a nice
idea, but not really flexible ( Is it posssible to
manipulate annotations on a class, or are they bound
at compile time? ) 

Pico uses "component adapters" instead, which can be
( and usually are ) chained to specify some really
weird behaviour like:

(constructor injection) -> (parameters via setter) ->
( aop) -> (cache/threadlocal)

There are a lot of such  adapters also for remote
access ( just register it with interface and backend
url,  and your action gets webservice bean injected
without knowing it )  etc. The same would work with
ejb / jndi lookup or whatever.

So, there is definitely no need to invent yet another
DI container for xwork unless you have fun of it ;)


> Have you got a blog? Maybe blog about your findings
> would be nice. I'll definitely subscribe to it. 

not yet. being a hausmate I'm definitely enitled to
one
at blogs.codehaus.org, but I did not figured out how 
to activate it yet ;)

If you go to javapolis, we can surely met at dinner ;)

regards,


----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


 
____________________________________________________________________________________
Sponsored Link

Mortgage rates near 39yr lows. 
$420k for $1,399/mo. Calculate new payment! 
www.LowerMyBills.com/lre

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to