O'Reilly logo

Java™ Web Services Unleashed by Mark Wutka, Joseph Weber, Arthur Ryman, K. Scott Morrison, Benoît Marchal, Matthias Kloppmann, Steven Haines, Darren Govoni, Francisco Curbera, Frank Cohen, Robert Brunner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required