Introduction
In this chapter, we'll see how well Delphi can behave when it runs on the server. Most server-side technology today is scripted or managed, and in many cases it's a good choice. However, Delphi can be used to create very powerful enterprise servers with no external dependencies and great performance, and to do all these things, you need much less hardware power and memory to run it compared to, let's say, a J2EE server. Moreover, we'll see how to handle some of the most common problems when facing web servers, such as serialization, mime types, HTML encoding, and so on.