This content has been marked as final.
Show 4 replies
-
1. Re: Whats: component definitions ?
monkeyden Mar 20, 2009 7:28 AM (in response to allforjava.allforjava.aol.in)Not sure I understand exactly what you're asking but presumably you are referring to components which are defined/configured in components.xml. Are you referring to some specific wording in the docs?
-
2. Re: Whats: component definitions ?
allforjava.allforjava.aol.in Mar 20, 2009 8:11 AM (in response to allforjava.allforjava.aol.in)Thank you for speedy response, Kyle Burke!
I just need the actual essence of the terminology-
component defination
. Whats doescomponent definitions
mean? Whatscontext
andcontext variable
?For example,
instantiation
mean usingnew
operator to allocate memory or define an object. -
3. Re: Whats: component definitions ?
nickarls Mar 20, 2009 8:20 AM (in response to allforjava.allforjava.aol.in)simplified:
- component definition = defining a component so that it can be placed under seam lifecycle management (@Name annotation or components.xml)
- context = the scope of the component. Request context contain components that live only for the duration of the request etc.
- context variable = the name (used in definition) under which a component can be found in a context
- instantiation = getting/referring to a component from a context / manager which ensures that we get a lifecycle-managed proxy
There is a lovely manual that touches these topics quite early on
-
4. Re: Whats: component definitions ?
allforjava.allforjava.aol.in Mar 20, 2009 10:14 AM (in response to allforjava.allforjava.aol.in)Thank you, Nicklas for simiplified clarification. I got the difference.
Can I get in depth details i.e any flow-diagram, etc?
"There is a lovely manual that touches these topics quite early on"
And, whats it about? Are u, refering to Seam-Context Component manual?
-------------------------------------------------------
"If a man speaks in the forest and there is no woman around to hear him, is he still wrong?"
I say, NO!