Patent ID: 8549162

Claim:
An image forming apparatus, comprising: a processor including a plurality of method process modules that perform a predefined process in accordance with a method; a Web service execution module that, in response to a process request, executes a Web service application by distributing the process request to the method process module corresponding to the method designated in the process request; a plurality of Web service applications sharing a process in a same method and performing a process related to image formation as the Web service; a Web communication protocol daemon performing communication control via a Web; and an executable process or thread providing connection between request mediator and an application being generated through connection with the Web communication protocol daemon, said executable process or thread controlling reading of received data from a predefined memory area and writing of transmitted data in the predefined memory area performed between the Web communication protocol daemon and the Web service application; and a connection notice queue maintaining a connection notice as a queue; a connection coordinator between a mediation process and a process that is directly connected to an application for managing connection between the Web service execution module and the Web communication protocol daemon by using the connection notice queue; and the connection coordinator being notified of connection and establishing connection on behalf of the mediation process for mediating connection instead of the Web communication protocol daemon by informing the connection coordinator that the connection notice is provided from the Web communication protocol daemon, wherein the connection coordinator, in response to a connection request from the Web service execution module, extracts the connection notice from the connection notice queue and connects to the Web communication protocol daemon instead of the Web service application.