0

I am confused about java platforms.From the page Differences between Java EE and Java SE , java has four platforms. Has there any special things between them ? Are they use different JDKs or JREs ?

For clear my question , when I download JDK , I think I can create not only java desktop applications (with swing or javafx) but also web applications.If so ,why java says it has different platforms. If yes , it should has different jdk or jvm for each specific platform. As I think , different platforms mean I need to download different version of JDK. For instance , I need to download JDK for JavaEE platform which contains API for JavaEE.

Cataclysm
  • 7,592
  • 21
  • 74
  • 123
  • http://stackoverflow.com/questions/1065240/whats-the-main-difference-between-java-se-and-java-ee – Jim Jun 07 '16 at 19:06
  • I talk to someone , ***java has four platforms java-se,java-ee,java-me,javafx*** . He asked me back `Can I create four types of applications with one jdk ? Has there some jdks for each platform ?If I can create all with this JDK why java says it has four platforms ?` ... How to answer him ? – Cataclysm Jun 07 '16 at 19:10
  • Java 7 documentation says that there are 3 platforms and JavaFX is part of Java SE – mjn Jun 07 '16 at 19:26
  • @mjn Thank you ... the link I described may aim for Java8 – Cataclysm Jun 07 '16 at 19:29
  • Dear Down-Voter: This is a legitimate Question. [That official article](http://docs.oracle.com/javaee/6/firstcup/doc/gkhoy.html) from Oracle is confusing, listing FX as a separate platform. – Basil Bourque Jun 07 '16 at 19:37

1 Answers1

2

It depends (like often).

The JDK is a development kit for Java SE including FX. So you can develop desktop applications but also web applications depending on the type of integration you prefer. The Java EE SDK contains also the Glassfish server, examples and tutorials but they are not really needed. The ME is a special minimized versions for embedded device development including special tools for that.

I am developing web application for years with a Java SE JDK only. As I normally use Spring Boot with an embedded container or install a Tomcat on demand, this works perfectly and the Java EE SDK is not needed.

Arne Burmeister
  • 20,046
  • 8
  • 53
  • 94
  • As your answer ,If I have plan to create ME application , do you mean I need to download jdk for ME edition and it has specific libraries for macro devices ? – Cataclysm Jun 07 '16 at 19:22
  • I never saw different jdk or jvm for specific platforms. – Cataclysm Jun 07 '16 at 19:23
  • 2
    Also, that article looks old, and in the old days early days of JavaFX, these early versions of FX were shipped separately. Only later was it bundled with Java SE. Being a separate download at that time may have been the reason for that article’s listing it as a separate platform. – Basil Bourque Jun 07 '16 at 19:50
  • @Cataclysm beside the JDK there are downloads for the Java EE SDK and the ME SDK – Arne Burmeister Jun 07 '16 at 21:21