1 00:00:01,730 --> 00:00:02,720 Welcome, my friend. 2 00:00:03,110 --> 00:00:04,400 Welcome to this section. 3 00:00:05,060 --> 00:00:08,450 In this section, we will create our first solar eclipse. 4 00:00:10,310 --> 00:00:14,360 The first look will be about checking the lifestyle steps. 5 00:00:14,900 --> 00:00:21,620 We will see in what order these steps are happening and we'll actually see and record these programs 6 00:00:22,910 --> 00:00:23,610 are sold. 7 00:00:23,640 --> 00:00:29,960 It will have various solar API references and we will go to the EPA. 8 00:00:30,140 --> 00:00:35,220 We will go through different sets of APIs like Aquarist Responses, UDP Servlet. 9 00:00:35,420 --> 00:00:41,060 You actually see it in the court class and we'll see what methods that they have. 10 00:00:41,450 --> 00:00:45,380 We will actually see the lifecycle steps happening. 11 00:00:46,190 --> 00:00:47,270 So let us go forward. 12 00:00:53,720 --> 00:00:59,330 In this lecture, we'll create a project and we'll also create a solar eclipse. 13 00:00:59,360 --> 00:01:00,620 So let's get going with it. 14 00:01:03,820 --> 00:01:05,110 We'll open Solnik. 15 00:01:06,610 --> 00:01:16,450 We'll go to the default workspace and we'll open the eclipse Marche Bush and take some time to open. 16 00:01:28,360 --> 00:01:29,560 So eclipses all. 17 00:01:31,790 --> 00:01:41,120 Here we have a service and we have at eight point zero, seven o'clock unlost stop we had configured 18 00:01:41,120 --> 00:01:46,670 in an earlier lecture, we had configured tonkatsu server into the eclipse. 19 00:01:47,030 --> 00:01:48,270 We would not use it on us. 20 00:01:49,100 --> 00:01:50,510 So first, let's go to fight. 21 00:01:52,530 --> 00:01:53,220 Go to new. 22 00:01:54,930 --> 00:02:01,020 And then you go to a dynamic net project, you know why you choose Dynamic, the project is because 23 00:02:01,290 --> 00:02:06,700 Soulik is basically for four or five episodes and it is dynamic in nature. 24 00:02:06,720 --> 00:02:12,810 So we want to use a dynamic project where we can have an embedded Dunkerque server and we can look on 25 00:02:13,440 --> 00:02:14,170 servlet. 26 00:02:14,390 --> 00:02:19,390 It'll also provide context support for Soulik, which we will go to later. 27 00:02:20,160 --> 00:02:22,080 So it's a dynamic project. 28 00:02:24,790 --> 00:02:30,590 Project name can be anything to keep it like lab practical. 29 00:02:35,700 --> 00:02:42,810 We keep everything else the same and we'll say next and we'll see again next. 30 00:02:45,250 --> 00:02:54,460 Here in this park, the Web content content directory is content on TextField, so practical, and we 31 00:02:54,460 --> 00:02:59,370 will take this generate XML deployment descriptor. 32 00:02:59,740 --> 00:03:07,450 Now this thought experiment is extremely important and it's compulsory for also could be declared the 33 00:03:07,450 --> 00:03:14,110 servlet what what the Soviet class actually is, which you are elimelech map to depending on the URL 34 00:03:14,110 --> 00:03:19,340 you type in the in the browser acrobatically map it to a particular. 35 00:03:19,360 --> 00:03:20,610 So let's go to that. 36 00:03:20,620 --> 00:03:23,550 Sold it by default to Google to the get method. 37 00:03:24,250 --> 00:03:27,630 But if you, if you mention it in the post method also. 38 00:03:27,980 --> 00:03:31,280 OK, so in this case we'll just generate the text. 39 00:03:31,330 --> 00:03:33,400 I mean it's an empty, empty structure. 40 00:03:33,820 --> 00:03:38,050 We've got some if you not have anything in it, but let's play it and we'll finish. 41 00:03:45,010 --> 00:03:47,770 So, so practical, this is the project. 42 00:03:50,780 --> 00:03:52,520 Right now in this. 43 00:03:56,250 --> 00:04:03,990 In this, we go to Jova Resources and this will go to the source right in this, we will develop our 44 00:04:03,990 --> 00:04:11,850 Soulet in the source foredeck, also web to see that MediaNet from Bhabhi in if compulsory rebuying 45 00:04:12,090 --> 00:04:14,610 has been found and thereby enough. 46 00:04:14,610 --> 00:04:19,040 We have the submitted fight like this is red usually. 47 00:04:19,090 --> 00:04:19,230 Really. 48 00:04:20,820 --> 00:04:23,640 This is the place to get your application. 49 00:04:23,640 --> 00:04:30,390 Your application will be deployed in the country, especially in preparing like. 50 00:04:32,000 --> 00:04:32,540 So. 51 00:04:33,670 --> 00:04:36,200 Let us create a solid no. 52 00:04:36,520 --> 00:04:41,670 We have already created a project, the project name is so little practical here. 53 00:04:42,280 --> 00:04:43,690 No, we'll create a solid. 54 00:04:46,840 --> 00:04:51,850 All right, click on source, say new and we'll say Soulik. 55 00:04:54,090 --> 00:04:59,660 No more Java package we want, we can give any package I'm giving Gone Dark. 56 00:05:06,590 --> 00:05:07,810 So black. 57 00:05:11,760 --> 00:05:12,810 Labs like. 58 00:05:14,560 --> 00:05:18,310 As the package and the class name is. 59 00:05:22,330 --> 00:05:23,230 Life-cycle. 60 00:05:36,290 --> 00:05:42,270 So the superclass, as you can see, is a deep, so deep, deep. 61 00:05:42,350 --> 00:05:47,140 So this has to be the superclass, which means that it will extend this glass, right. 62 00:05:47,390 --> 00:05:49,580 So that is what makes this. 63 00:05:49,580 --> 00:05:52,520 So let us soulik as we have already mentioned in the diagram. 64 00:05:52,640 --> 00:05:53,360 So you saw that. 65 00:05:53,840 --> 00:05:59,750 I told you that if you extend the issue to be subject class, any any preened or Java class, which 66 00:05:59,750 --> 00:06:07,290 is our class, extends the deepest class, then it becomes a solid right. 67 00:06:07,610 --> 00:06:15,590 So the class name is Life-cycle Steps and this is the package of Next. 68 00:06:17,480 --> 00:06:23,730 We can leave out the description that you are not being, as we said, slash life-cycle steps there 69 00:06:23,750 --> 00:06:24,620 does accept that. 70 00:06:25,100 --> 00:06:27,020 OK, I'll explain to you later this. 71 00:06:27,020 --> 00:06:34,980 You are mapping life-cycle slash life cycle steps will become if you type in the browser, for example, 72 00:06:34,980 --> 00:06:45,740 if you type one two seven zero zero dot one around AT&T slash life cycle steps, lifecycle steps, this 73 00:06:45,740 --> 00:06:51,160 one, then it could go to the boss and it will automatically go towards servlet. 74 00:06:51,170 --> 00:06:52,470 So this is the you are the mapping. 75 00:06:52,730 --> 00:06:53,950 This is usually done in the way. 76 00:06:54,680 --> 00:06:56,680 You're not doing it in a different direction. 77 00:06:56,870 --> 00:06:58,400 We are using an annotation. 78 00:06:58,400 --> 00:06:59,490 I'll explain that a little. 79 00:07:01,970 --> 00:07:05,360 So which method steps would you like to create? 80 00:07:07,220 --> 00:07:13,910 I would like to create an in it, I would like to create a history also, but it is not giving an option 81 00:07:13,910 --> 00:07:14,690 for destroying. 82 00:07:18,400 --> 00:07:26,110 Yeah, here it is, I would like to give our history also, and we are not implementing service method 83 00:07:26,110 --> 00:07:30,200 we are implementing to get to do cost services and be better than I thought. 84 00:07:30,510 --> 00:07:33,000 OK, I'm finished. 85 00:07:40,980 --> 00:07:42,630 So I so alert has been created. 86 00:07:44,650 --> 00:07:51,700 As you can see, Life-cycle steps, this is sort of like it extends deepest subject, so this is our 87 00:07:51,700 --> 00:07:53,230 soulik and. 88 00:07:56,690 --> 00:08:04,100 This is the letter that we said we should be getting a. so it has overridden the unique method it has 89 00:08:04,100 --> 00:08:06,160 over it in the destroy method also. 90 00:08:07,380 --> 00:08:14,520 OK, and here is their douget and dubost method that the processing will actually take place, we will 91 00:08:14,520 --> 00:08:17,700 use the budget method, which is the default. 92 00:08:21,210 --> 00:08:30,360 So in this lecture, we created a project called Solar Lab Practical, and we also created a servlet 93 00:08:30,360 --> 00:08:37,260 within that project and source directly or lifecycle steps, lifecycle steps extends its GDP. 94 00:08:37,260 --> 00:08:41,770 So so it becomes a servlet by itself also. 95 00:08:42,540 --> 00:08:49,290 OK, and we have overridden some methods like Anick and Destroy. 96 00:08:50,220 --> 00:08:53,010 We used it in the configuration we use. 97 00:08:53,010 --> 00:08:57,870 We take pigment in it and destroy because we were attacked by our cells. 98 00:08:57,870 --> 00:09:05,250 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 99 00:09:05,250 --> 00:09:05,630 stuff. 100 00:09:05,880 --> 00:09:13,670 So typing to or, you know, would not allow doing any typing or anything like that. 101 00:09:14,070 --> 00:09:16,300 We use that configuration beside itself. 102 00:09:16,620 --> 00:09:19,350 OK, so this is for this lecture. 103 00:09:19,620 --> 00:09:24,560 In the next lecture we will go through source attachment. 104 00:09:25,560 --> 00:09:30,090 What is attachment that I'll try to explain to you a little bit in this lecture itself. 105 00:09:30,720 --> 00:09:34,560 Pest control, pest control, keep on pressing it. 106 00:09:34,740 --> 00:09:45,030 And whoever works of exception or for that matter, over, over Bystolic kill over what should be soulik. 107 00:09:45,030 --> 00:09:46,180 And this becomes a link. 108 00:09:46,450 --> 00:09:51,210 Now, you just left click on the link and this is the source. 109 00:09:51,210 --> 00:09:55,650 Attachment does not contain the source payslip, class change attached source. 110 00:09:55,950 --> 00:10:01,710 So you have to get a sort of solid API and we will do that at the next lecture.