JAVA EE WEB APPLICATION DEVELOPMENT
Java Platform, Enterprise Edition (Java EE) is the standard in community-driven enterprise software. Java EE is developed using the Java Community Process, with contributions from industry experts, commercial and open source organizations, Java User Groups, and countless individuals. Each release integrates new features that align with industry needs, improves application portability, and increases developer productivity.
Get Start
- Install latest JDK — java development kit in your pc and pc environment path set . https://www.oracle.com/java/technologies/javase-downloads.html
- Install latest Java code editor Eclipse |Netbeans IDE.
Java servlet page (.jsp) inside we can write html codes and java codes.(for interface design)
what is java servlet ?
- It is a java class file. It support to communicate request & response using between server and .jsp file . The javax.servlet & javax.servlet.http packages provide interfaces and classes for writing servlets.
- All servlets must implement the Servlet interface, which defines life-cycle methods. When implementing a generic service, you can use or extend the GenericServlet class provided with the Java Servlet API.
- The HttpServlet class provides methods, such as init, service,destroy, doGet ,doPost, for handling HTTP-specific and more services.https://docs.oracle.com/javaee/5/tutorial/doc/bnafe.html
Create New Project
- Open Eclipse IDE & Netbeans IDE ->FIle -> New -> Select specific Project Type….ex -: Maven , Dynamic , Ant , Jsp , Static ….
*#* Purpose of different project types *#*
Maven Project
Maven is a powerful project management tool that is based on POM (project object model pom.xml file inside have all the dependencies). It is used for projects build, dependency and documentation. It simplifies the build process like ANT. But it is too much advanced than ANT.
In short terms we can tell maven is a tool that can be used for building and managing any Java-based project. maven make the day-to-day work of Java developers easier and generally help with the comprehension of any Java-based project.
Open NEW Project
- Open Eclipse IDE & Netbeans IDE ->FIle -> New -> Maven
- Open Eclipse IDE & Netbeans IDE ->FIle -> New -> project-> Maven project
- Open Eclipse IDE & Netbeans IDE ->FIle -> New ->Other->Maven->Maven Project

Select Archetype type |add new Archetype
what is Archetype ? In short, Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The name fits as we are trying to provide a system that provides a consistent means of generating Maven projects
Do you want generate what type of template select here.
ex: if you want web app select Artifact id : maven-archetype-webapp



Other maven project file Structures
https://examples.javacodegeeks.com/enterprise-java/maven/maven-project-structure-example/
THEN TOMCAT | GLASSFISH SERVER RUN
BUILD | DEBUD | RUN PROJECT IN SERVER
http://localhost:8080/saviwebapp/index.jsp
All the Server Configurations
Project name -> right click ->properties->server
Fix servlet error in index.jsp
Error fix — jakartha.servlet.htttpserver not found.
pom.xml to add this dependancy and right click ->maven->update project
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>5.0.0-M2</version>
</dependency>
<! — Thanks for using https://jar-download.com →
Dynamic Project
Dynamic web projects can contain dynamic Java EE resources such as servlets, JSP files, filters, and associated metadata, in addition to static resources such as images and HTML files.
OPEN NEW PROJECT
- Open Eclipse IDE & Netbeans IDE ->FIle -> New -> Dynamic Web Project
- Open Eclipse IDE & Netbeans IDE ->FIle -> New -> project-> web->Dynamic Project


Another DYNAMIC Project

Static Projects vs Dynamic Projects
Static Web Project is written entirely using HTML. Each web page is a separate document and there are no databases or external files that are drawn upon. means that you can edit any web page using FrontPage Editor, Dreamweaver or pay your web developer to make updates for you.
Dynamic Web Project are builds upon more complex code like PHP, ASP, JSP, Servlet java file etc. in this project server side coding. You should select Dynamic web project to get more benefits.
Gradle Projects
Gradle is a general purpose build management system. Gradle projects can be something which should be built or something that should be done.
Web Services Projects
Web service is a technology to communicate one programming language with another.


Web Services tutorial is designed for beginners and professionals providing basic and advanced concepts of web services such as
- protocols,
- SOAP
- RESTful
- java web service implementation,
- JAX-WS,
- JAX-RS tutorials and examples
- For example, java programming language can interact with PHP and .Net by using web services. In other words, web service provides a way to achieve interoperability.
JSP PROGRAMMING
MOST Important Thing TO .JSP inside writecodes/














