#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...
Auf dieser Seite können Sie das Online-Video Servlet API in Enterprise Java mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer BANSODE TECH SOLUTION 28 Juli 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 299 Mal angesehen und es wurde von 8 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!