"alesj" wrote : anonymous wrote : 
  |   | We are deploying our spring beans in JBoss through the JBoss Spring 
deployer which requires that we use only one configuration file, 
jboss-service.xml. 
  |   | 
  | 
  | Configuration of your pojos is not in jboss-service.xml (file only contains 
deployer configuration), but it's in your [name]-spring.xml files. And there 
can be multiple such files or multiple .spring archive files with 
jboss-spring.xml in META-INF. They can even be in hierarchy (similar to 
Spring's bean factories or application contexts).
  | 
  | Go through these helping resources:
  |  - it.sys-con.com/read/180386.htm
  |  - http://www.jbossworld.com/core_infrastructure/JUSTIN_ejb3_jbwv.pdf
  |  - http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSpringIntegration
  |  - docs in distribution 
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=161914

Thanks for your answer. I indeed meant jboss-spring.xml . so we have a .spring 
file that contains our pojos, and under META-INF, our *-spring.xml . I tried 
that and JBoss complained that it could not find jboss-spring.xml, so i added 
an empty one :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
    "http://www.springframework.org/dtd/spring-beans.dtd";>




and then I added the rest of my xml files, with their names changed to 
-spring.xml (applicationContext-persistence-spring.xml etc) under META-inf, but 
JBoss did not read them. So are you saying that we need one .spring archive per 
configuration file (which must be jboss-spring.xml) ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954159#3954159

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954159

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to