portabililty of ear
Hello,
I started a few time the development of a J2EE application using Jonas 3.1 and then I finished the development of my ear with Jonas 4.1.
During my development process I had to build one ear for each new release of Jonas. Indeed an ear working well on Jonas 3.1 doesn't work on jonas 4.0 I had to build my ear with the new version of Jonas because of the DTD changes.
What I whish to know is:
-Must I build my ear each time a new version of Jonas is released? Or my ear should work for any version of Jonas knowing that my application is J2EE compliant and Jonas too?
Another question is about the portability of the ear on different application server.
Indeed when we look at the J2EE documentation, the deployement of any jar, war or ear can be done on any apps server but is it as easy as it is said?
As Jonas has got a jonas-ejbjar.xml file I cannot use my ear on another server apps , why?
Do I have to realise more coding to obtain a ear working on any plateform? what is the better way to obtain a generic ear like that?
Thanks in advance for any assistance

