How to install jave EE ide for web developer on eclipse - java

I've been wondering how am I supposed to get Eclipse Java EE IDE for web developer.
I installed Neon Eclipse a month ago to do my core Java course and I'm starting on my Servlets and JSPs: Creating Web Application.
But I am unsure on how in doing it. My current neon eclipse only enable me to choose this option as shown below.
Based on my online tutorial courses, I need to get this information when creating a file from eclipse. But my neon eclipse doesn't have the option that allows me to.
Do I need to download a new eclipse specially for Java EE IDE web developer? If yes, which should I be downloading? E.g luma or etc etc. Will it overwrite my current eclipse program that I have on my computer for my core Java? I am afraid that my current eclipse program will get affected.
Thanks in advance. Sorry, I'm new and unfamiliar with the software and how in doing it.

Eclipse IDE is extensible or modular. If you didn't get the Java EE version initially, you can simply install into your existing IDE the support for Java EE. To do so, go to Help > Install Software... , on the installation dialog, show the Neon repository and find ymthe various extensions related to Java EE and Web development. Select them and click install. Upon restart, you'll get the Java EE support there.

Related

How to create a Java Servlet application in IntelliJ IDEA Community Edition with Java EE 7 and Glassfish 4?

I want to create a Java Servlet. I know nothing about the Java ecosystem except a tiny bit of the Java language.
I already had JDK 1.8.0_65 on my machine and JRE 6 as well.
I looked up this article. It said I could use Glassfish as the application server. Java 7 EE comes with Glashfish 4.
So, I went to this page and downloaded the Java Platform, Enterprise Edition 7 SDK Update 2 for Windows. I am running 64-bit Windows 7 Home Premium. It is presently a 128 MB download.
To install it, I looked up the very unhelpful instructions on this web page. That didn't help me because this page says almost nothing except: please unzip your download and then ???, and then profit.
But this video helped me. Here's what I did.
I unzipped the folder and placed the uncompressed folder in my %Program Files%\Java folder. Then I ran the %Program Files%\Java\java_ee_sdk-7u1\glassfish4\glassfish\bin\startserv.bat file and browsed to the Url http://localhost:4848 and the Glassfish Console started up just fine.
Then as per the instructions in the Creating a project section on this page, I opened up the IntelliJ IDEA Community Edition 2016.2.1 IDE, which I already had installed previously, and clicked the Create New Project menu item in the start-up dialog.
However, in the New Project dialog, I do not see the option Java Enterprise as the article suggested. This is what my New Project dialog looks like.
What do I do now? I just want to create a simple Web application using servlets.
One difference I note is that the article suggests that I have IntelliJ IDEA Ultimate Edition, which I do not have. Is it not possible to create servlets using the community edition of IntelliJ IDEA?
IntelliJ IDEA Comunity Edition can't create Java Enterprise applications, but Ultimate Edition can (IntelliJ IDEA Editions comparison matrix). Use it, or some another free IDE Eclipse, Netbeans etc.
Netbeans is your best option to just make it work right now If you download the Java EE version of netbeans everything is ready to go. Also most of the canonical getting started documentation focuses on/ is highly coupled with Netbeans development.
This is a Netbeans focus/opinionated setup guide from oracle.
https://docs.oracle.com/javaee/7/tutorial/usingexamples001.htm
I don't think intellij idea will read what you installed. Try using maven, and select webapp. Then search for the maven respiratory for servlets. I'm note even sure it will work. Your best bet for a free ide would be eclipse. Its not the best for beginners, but it's better than netbeans. Or you could simply waste your money on the paid version.
No you cannot create Enterprise applications in intellij community ,But you can run the servlets using google appengine in intellij community.I recommend you read this post

In eclipse JUNO 4.2.2, option for creating JSP is not found

