2 Replies Latest reply on Dec 20, 2004 5:00 AM by Mohammad Rahin

    Read application specific config file

    Mohammad Rahin Newbie

      My application (deployed in JBoss 4.0) requires some application specific definition files that I ideally want to be placed inside the jar file along with my EJBs and other classes. These are XML files and read only once (and then cached internally) using org.jdom.input.SAXBuilder.build() method. The files are speicified in the standard URL format (file:....). My application can only read these files if they are placed in $JBOSS_HOME/bin directory. Is there a way to place these files in the jar file and have them read off it?


      - Mohammad Rahin