[jboss-dev-forums] [Design of POJO Server] - Re: To merge or not to merge?
adrian@jboss.org
do-not-reply at jboss.com
Fri Oct 27 09:12:09 EDT 2006
"scott.stark at jboss.org" wrote :
| "adrian at jboss.org" wrote :
| | The full normalized view should be maintained elsewhere.
| |
| I'm not following what you mean by normalized view?
|
The normalized view is all the information coupled with where it is defined
not the merged/denormalized view.
i.e. at runtime you say
"What are the resources for this ejb?"
"What is the transaction timeout for this ejb method?"
which comes from the denormalized view, i.e. you get all the resources
that are relevant for the ejb, or the transaction timeout for that context
(regardless of where it is defined).
Elsewhere you use the normalized view, so the responses will be
different:
"What are the resources for this ejb?"
Will only include those actually defined on the ejb not those
defined at e.g. deployment level for which you would need to ask
the normalized view:
"What are the resources for this deployment?"
Similarly for the transaction timeout. The denormalized should
always give you an answer (even if it is just the timeout defined at
server/domain level).
The normalized view will only give you an answer if something
is defined against that ejb method.
In the normalized view you can ask:
"Is there a transaction timeout for this ejb method?"
"Is there a transaction timeout for this ejb?"
"Is there a transaction timeout for this deployment?"
"Is there a transaction timeout for this server?"
etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981292#3981292
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981292
More information about the jboss-dev-forums
mailing list