We have developed a significant part of Celebrity Collector??”a web application that
can be easily extended and deployed on the Internet to provide a useful service.
I hope this book gives you a good impulse towards creating a web application of
your own, and it teaches you, hopefully, everything you will need for your first
Tapestry 5 application. However, as you gain experience, you will want to solve
more and more complex tasks, and you will have many questions.
??? ??? ??? ???
???
???
???
The Basics of Java
for the Web
The laws that govern the life of Java code on a web server are laid out in the Servlet
Specification (can be downloaded from http://java.sun.com/products/servlet/
download.html). A Servlet is basically a standardized way of writing Java code so
that it can be used with any servlet container, and benefit from the services provided
by it.
A servlet container is a piece of software that collaborates with a web server.
Requests from the Internet come to the web server first, and if it decides that those
requests are for functionality provided by a Java application, it passes them to the
servlet container.
Servlet containers manage low-level issues like networking, maintaining special
kinds of memory to be used by the applications or making sure that proper
initialization was made as required.
Pages:
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299