1 00:00:00,480 --> 00:00:01,460 Welcome, my friends. 2 00:00:01,950 --> 00:00:03,270 Welcome to this lecture. 3 00:00:03,510 --> 00:00:09,360 In this lecture, you will be using Hello Lloyd Servlet with excitement instead of annotations. 4 00:00:09,990 --> 00:00:10,320 Hello. 5 00:00:10,510 --> 00:00:19,890 So in the previous lecture uses annotations, what ordinary web servlet annotation was being used by 6 00:00:19,890 --> 00:00:20,310 default? 7 00:00:20,310 --> 00:00:22,310 It gets created when you create a solid. 8 00:00:22,920 --> 00:00:30,000 We will now use the IT, which is the deployment descriptor for major applications and get deployment. 9 00:00:30,000 --> 00:00:38,040 Descriptor gives the details of how you will want to deploy your servlet onto the Tomcat Web server. 10 00:00:38,310 --> 00:00:40,320 So let us get going into Eclipse. 11 00:00:42,300 --> 00:00:52,430 Eclipse reopened so practical, this is our project, our resources, thoughts on that subject. 12 00:00:53,480 --> 00:00:53,790 Hello. 13 00:00:54,000 --> 00:00:56,890 So we double click it. 14 00:00:58,920 --> 00:01:06,240 We go here, let us see what happens when we remove this innovation. 15 00:01:07,530 --> 00:01:11,310 We should get an ETA basically because there will be no deployment at all. 16 00:01:11,610 --> 00:01:19,380 So there'll be no specification on deployment, that there'll be no real mapping of helo volts of fluids. 17 00:01:20,070 --> 00:01:23,820 Let us see what happens control as we come into this spot. 18 00:01:24,870 --> 00:01:31,560 And unless I click on this server. 19 00:01:36,130 --> 00:01:42,460 That's how we'll get started and we get to need it as we start this photo for photo voters, not phone, 20 00:01:42,910 --> 00:01:45,190 so it has not found the hello world. 21 00:01:45,340 --> 00:01:46,090 So let. 22 00:01:47,270 --> 00:01:49,220 OK, so now let us. 23 00:01:52,290 --> 00:01:59,880 I'd go to the Web DODIG summit without the invitation to use the Web TotEx America under Soulik. 24 00:02:02,200 --> 00:02:08,520 Here, people I have to tag in webapp Bash app. 25 00:02:11,060 --> 00:02:15,350 We've allowed the Soviet controlled space. 26 00:02:16,570 --> 00:02:18,010 This is the one selling. 27 00:02:24,830 --> 00:02:28,980 So let not be click. 28 00:02:31,860 --> 00:02:33,060 You know, here we go again. 29 00:02:34,380 --> 00:02:35,400 So let. 30 00:02:41,100 --> 00:02:42,160 And here we live. 31 00:02:43,020 --> 00:02:44,010 So let. 32 00:02:45,160 --> 00:02:45,820 Class. 33 00:02:47,920 --> 00:02:51,910 Subject's public name will be, let's say hello world in your case. 34 00:02:53,720 --> 00:02:59,340 So the glass will be we need to give the complete glass, including the packaging. 35 00:02:59,690 --> 00:03:00,560 How do we do that? 36 00:03:00,920 --> 00:03:02,420 Go the Hoover around. 37 00:03:02,450 --> 00:03:03,560 Hello, Sulick. 38 00:03:03,830 --> 00:03:07,940 This is what we want from laps of lawyers. 39 00:03:08,000 --> 00:03:09,320 OK, so we. 40 00:03:10,300 --> 00:03:22,150 Select this control team that has copy control, that is based and we've got labs, so the entire the 41 00:03:22,150 --> 00:03:24,710 full definition should come, including the packaging. 42 00:03:29,010 --> 00:03:30,030 So mapping. 43 00:03:32,710 --> 00:03:39,640 So Ligne, again, insulted not being able to have some nickname and give the exact same name as HelloWallet 44 00:03:39,970 --> 00:03:44,140 dissolution match, hello, work in public mapping and hello work. 45 00:03:44,380 --> 00:03:44,830 And so. 46 00:03:46,500 --> 00:03:46,850 So. 47 00:03:47,820 --> 00:03:52,020 So this is this this is what makes the mapping possible between. 48 00:03:53,650 --> 00:04:01,510 The class which we have, and you are in the trio that you are, you are in Baghdad. 49 00:04:01,690 --> 00:04:05,380 OK, so this is the usual pattern and the pattern going to be. 50 00:04:08,710 --> 00:04:14,330 And the pattern will be for slash law work. 51 00:04:15,340 --> 00:04:22,660 So let's see if this is the same pattern that we had in here and little world. 52 00:04:23,170 --> 00:04:26,500 So they're the same one we're using here. 53 00:04:26,530 --> 00:04:26,860 I know. 54 00:04:26,880 --> 00:04:29,100 Works Saturday night. 55 00:04:29,710 --> 00:04:35,140 So we have created a servlet back and a subject mapping tag. 56 00:04:35,590 --> 00:04:38,260 Both of them have the same name as Halo. 57 00:04:38,980 --> 00:04:43,110 So this is this is the name internally, which they refer to each other. 58 00:04:43,510 --> 00:04:48,720 And basically this is a mapping of the wall to the class. 59 00:04:49,150 --> 00:04:57,720 So this you are if it is put in the browser, then this class, this entire this entire package you 60 00:04:57,740 --> 00:05:00,150 name this class is called upon. 61 00:05:00,440 --> 00:05:01,930 That means disability is called. 62 00:05:02,710 --> 00:05:05,520 So that is that mapping and that is what we have achieved. 63 00:05:05,530 --> 00:05:07,170 And you have done excellent. 64 00:05:07,450 --> 00:05:12,210 Now let us have had lower Dutch so that a little word servlet. 65 00:05:12,730 --> 00:05:14,820 I click on this. 66 00:05:15,630 --> 00:05:16,260 And so it. 67 00:05:17,950 --> 00:05:20,110 If you start this over. 68 00:05:24,240 --> 00:05:32,250 Someone has been stuck here to is if this if this dialog box comes, save the file, save it again. 69 00:05:33,340 --> 00:05:34,050 OK, fine. 70 00:05:35,130 --> 00:05:36,180 And open the file. 71 00:05:37,620 --> 00:05:45,210 In Firefox and you get the same, hello, you are not getting the hello word earlier when we had commented 72 00:05:45,810 --> 00:05:52,350 the annotation, we have still coming on tradition, but we have added note, we have added the tags 73 00:05:52,350 --> 00:05:54,970 of the relevant tags in this segment. 74 00:05:54,990 --> 00:05:56,100 So it is working fine. 75 00:05:56,750 --> 00:05:58,590 So it is working excellently, in fact. 76 00:05:59,160 --> 00:05:59,460 Right. 77 00:06:00,860 --> 00:06:02,220 So see you in the next lecture. 78 00:06:02,520 --> 00:06:05,580 This was all it was about the HelloWallet Servlet. 79 00:06:06,480 --> 00:06:11,610 We have created a Halo tablet using annotations, but more importantly, we have created a Halo world 80 00:06:11,610 --> 00:06:12,570 using robotics. 81 00:06:12,930 --> 00:06:15,040 And that was that was what we wanted to do. 82 00:06:15,600 --> 00:06:17,250 So to you in the next lecture.