Presents remote servlets collaboration. A method includes: creating a
common registry; creating an extended context in response to an external
request, wherein the extended context can invoke the resources within the
common registry; performing initializing configuration on a plurality of
servlets, and registering a plurality of servlets in the common registry,
wherein a plurality of servlets being located on different Java virtual
machines, or being located in different servlet containers on the same
Java virtual machine; and a plurality of servlets collaborate with each
other by being invoked through the extended context. It can implement
collaboration between servlets located on different virtual machines or
even servlets on the same virtual machine but within different servlet
containers, because in a converged application service system, not only
between HTTP servlets or between SIP servlets but also between HTTP
servlets and SIP servlets there is necessity to collaborate.