Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EAR version 1.4, 5, 6

Tags:

java

ear

Can someone please explain to me the difference in the EAR versions.

Is it tied to the JDK version 1.4, 5 and 6?

Thanks.

enter image description here

like image 321
Oh Chin Boon Avatar asked Feb 03 '12 03:02

Oh Chin Boon


2 Answers

It is not JDK version. It is J2EE/Java EE version.

It is asking you which J2EE/Java EE version the ear format (deployment descriptor etc) should adhere to: J2EE 1.2 or 1.3 or 1.4 or Java EE 5 or Java EE 6.

Application servers publish their compliance levels. And some application servers generally support older ear versions as well. For e.g. WebSphere 6.x is J2EE 1.4 compliant but it can still run 1.3 ear version.

like image 177
Aravind Yarram Avatar answered Oct 21 '22 07:10

Aravind Yarram


enter link description hereWhat application server and version are you looking to ultimately deploy to? You would want the ear to match the level of compliance the target application server is. For example, Oracle 10.1.3.5 Is J2EE 1.4 while JBoss 7 is Java EE 6.0 compliant.

Wikipedia and others attempt to track what each vendor's compliance level is.

like image 27
Brian Avatar answered Oct 21 '22 07:10

Brian