Create servlet and JSP in intellij idea - java

I am using intellij idea 12 community edition, I think I need to install Java EE plugin for creating servlet and JSP, But I can't find this plugin nowhere!
I looked up in settings, project structure and install jetBrains plugins.

If you need to create just servlet and jsp pages, you can simply add servlet-api and jsp-api jar files to your IDE.

That's only an IntelliJ Ultimate Edition feature. If you want it, you'll have to pay for a license.

Related

IntelliJ idea doesn't show me the spring initializr

could you help me please?
I've intall the lastest Intell iDEA version 2020.1.1 comunity but Whent I try to creat a new project with Spring it doesn't show me Spring
I looked for it in the installed and disabled plugins and nothing appears about it.
How can I install it manually?
there is not support for Spring in that version dude, but you can user https://start.spring.io/ to create the project with its depencencis , also you can use the SpringTools suite Ide based on eclipse but you really want use IntelliJ iDea https://start.spring.io/ is your best option is almost the same.
That is part of IntelliJ Ultimate edition
You would require to go to https://start.spring.io
Select modules and options and download zip, and import in intellij community
Spring is not supported in the community version of IntelliJ. You need to get the Enterprise (Ultimate) Edition.
Refer here : https://www.jetbrains.com/idea/features/editions_comparison_matrix.html
Better use -> Spring Tools Suite 4 Eclipse IDE. (Free and recommended one).

How to create a Web Form in Java with Eclipse

I'm trying to create a simple webform in Java with Eclipse but I've seen that I have to do New Project --> Web --> Dynamic Project
However, all I see when I click on New Project is the screenshoot below. I don't have the Web option.
I'm using Ubuntu and I've installed Eclipse Standard 4.3.2 (http://www.eclipse.org/downloads/packages/release/Kepler/SR2)
Should I install a different version? Eclipse IDE for Java EE Developers?
UPDATE
This is the printshoot of the error when installing the IDE for Java Developers
Eclipse IDE for Java EE is not a different version so much as a different package containing support for developing JSPs, Servlets, and other web artifacts. Kepler SR2, though, is a version--a two year old one that's since been superseded by Mars.2. So download the Mars.2 version of the Eclipse IDE for Java EE Developers. The download page at http://download.eclipse.org/ should always have the current supported version.

eclipse wont let me create a dynamic web project

I recently downloaded java7 and eclipse indigo to my computer. I am trying to create a dynamic web project but it wont let me. It will only let me create General, CVS, Java, and Maven projects.
I would like to compile a project into a WAR file and am having difficulty.
If you have downloaded the Eclipse Classic or the Eclipse for Java Developers package, you will need an additional component called Eclipse Java EE Developer Tools. I suggest you install the whole Web,XML, Java EE and OSGI Enterprise Development section.
If you download Eclipse IDE for Java EE Developers you won't need to add it.
Use this guide to install new components in your IDE.

Java EE auto completion

Where can I find the jar file or the source code of JEE6? Or is there another way how you can get autocompletion for this in Netbeans/Eclipse?
And I have just installed glassfish so that i can use JAX-RS but i do not understand how it works. Why does the javacompiler find these classes but netbeans does not? I building with maven2 but have not set any paths or so.
And why am I not able to install JEE6 without glassfish? I just do not need an application server for a REST service with Jersey.
Best regards,
CQQL
Question #1:
See this example project.
The example project is built with maven, which may answer your question about auto-complete. Netbeans 6.8+ (approx) has built-in maven support. After the first build of the example project, I think you'll see that auto-complete works better for any dependencies (i.e. jersey) inside the pom.xml. In my Netbeans, auto-complete works, but the javadocs are not there, which may mean that Jersey wasn't bundled with them.
Question #2: Your maven on the command line and the one inside Netbeans are different copies. You can make Netbeans use a specific copy of maven in Tools/Options/Misc/Maven/External Maven Home. This may clear up some confusion.
Question #3: Jersey can run in Tomcat or Jetty if you find Glassfish to be too much app server for your needs.

JSF 2.0 project Structure

We are creating a new project using jsf2.0, richfaces 4.0, jjdk 6 and tomcat 7.0
I want to know the standard way of creating project. I mean folder structure. Any sample application or book or link will be a great help to me.
Maven uses a best practice approach for project folders. Even when you do not plan to build with maven, have a look at their structures:
Maven: Introduction to the Standard Directory Layout
I participated once in a project, which had Spring 3.5, JSF 1.2 and ICEFaces 1.8, was running on JDK6 and everything was deployed to Tomcat 6.0 - similar situation to yours. We used Apache Maven as a project management tool.
Very flexible and comfortable. You could also consider using ICEFaces instead of RichFaces.

Categories

Resources