Hello,
I am starting to understand the basics of certain M2 related
concepts and am trying to navigate the src tree of the run time.
It would be great if someone may clarify few of my basic queries on it. My
apologies in advance, if I have misinterpreted any concept wrongly. Please
rectify it and clarify. Thanks in advance.
1. Due to various reasons the existing core architecture was considered to
have substantial refactoring.It would be great if an one to one mapping
could be established between these reasons and how the new update in the
core/runime may solve it.This may help us to get a good understanding.
2. How the new model reduces the number of SCA concepts?
For example-composite seems to be more bulkier than the previous 'module' in
M1. In the 'composite' model most of the concepts are similar to the module.
An added properties field is present. While composite adds more
functionality, it seems to be making the simplest SCA component more
complicated.
As a different instance, the wiring concept has inbound and outbound
concepts which has interceptors and other features. Again making things
complicated.Please clarify.
3. While I am not sure of how the target Invoker dispatches a request to the
target implementation, I think the TargetInvoker will have address or
reference for the Target instance using which it may locate the target
implementation.
Now is it possible to represent this address or reference in such a format
which can be stored and saved in file? This may give another option using
which the wire invocation handler(at the source)may locate the target
address. This may avoid storing always storing the TargetInvoker to the
source wire invocation handler everytime before an invocation is initiated.
It might add to the interoperability.
Please let me know your opinion.