The ByteGourmet Server
Now that you have built and tested your Menu Web service, you can build the ByteGourmet server. The ByteGourmet Web site will be made available at http://localhost:8080/bg/ByteGourmetServer. You will build the server on the Model2 JSP design pattern, which is an MVC, or Model-View-Controller, pattern.
In this pattern, a servlet provides all controlling functionality. The model, which is the data of interest, is encapsulated in a JavaBean. Finally, the view, or the presentation, is handled by JavaServer Pages.
Deploying the Web Application
When deploying the ByteGourmet server in a real-world situation, a second Web server located on an entirely different machine would be used. Because you are just learning how this all ...
Get Java™ Web Services Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.