The logic can't be in metadata, because it's also valid to create an injection target on UserTransaction in xml only. Or we must specify this as a post-condition of metadata.
I also don't like it in ReferenceMetaDataResolverDeployer, because then it won't be reusable for EJB Standalone.
For now I would say a post-condition on metadata that these simple resource injections must have the correct mapped name.
Note that in the end the EJB container will still optimize an injection. So the code in ResourceHandler must stay.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109737#4109737
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109737
"alesj" wrote : "timfox" wrote :
| | The JDBCPersistenceManager implementation should use HIbernate (at least the dialects)
| Wouldn't straight JPA be better?
|
We're not really so interested in using Hibernate/JPA for ORM, more just to abstract out the differences in DML and DDL between different databases.
If JPA can do that too, that's fine. Although I'm not sure we want to pull in a JEE dependency.
anonymous wrote :
| btw: what's the main persistence mechanism?
Fast, append only journalling approach.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109700#4109700
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109700
"dimitris(a)jboss.org" wrote :
| Also the current jdk6 hudson run fails while testing the profileservice:
| http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-Test...
|
| Do we need to set the "sun.lang.ClassLoader.allowArraySyntax" property under jdk6?
|
This has nothing to do with JDK5 vs. JDK6, it's just that from the info that we have in XML we don't know which out of these two methods to call:
| org.jboss.remoting.ServerInvocationHandler addInvocationHandler(java.lang.String string, javax.management.ObjectName objectName) throws java.lang.Exception;
|
| org.jboss.remoting.ServerInvocationHandler addInvocationHandler(java.lang.String string, org.jboss.remoting.ServerInvocationHandler serverInvocationHandler) throws java.lang.Exception;
|
So, I added class attribute to parameters:
| <parameter class="java.lang.String">ProfileService</parameter>
| <parameter class="org.jboss.remoting.ServerInvocationHandler"><this/></parameter>
|
If you're wondering why it cannot guess any better :-), this is a long and old discussion. Would need to find that old thread. ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109679#4109679
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109679