Upgrade Java SE to Java EE as well as Eclipse

I currently have Java SE on my Linux machine and am using Eclipse as my IDE. Is there a way so that I can "upgrade" my Java SE to EE? Since EE is just basically a few additional libraries ...

I also understand that by default, Eclipse is only "configured" to use Java SE, so if I upgrade to EE, do I have to install some additional plugins for Eclipse, get a completely different version of Eclipse and so on?

Thanks in advance!

+4
source share
2 answers

Is there a way so that I can "upgrade" my Java SE to EE? Since EE is just basically a few additional libraries ...

In principle, no. Your characteristic of Java EE is incorrect.

Java EE (typically) is implemented as a "web container" or "EJB application server", and its large parts only make sense as part of a web container. (And indeed, a significant portion of the Java EE implementation is actually specific to the web / application container.)

Having said that, some (abstract) APIs and some of the libraries are available as separate JARs and can be installed piecewise. And if what you want to do is to develop for EE, then there are Eclipse plugins / functions / something for that ...


Therefore, it is generally recommended (or safer) to simply uninstall my Java SE, install Java EE. Then uninstall Eclipse and install "Eclipse for EE Development"?

No need to remove Java SE. Indeed, some Java EE implementations require the installation of Java SE. Read the instructions ...

For Eclipse, this may depend on your OS, but on Linux, the β€œinstall” process simply extends the ZIP file. I found that two Eclipse installations can coexist side by side in separate directories.

But...

  • Be careful not to accidentally install one version / version on top of another. IIRC, the root directory of a ZIP file is always an "eclipse" ... which makes it shoot in the foot! (Sigh).

  • It's wise to back up everything, including the old Eclipse installation and your workspaces.

  • In fact, some people recommend throwing away all your workspaces and starting over by checking / materializing projects from version control.

+7
source

You need a web tooling platform (WTP) added to the Eclipse installation for Java EE development. First go to the eclipse help menu β†’ install new software β†’ add site
Here you can find update sites.

http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F

+2
source

Source: https://habr.com/ru/post/1493137/


All Articles