Patent ID: 7543289

Claim:
A method for remote servlets collaboration, said method comprising the steps of: creating a common registry; creating an extended context in response to an external request, wherein said extended context can invoke the resources within said common registry, said extended context indicating a location in a Java virtual machine where a plurality of servlets share information; and performing initializing configuration on said plurality of servlets, and registering said plurality of servlets into said common registry, wherein said plurality of servlets are located on different Java virtual machines, or located in different servlet containers on the same Java virtual machine, said plurality of servlets comprising Hypertext Transfer Protocol (HTTP) servlets and Session Initiation Protocol (SIP) servlets, and said registering including extending interfaces of said HTTP servlets and SIP servlets into respective HTTP remote and SIP remote interfaces such that said plurality of servlets are visible to said extended context and visible to each other, said plurality of servlets accessing and collaborating with each other for accomplishing a task by being invoked through said extended context, said extended context and said plurality of servlets being located in said different servlet containers on the same Java virtual machine or on said different Java virtual machines, said extended context receiving events from said plurality of servlets, and broadcasting the events to other servlets.