From the course: Java EE 7: Enterprise JavaBeans (EJB)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create the PostRecords servlet

Create the PostRecords servlet

From the course: Java EE 7: Enterprise JavaBeans (EJB)

Start my 1-month free trial

Create the PostRecords servlet

- [Instructor] Okay, so now let's add the final piece of the puzzle. Because this final file has a lot of code and this course isn't about building a web server, and more about learning about beans, let's go and create the file and then copy the code from the exercise files. So the first thing you're going to do is go to the web app, so the final app dash WAR and right click to it, then click new, servlet, and then this one we're going to call post records plural and then insert it into the web package and then click finish. And now we got this file here. So what we're going to do first is minimize NetBeans here go into the exercise files and go into chapter five. Go into video 05_03, end, and then go into the WAR and then source, Java, web, and then find post records. So I'm going to open this into another editor so I'm not conflicting with the NetBeans version here. So I'm going to open this in code. You can open this into any type of editor, so it could be notepad, anything you…

Contents