#Servlet API in #Enterprise #Java
Java provides a servlet API which is a class library for implementing servlets.
Java API forms a standard Interface.
Servlets can access the entire family of Java APIs.
Java.servlet package
#Java.servlet package is the core of the Servlet API.
This package also include classes for :-
Communication with the host
#ServletRequest
#ServletResponce
Communication with the Client
#ServletInputStream
#ServletOutputStream
#Servlet Interface
It is collection of empty method signatures.
This interface hold method signature that bring the following basic servlet functionalities:-
#Initializing a Servlets
#Handling a Client request
#Destroying a servlets
#init() :- is used to initializing the servlets parameters provided by the ServletConfig object.
#destroy() :-it is also called only once immediately before servlet is unloaded.
#service() :-is the actual heart of the HTTP Request-Response Model.
#getServletConfig() :-Provides the Servlet Config Object for initializing the servlet’s parameters.
#getServletInfo() :-provides the servlets metadata.
ServletConfig #Interface
#ServletConfig help server pass initialization and context information to servlets such as
A series of initialization parameters
A servletContext Object, which provides information about the server environment.
#getServletName():- return the name of this servlet instance.
#getInitParameter() :- return the value of the named servlet Initialization Parameter.
#getInitParamerterName():- return all the Servlets initialization parameter names as an Enumeration of string objects.
#getServletContext() :- Returns a reference to the ServletContext in which the caller is executing.
PLAYLIST ENTERPRISE JAVA #PRACTICAL :-
• ENTERPRISE JAVA PRACTICAL TUTORIAL TYIT MU...
PLAYLIST #EJ #ENTERPRISE #JAVA #THEORY:-
• Enterprise Java THEORY TUTORIAL
#Subscribe the Channel Link :- https://www.youtube.com/c/AjUpgrading...
IF any Query or Doubt DM on #Instagram :-
https://www.instagram.com/bansode_aja...
On this page of the site you can watch the video online Servlet API in Enterprise Java with a duration of hours minute second in good quality, which was uploaded by the user BANSODE TECH SOLUTION 28 July 2021, share the link with friends and acquaintances, this video has already been watched 299 times on youtube and it was liked by 8 viewers. Enjoy your viewing!