Welcome, my friends.
Welcome to this lecture.
In this lecture, we will try to study the life cycle of a sonnet using diagrams.
So let's start with the first diagram.
So we are first going to see this part of the diagram where the client calls the VIPs.
So now this is the VIPs server and this foredeck angle is what encompasses.
So within this Web site that we have hosting a select as well as it is a container.
So it has a container.
What makes this object and what makes this simple Java object is servlet is that the simple Java object
extends Bystolic.
That's what makes it a solid.
So this is that Solnik, which is a site and.
And this is the container.
The client from the Web flow from the Web browser.
It can be Firefox, Internet Explorer and whatever.
It makes a HTP request.
No decision to be request is made by the container, the container also reads that it is a get request.
OK, so the container that they read, the request and actually request and say is the GTECH list.
So this is what is happening in the first part of the diagram and the second part of the diagram, not
the request, has reached the container.
The client has in this in this part of the diagram.
The client has nothing to do with it.
The container creates two objects to Java objects request, and each response that is requested is to
be a response perspectively.
These are the two objects that are created.
Everything else remains the same.
And the third part of the diagram, this, the servlet which we have, which which which has been instantiated,
which has been which has been created.
It's constructor has been created.
This object pulls up ahead.
I think it creates a tension.
This is a military operation, every request will create a single state, will not create a separate
object.
Object is created only once during the first request or under Lord Lord of the Lord on start up, which
means that when the dawn gets out of it as it started, the sternlicht will be instantiated.
So there are two ways the subject will be instituted, as I have already mentioned.
One is when the soldier starts up, you have to mention that specifically in Lord of Lord, Lord on
Startup or the second, when the first request is made to the subject, when the second request is made
and the subject will not be instantiated and the had will be created.
Now in this thread you send the request and the response objects.
These requests in response objects embody the request as you request and the response they have.
Did you have functions?
They have methods for which you can you can ask different different characteristics of requests as well
as responses.
OK, so now we will move to the next part of the diagram in the next lecture.
Right.
Thank you.