Eclipse Web Tools Platform: Developing Java Web Applications by Naci Dai, Lawrence Mandel, Arthur Ryman
Purchase From
more options...
  • Amazon.com
  • Barnes & Noble
  • Chapters/Indigo
  • Safari Books Online

Chapter 12 - Adding New Servers

-Friedrich Nietzsche

When one has much to put into them, a day has a hundred pockets.

A server is a software platform that provides the services and infrastructure required to develop, deploy, and run Web applications. WTP provides the tools to build these applications, and servers provide the runtime environment to execute them. This chapter describes how to add new server extensions to WTP. Once added, the new server extension will be listed in the New Server Runtime wizard and other dialogs, and it can be used like all the other servers to develop, deploy, test, and run Web applications. We'll start by defining some terms.

A server runtime environment, or just runtime for short, is a software application that is designed to execute as a server platform and support certain standards, such as J2EE. The runtime models the types of components that can run on the server, the standards that these components support, how the server is started and stopped, where it is installed, and other items.

A server configuration, or just a server for short, is an instance of a server runtime. A server configuration typically consists of a set of port numbers used by its services, such as HTTP, and a set of components, such as Web modules, that are deployed on it. A server models concepts such as the ports, locations of server configuration files, and the set of applications that are deployed. You can define many servers for a given runtime; for example, a single Tomcat runtime can have multiple server configurations on the same machine.

A Web application, or a module for short, is a stand-alone application that can be published and run on a server. You can publish multiple Web modules, such as LeaguePlanetWeb, EJBs, and EARs, on the same server. Another server in the workspace can have a different set of modules associated with it.

...

This is only a preview.
Read more sample content | Purchase Eclipse Web Tools Platform

Other Sections in This Chapter

  • Overview of Adding a Generic Server Adapter
  • The GlassFish Server Runtime
  • Server Adapter Plug-ins
  • Adding Support for a New Server Runtime
  • Adding a New Server Type for a Runtime
  • Adding a New Runtime Target Handler
  • Facets and Runtime Components
  • Extending the Server Tools UI
  • The Generic Server Definition
  • Publishers
  • Testing the Server Adapter
  • Summary