Active Modules / Active Objects
 
 
 
  
  WS Presentations Main Page
   WS Presentations Main Page
 Next:  Example
Up: Document: ciao
 Previous:  Example
 
 
-  Any module or application can be converted into an ``active module''
  (active object) by using a special form of save: 
 :- save_active_module(name_server, Addr, Addr Hook).
 (Addr Hook is code to report Addr).
 
-  Procedures can be imported from remote ``active modules'' via a
  simple declaration: E.g.
 :- use_active_module(name_server, [get_address/2]).
 
-  Calls to such imported procedures are then executed remotely in a
  transparent way.
 
-  No need for code management, global state, etc. to be kept
  coherent.
 
-  Example application: client-server. Client imports module which
  exports the functionality provided by server. Access is transparent
  from then on.
 
-  Typical examples of active objects: databases, name servers,
  agendas, demons (ftp, telnet, ...), etc.
 
Thu Jan 18 11:29:48 MET 1996 <herme@fi.upm.es>-<webmaster@clip.dia.fi.upm.es>