Content server provides very powerful server side scripting features through its method server architecture.It is somewhat analogous to Common Gateway Interface or CGI feature of a Webserver. Likewise inContent Server, methods are run as executable scripts or programs in separate external processes.The Content Server process orchestrates the entire function of repository. When a client invokes a methodserver call, it delegates the call (based on the method) to appropriate execution agents. The Content Serverversion 5.2.5 and 5.3 has three execution agents:-1) Content Server2) Docbasic method server3) Java method serverThe methods can be a Docbasic script, Java class or a self executable program written in anotherprogramming language such as C++.For every method, we have to create a method object of type dm_method. The attributes of that methodobject will define arguments and the execution parameters. Methods are executed by issuing
aDO_METHOD administration method or using a job. Using a DO_METHOD allows you to execute themethod on demand. Using a job allows you to schedule the method for regular, automatic execution.