The detachment of the modules is starting to produce a jar hell :-) which was expectable because we need to use a snapshot mechanism to produce "snapshot" libs. And it produces lot of management additional work.
So soon we probably will need to migrate to maven2 since it is designed to solve this kind of problems. Other JBoss projects which have already migrated to maven do make the distinction between 2 kind of repositories, one for released versions and one for snapshots versions. I think that snapshot repository is rebuild automatically (which makes sense to me).
You can find more about it here : http://wiki.jboss.org/wiki/Wiki.jsp?page=Maven
So for now we are going to continue to resolve this by ourselves (since mostly myself and bolek are working on detached modules, it's not much hard). Until we have completed the maven migration.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078963#4078963
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078963
"adrian(a)jboss.org" wrote :
| I removed applyMetaData() since that was completely unnecessary.
| I factored out the MetaDataVisitor implementations from AbstractKernelControllerContext
| to make it obvious that this stuff doesn't need to be in the context and is entirely orthogonal.
|
Yup, I agree.
But since this was still stuck in AbstractKernelControllerContext, the applyMetaData was necessary. :-)
If you just hinted this when I was splitting the initial visit ... ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078947#4078947
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078947
"wolfc" wrote : Given those rules an entity drawn from a xpc and directly refered (from a field) by a SFSB must act as I said.
JPA 3.2.4 says serializing an entity "may result" in a detached entity; it doesn't say it must. So, seems to me we have flexibility.
That said, a developer wanting to write a portable app would need to assume the container is going to detach the entity, since some vendors might. I take it the way an app developer would handle that would be to do a merge of all entities in the @PostActivate callback, correct?
anonymous wrote : Why would you want to keep managed entities around?
Assuming the idea here is this is supposed to resemble pojo programming as much as possible, why would an app developer not want to?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078946#4078946
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078946
While looking at the scoping changes, I discovered some wrong methods
on the KernelControllerContext.
To repeat what I said before, most of the runtime state/config should be done
through the DependencyInfo not the ControllerContext.
Where the ControllerContext holds state it is simply useful information
to prevent repeated access/construction, e.g. BeanInfo in the POJO stuff
or the legacy ServiceContext in the MBean stuff.
I removed applyMetaData() since that was completely unnecessary.
I factored out the MetaDataVisitor implementations from AbstractKernelControllerContext
to make it obvious that this stuff doesn't need to be in the context and is entirely
orthogonal.
I moved isAutowireCandidate() to the DependencyInfo where it belongs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078895#4078895
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078895