Welcome, my friend.
Welcome to this section.
In this section, we will create our first solar eclipse.
The first look will be about checking the lifestyle steps.
We will see in what order these steps are happening and we'll actually see and record these programs
are sold.
It will have various solar API references and we will go to the EPA.
We will go through different sets of APIs like Aquarist Responses, UDP Servlet.
You actually see it in the court class and we'll see what methods that they have.
We will actually see the lifecycle steps happening.
So let us go forward.
In this lecture, we'll create a project and we'll also create a solar eclipse.
So let's get going with it.
We'll open Solnik.
We'll go to the default workspace and we'll open the eclipse Marche Bush and take some time to open.
So eclipses all.
Here we have a service and we have at eight point zero, seven o'clock unlost stop we had configured
in an earlier lecture, we had configured tonkatsu server into the eclipse.
We would not use it on us.
So first, let's go to fight.
Go to new.
And then you go to a dynamic net project, you know why you choose Dynamic, the project is because
Soulik is basically for four or five episodes and it is dynamic in nature.
So we want to use a dynamic project where we can have an embedded Dunkerque server and we can look on
servlet.
It'll also provide context support for Soulik, which we will go to later.
So it's a dynamic project.
Project name can be anything to keep it like lab practical.
We keep everything else the same and we'll say next and we'll see again next.
Here in this park, the Web content content directory is content on TextField, so practical, and we
will take this generate XML deployment descriptor.
Now this thought experiment is extremely important and it's compulsory for also could be declared the
servlet what what the Soviet class actually is, which you are elimelech map to depending on the URL
you type in the in the browser acrobatically map it to a particular.
So let's go to that.
Sold it by default to Google to the get method.
But if you, if you mention it in the post method also.
OK, so in this case we'll just generate the text.
I mean it's an empty, empty structure.
We've got some if you not have anything in it, but let's play it and we'll finish.
So, so practical, this is the project.
Right now in this.
In this, we go to Jova Resources and this will go to the source right in this, we will develop our
Soulet in the source foredeck, also web to see that MediaNet from Bhabhi in if compulsory rebuying
has been found and thereby enough.
We have the submitted fight like this is red usually.
Really.
This is the place to get your application.
Your application will be deployed in the country, especially in preparing like.
So.
Let us create a solid no.
We have already created a project, the project name is so little practical here.
No, we'll create a solid.
All right, click on source, say new and we'll say Soulik.
No more Java package we want, we can give any package I'm giving Gone Dark.
So black.
Labs like.
As the package and the class name is.
Life-cycle.
So the superclass, as you can see, is a deep, so deep, deep.
So this has to be the superclass, which means that it will extend this glass, right.
So that is what makes this.
So let us soulik as we have already mentioned in the diagram.
So you saw that.
I told you that if you extend the issue to be subject class, any any preened or Java class, which
is our class, extends the deepest class, then it becomes a solid right.
So the class name is Life-cycle Steps and this is the package of Next.
We can leave out the description that you are not being, as we said, slash life-cycle steps there
does accept that.
OK, I'll explain to you later this.
You are mapping life-cycle slash life cycle steps will become if you type in the browser, for example,
if you type one two seven zero zero dot one around AT&T slash life cycle steps, lifecycle steps, this
one, then it could go to the boss and it will automatically go towards servlet.
So this is the you are the mapping.
This is usually done in the way.
You're not doing it in a different direction.
We are using an annotation.
I'll explain that a little.
So which method steps would you like to create?
I would like to create an in it, I would like to create a history also, but it is not giving an option
for destroying.
Yeah, here it is, I would like to give our history also, and we are not implementing service method
we are implementing to get to do cost services and be better than I thought.
OK, I'm finished.
So I so alert has been created.
As you can see, Life-cycle steps, this is sort of like it extends deepest subject, so this is our
soulik and.
This is the letter that we said we should be getting a. so it has overridden the unique method it has
over it in the destroy method also.
OK, and here is their douget and dubost method that the processing will actually take place, we will
use the budget method, which is the default.
So in this lecture, we created a project called Solar Lab Practical, and we also created a servlet
within that project and source directly or lifecycle steps, lifecycle steps extends its GDP.
So so it becomes a servlet by itself also.
OK, and we have overridden some methods like Anick and Destroy.
We used it in the configuration we use.
We take pigment in it and destroy because we were attacked by our cells.
If we didn't do that this, then we would have to type in it and then we were to have to do all that
stuff.
So typing to or, you know, would not allow doing any typing or anything like that.
We use that configuration beside itself.
OK, so this is for this lecture.
In the next lecture we will go through source attachment.
What is attachment that I'll try to explain to you a little bit in this lecture itself.
Pest control, pest control, keep on pressing it.
And whoever works of exception or for that matter, over, over Bystolic kill over what should be soulik.
And this becomes a link.
Now, you just left click on the link and this is the source.
Attachment does not contain the source payslip, class change attached source.
So you have to get a sort of solid API and we will do that at the next lecture.