I am currently trying to find an application server where I could deploy my Java 8 projects. As far as I am aware, due to a bug in Glassfish 4.0 it is not possible to run any Java 8 projects on it, and Tomcat supports Java up to Java 1.7. Are there any other possibilities I am not aware of?
Wildfly 8 supports running on java 8's JRE (don't be confused by downloads page saying "Java EE7", this is about EE spec implemented).
Related
I'm moving in to developing Web Apps using Java EE and the first problem I have is not knowing which Server to use! There seems to be so many to chose from!
Glassfish server seems to stand out foremost (and it's top of the list) but when I try to start Glassfish 4.1.2, I get the error GlassFish requires Java SE version 6. and I can't download Java SE 6 for MacOSX without joining the "Oracle Club".
So which Server should I use??
You're running JDK 8, as you should. You should not be downloading JDK 6. It's long past the end of its support life.
Looks like the latest is version 5. You can download it here.
It should be said that you don't need Java EE to write Java web apps. Another alternative is Spring Boot. You won't need an app server, just an executable JAR to be run on a JDK.
Are you on OSX? You can get a JDK1.6 download here: https://support.apple.com/kb/DL1572?locale=en_US
I would be very careful with JDK1.6, it's about as safe as seatbelts made from toilet paper.
This question already has answers here:
Difference between Java SE/EE/ME?
(14 answers)
Closed 6 years ago.
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.
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.
I have multi-aplication system based on Java 6. Each application runs on own Tomcat server installed on one or more hardware servers (linux). Applications using Hibernate (3 and 4 - not unified so far), Spring 3.x. Applications implements Hessian API to communicate each other.
I'd like to migrate one application to Java 8 but only this one. This application is in early developing state so I can do it easily.
Is it possible in my case to mix both Java 6 and Java 8 applications on one target installation? If so, what is important to take care during migration and further development?
The Java platform strongly upholds its promise of backward compatibility. You should have no problem running an application developed for Java 6 on a Java 8 runtime.
I saw this question here on SO but the answers only refer to Java 1.6 and Java 1.7. I have an application that uses Java 1.4, would it be possible to deploy it on Weblogic?
I want to move from Java SE to Java EE. I will be using some of the sample projects that come with the Java EE. I have uninstalled the JDK but I think this may have been a mistake?
When I download the latest Java EE (6), upon installation it asks me for the location of the JDK (which is uninstalled). I was under the impression that the JDK was specific to each version of Java i.e. SE or EE. Am I wrong here? I would have thought that when I download Java EE 6 that it was actually the EE JDK?
Can anybody please clarify this for me?
Java EE is simply a set of APIs on top of Java SE. You'll need to re-install your Java SE JDK.
The JavaEE downloads from Sun's site are just the reference implementations. They build on top of the existing JDK. If you want to use the reference implementation, then go ahead... however, there are lots of other implementations instead.
If you're only doing web applications, you can get away with just a Servlet container.
Reference:
GlassFish v3 - Full JavaEE 6
GlassFish v3 Web Profile - Servlet-only JavaEE 6
Servlet-only:
Apache Tomcat - JavaEE 5
Jetty - JavaEE 5
Open Source Full:
Apache Geronimo - JavaEE 5
JBoss - JavaEE 5, partial 6
Commercial implementations:
IBM Websphere - JavaEE 5
Oracle Weblogic - JavaEE 5
No, Java EE builds on top of Java SE. To get started developing Java web applications, you can download Apache Tomcat.