Java EE vs Java SE: version mismatch?

I was wondering if there is a correlation between the Java EE versions working on Java SE. I found this question but the answers there are outdated and not satisfying. My question is:

  • is there a hard link between EE and SE versions so that java EE 8 will only work with Java 1.8, java ee 7 will only work with java 1.7, etc.?
  • If above false (i.e. you can mix versions), is it above the preferred path? Does it make sense to run java EE 6 on java SE 1.8 (just an example)?

I know Java EE is just a bag of specs, but are those specs enforcing the Java SE anyway?

+3


source to share


2 answers


It is rather about what SE versions the EE server can handle. Like here https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Installation_Guide/Java_Environments_Supported_By_JBoss_Enterprise_Application_Platform_61.html



+2


source


As per oracle doc here

Java EE

The Java EE platform is built on top of the Java SE platform. The Java EE Platform provides an API and runtime for developing and running large-scale, multi-tier, scalable, reliable and secure network applications.



Ideally Java SE should be a higher or equivalent version than JAVA EE. According to this statement, it is possible to run java EE 6 on java SE 1.8 and not in reverse.

+1


source







All Articles