I am using Jboss 4.0 and have deployed my first .har file with success. It works great! But now as I am going to expand it to use more modules it is a problem.
Firstly our entire application (there is almost no web app part of it, it is mostly a rich client interface) has no one big ear file. Each module in our application has an ejb and a bean jar that goes in a deploy directory. The problem is trying to package all of the hibernate mapping filles accross multiple modules is going to be a real pain. Now I could create a separate .har for each module, but then I need a different JNDI name and mbean name. I think this is going to get confusing across modules. I would prefer to have it all in one .har. (Off topic. Are there any performance issues for having one big config or lots of small ones?) What I was hoping was that I could have a common .har directory and then each modules mapping files could be placed in a jar file in the .har directory. We would have to change the deployer to say if it is a directory look for any jar files and add them then, add the directory.
Thoughts?
|