This content has been marked as final.
Show 18 replies
-
15. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Jan 2, 2008 11:52 PM (in response to ragavgomatam)"ragavgomatam" wrote:
In my spring-inject.jar under META-INF I have a spring-inject-spring.xml21:15:50,688 INFO [NamedXmlBeanDefinitionReader] Loading XML bean definitions from URL [vfsfile:/C:/jboss-5.0.0.Beta3/server/default/deploy/Ejb3.ear/spring-inject.jar/META-INF/jboss-spring.xml]
Check these two lines. ;-)
jboss-spring.xml != spring-inject-spring.xml -
16. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Jan 3, 2008 7:47 AM (in response to ragavgomatam)I've just added (commited in the trunk) a legacy default name support to SpringParserDeployer.
The current default is still from meta file: -spring.xml.
But if you set this flag to true, the name from jar containing -spring.xml file will be used.
From SpringParserDeployer:/** * Should we use deployment unit's name as default. * e.g. using string before .jar|spring|... as the name * * Previous versions used string before .spring as the name, * setting this to true results in this legacy behaviour. * * Current default is string before -spring.xml. * * @param useLegacyDefaultName the flag */ public void setUseLegacyDefaultName(boolean useLegacyDefaultName) { this.useLegacyDefaultName = useLegacyDefaultName; } -
17. Re: Jboss 5 Beta 2 and Spring Deployer
ragavgomatam Jan 5, 2008 8:33 AM (in response to ragavgomatam)Ales,
Yeah that was a small bug in my ant build....Fixed it...Works fine....Thanks...I think this should be documented in Jboss-spring documentation....
Spring Injection works fine with Ejb 3. with Spring Deployer in Jboss 5 Beta 3.
As an aside, how does Pitchfork fit in ? Can we try injecting POJO's into ejb3 with PitchFork M2 release ? They have a JeeEjbBeanFactoryPostProcessor in pitchfork which recognizes @EJB anotation. Can we use this too in Jboss 5 ? Your thoughts. -
18. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Jan 5, 2008 9:38 AM (in response to ragavgomatam)"ragavgomatam" wrote:
Yeah that was a small bug in my ant build....Fixed it...Works fine....Thanks...I think this should be documented in Jboss-spring documentation....
Spring Injection works fine with Ejb 3. with Spring Deployer in Jboss 5 Beta 3.
Cool.
I totally forgot about the legacy usage. :-)
But I think the new default name is more flexible. More fine grained."ragavgomatam" wrote:
As an aside, how does Pitchfork fit in ? Can we try injecting POJO's into ejb3 with PitchFork M2 release ? They have a JeeEjbBeanFactoryPostProcessor in pitchfork which recognizes @EJB anotation. Can we use this too in Jboss 5 ? Your thoughts.
Uf, never really looked into Pitchfork. So no idea what can be done.