I know that I hurried a little. But I have to find out a solution by the end of the day! Sorry about it.
Well, I think I better put it in points....
1. I have a web application which i currently am working working on. I have a completely working EAR. It is built in JDK 1.4.
2. Inside the EAR is a JAR of a third party application, which is used to retrieve some data from the that application. The JAR is provided to me and i just have to add it into my EAR.
Now my problem is:
1. My EAR is compiled in JDK 1.4 and the JAR sent to me compiled in JDK 1.6.
2. If i add the new JAR into my application and build the new EAR in JDK1.4, will the EAR work or do i have to migrate my application to JDK 1.6?
Hope this is a bit clearer!