JME
JME

Reputation: 2353

JavaSE-1.6 and JavaEE compatibility

I am currently designing a SDK that is intended to be used in both desktop and web applications. Currently I have been developing this SDK in using the JavaSE-1.6 Library and utilizing the Apache HttpComponents library as well as the JibX Library for web connections and xml parsing respectively.

If I wish to develop a web application using the JavaEE library, would I be able to use the SDK that I have developed in JSE-1.6?

If so, are there any compatibility issues that I need to be aware of?

If not, would it be better to develop the SDK in JavaEE, or would I run into the same compatibility problems if I wished to create a desktop application?

Upvotes: 0

Views: 103

Answers (1)

BalusC
BalusC

Reputation: 1108802

J2EE/Java EE is not mutually exclusive from Java SE as you seemed to expect, given the question. Instead, Java EE requires Java SE to run. So if you just design your API to be compatible with Java SE, then it'll work equally fine on Java EE.

As to the version compatibility, checkout Wikipedia on the subject. For example, the current Java EE 6 requires a minimum of Java SE 1.6.

Upvotes: 3

Related Questions