Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How to deploy servlets on a j2ee server?


Asked by Colette Bryan on Dec 11, 2021 FAQ



Deploying servlets on a J2EE-compliant server, such as WebLogic Server, is accomplished by packaging the servlets and other resources that make up an enterprise application into a single unit, the Web application.
Thereof,
Nevertheless, if there is an astute requirement of a warrant, the J2EE application client opens up an HTTP connection for establishing communication alongside a servlet that runs in the web-tier components. Servlets are smaller Java programs that essentially run within a web server.
Just so, Each module has a Sun Java System Application Server deployment descriptor and a J2EE deployment descriptor. The Sun Java System Application Server Administration Console uses the deployment descriptors to deploy the application components and to register the resources with the Sun Java System Application Server.
And,
A web application is a collection of servlets and other contents installed under a specific subset of the server's URL namespace. A separate directory is dedicated for each servlet application. Therefore, the first thing to do when you build a servlet application is create an application directory.
Besides,
A J2EE module is a collection of one or more J2EE components of the same container type (for example, web or EJB) with deployment descriptors of that type. One descriptor is J2EE standard, the other is Sun Java System Application Server specific.