Java

By
manoj
, 1 September, 2023

A war (web archive) File contains files of a web project. It may have servlet, xml, jsp, image, html, css, js etc. files.

How to create war file

To create war file, we need to use jar tool of JDK.

jar -cvf projectname.war *

-c is used to create file,

-v to generate the verbose output and

-f to specify the arhive file name.

How to deploy war file

How to extract war file

By
manoj
, 31 August, 2023

In this article we will learn to setup apache tomcat in Visual Studio Code and then we will see how to create a war file from a web project and deployment in  tomcat and run application.

Important to know:

- Visual Studio code does not come with any embedded application server.

- As we know to work with web application we required server integration.

-In Visual Studio Code , We need third party extension to integrate appliaction server like tomcat.

So, Lets learn  Apache Tomcat Setup and Web Project Deployment

 

By
manoj
, 30 August, 2023

Introduction to JSP in Java

is used to create java based web applications

Introduction to Servlet in Java

Servlet is the base of web applications in Java. If you want to make a web application, then it is necessary to know about it.

Disadvantages of Servlet

Web page designing is difficult

Recompiled and Redeployed

For every request we have to write seprate service method

By
manoj
, 3 July, 2023

Spring and Spring Boot are both Java frameworks that are widely used for building enterprise-level applications. While they are related and share common features, there are some key differences between them.

By
manoj
, 18 February, 2023

Prerequisites for creating a Spring Boot Application

Prerequisite for Spring boot development needs to be installed prior.

Step 1:Installation of List of System requirement