Servlet API in Enterprise Java

Publicado em: 28 Julho 2021
no canal de: BANSODE TECH SOLUTION
299
8

#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...


Nesta página do site você pode assistir ao vídeo on-line Servlet API in Enterprise Java duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário BANSODE TECH SOLUTION 28 Julho 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 299 vezes e gostou 8 espectadores. Boa visualização!