Chris Donnan : Programming - Brooklyn Style
software, trading, family, fun
Posted Development Tools, c#, java, patterns and principals, programming on Tuesday, April 4th, 2006.
So
Been using SpringFramework.net on my current project for ~5 months now. All in all - it has been very helpful in a few ways. One of the things that I have needed in the past was to associate objects created dynamically with stuff IN the spring context.
For example: I need to take some logon information at some point - with this logon information - I need to pass it to legacy objects that NEED to use constructor injection - else the throw exceptions etc. So - I want to push dynamically created content.
Enter Seam…
Interesting…. As usual - the folks at JBoss are doing interesting stuff. One of thier many sub-projects; Seam - “Contextual Components” is one of the more interesting things they have going on IMHO. Seam does lots of stuff - but this I found most interesting:
excerpt: (wouldn’t xlink/ xpointer be handy for things like this excerpt)
The notion of inversion of control or dependency injection is an elegant means for a container to assemble stateless components or services. But for stateful components it is insufficient. Subversion of control (or bijection) is a unique feature of Seam that allows auto-assembly of stateful components.
WOW. Isn’t that just fantastic! Bijection, Subversion of Control. Anyhow - I will be posting more about Seam as there are several truly noteworthy things that they are doing over there with Seam. This is essentially where a variable can be annotated with an “In” and/ or an “Out” marker. Then the container can get data off of and/ or inject data into, thus providing ‘bijection’ for objects created at runtime - with state.
(** this is NOT the same as this reference to ‘Subversion of control’ where a container ref is passed to the object.)
I will also mention - as I have in the past - that another alternative to Spring on .net (2.0 only) is the Object Builder in CAB is one of them. I would love to work on a ‘bijection’ update to spring.net, objectbuilder - or something new
Excited about technology as always.
-Chris
Comment on this post below
You must be logged in to post a comment.
You can leave a response, or trackback from your own site.