I am using eclipse 4.2.2 juno, it is Java J2EE IDE, I have also installed the java web developer tools but still I am not able to navigate JSP file.
please refer below
please suggest on this issue
Please check Eclipse Java Web Developer Tools. Shown in the picture below.
If it is not there, you should install it by following steps:
Help-->Install New Software
Select Juno - http://download.eclipse.org/releases/juno
Select Web, XML, Java EE and OSGi Enterprise Development --> Eclipse Java Web Developer Tools
Thank you :)

Eclipse and JAVA EE 7

I have downloaded Java EE 7. My question is what plugins should I download to make ECLIPSE working as good as it is possible with JAVA EE 7?
I mean I am new to servlets and JSP I have to be able to create Project that has all required files folders etc (Like when I create ordinary Java project in Eclipse).
I know my question is not to specific but in general:
I want to have all my files in one project (Like in ordinary Java project in ECLIPSE)
I want deploy it in easy way
What plugins I have to install on Eclipse to achieve this?
I am using TOMCAT server but when I installed JAVA EE 7 it installed GLASSFISH which one use?
The easiest way to build Java EE projects is to download new Eclipse IDE for Java EE Developers which is available here
Eclipse for Java EE Developers is everything what you need for your beginner projects. There is no point to look for anything else for your purposes in my opinion.
You can use tomcat or glassfish for your projects. You can configure it by yourself in Eclipse.
To do this go to menu bar.
Window/Show view/Other/type "server" than press OK
New window will show up with link "No servers are available. Click this link to create a new server"
New windows will appear where you can add server of your choice. Personally I prefer Tomcat.
If you have problems with it find beginners movies on youtube where you can easily find how someone else creates java ee projects in eclipse.
Hope that make sense for you.
Most of the plugins work in Java EE 7. To deploy it you can use an Ant File and can use any server (Tomcat, Glassfish, Jboss...).
Maybe, Git plugin will be useful to save your code in the cloud.
Not need to any plugin if you download java EE 7 jsp and servlet are standard for javaEE and when you create new jEE project it will contain all your folder as java standard with additional folder as web.xml and web-inf which contain your jsp pages ,you can user Maven to manage your project and i advice tomcat as server with jEE

Open new dynamic web project in java

I'm writing server-application in java which needs to run on ec2 of amazon. I read somewhere i need to open dynamic web project, but i don't have this option in eclipse. my eclipse version is .
I tried to install through help -> install new software the package "Web Tools Platforms" from http://download.eclipse.org/webtools/repository/indigo
but it failed in the middle of the installation.
Somebody can help me with that?
thanx!!
You need the one labelled Eclipse for Java EE Developers that one lets you create web projects.
Also see this & this. It will help you..
Not all of them are required (I think), but after installing the components listed below I got the "Dynamic Web Project" template added to my Eclipse (Indigo). The list is:
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
You can install those packages by clicking on "Help" > "Install New Software", selecting the repository that corresponds to your Eclipse build (i.e http://download.eclipse.org/releases/indigo for Indigo). The packages are grouped under "Web, XML, Java EE and OSGi Enterprise Development".

How can I see the new web application option in Eclipse

I just installed Eclipse at home, so I can program servlets. But it seems that I don't have the new Web applciation option, and many others.
Anyone knows what's the problem ? I install it first in Program Files then on C:\. Still the same problem.
Btw, I am using Windows XP, with Eclipse Helios Service Release 2.
Did you download the version that includes WTP (Web Tools Platform). If not you will have to add the appropriate features.
Which version of Eclipse did you download? There are several different distributions (Eclipse Classic, Eclipse for Java Developers, etc.). You should make sure you downloaded the "Eclipse IDE for Java EE Developers".
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr2
To program servlets you need Eclipse for Java EE developers, and DON'T forget a server like Apache Tomcat, or Glassfish, which I guess are not included with the original package of eclipse.
Personally I have manage to install Tomcat separately from Eclipse and then link it with the IDE. There are plenty of tutorials on youtube:
http://www.youtube.com/watch?v=IX8xb-suzVg
http://www.youtube.com/watch?v=EOkN5IPoJVs

Categories