3. HECS System (Banbara et al., 2003)
Maglog is used for HECS (Heterogeneous Con-
straint Solving) system, which was supported in
part by IPA (The Information-technology Promo-
tion Agency) under grant of 2003 Exploratory Soft-
ware Project, to coordinate distributed solvers each
other.
5 RELATED WORKS
There are several mobile agent frameworks realized
as a set of class libraries for Java such as Aglets
(Lange and Oshima, 1998) and MobileSpaces (Satoh,
2000). The combination of one of them and a Prolog
interpreter/compiler written in Java such as NetPro-
log (de Carvalho et al., 1999) and Jinni (Tarau, 1999)
have some similarity to Maglog. The main difference
between the combination and Maglog is the class of
mobility. Their mobility is so-called weak mobility,
in which only its clause database is migrated. On
Maglog, all of the execution state including execu-
tion stack can be migrated (so-called strong mobility),
therefore agents on Maglog can backtrack and unify
variables during migration. That makes programs on
Maglog simple and understandable.
6 CONCLUSION
In this paper, we presented the implementation of
a mobile agent framework Maglog, in detail. With
the concept of field, Maglog provides a simple and
unified interface for 1)inter-agent communication,
2)agent migration between computers, and 3)utiliza-
tion of data and programs on computers. And through
XML-RPC interface which we have implemented,
other systems can easily utilize Maglog. Through
XML-RPC interface, several applications have been
developed.
REFERENCES
Banbara, M. and Tamura, N. (1999). Translating a linear
logic programming language into Java. In M.Carro,
I.Dutra, et al., editors, Proceedings of the ICLP’99
Workshop on Parallelism and Implementation Tech-
nology for (Constraint) Logic Programming Lan-
guages, pages 19–39.
Banbara, M., Tamura, N., Inoue, K., Kawamura, T., and
Tamaki, H. (2003). Java implementation of a distrib-
uted constraint solving system. Exploratory software
project, Information-technology Promotion Agency
Japan.
de Carvalho, C. L., Pereira, E. C., and da Silva Julia, R. M.
(1999). Netprolog: A logic programming system for
the java virtual machine. In Proceedings of the 1st
International Conference on Enterprise Information
Systems, pages 591–598. Setubal, Portugal.
Kawamura, T., Kinoshita, S., and Sugahara, K. (2004a).
Implementation of a mobile agent framework on java
environment. In Gonzalez, T., editor, Proceedings
of the IASTED International Conference Parallel and
Distributed Computing and Systems, pages 589–593.
MIT, Cambridge, USA.
Kawamura, T., Kinoshita, S., and Sugahara, K. (2004b). A
mobile agent-based p2p e-learning system. In Gon-
zalez, T., editor, Proceedings of the IASTED Interna-
tional Conference Parallel and Distributed Comput-
ing and Systems, pages 873–877. MIT, Cambridge,
USA.
Kawamura, T., Kinoshita, S., Sugahara, K., and Kuwatani,
T. (2003). A logic-based framework for mobile multi-
agent systems. In Hexmoor, H., editor, Proceedings
of International Conference on Integration of Knowl-
edge Intensive Multi-Agent Systems, pages 754–759.
Boston, Massachusetts, USA.
Kinosita, S., Kawamura, T., and Sugahara, K. (2003). Mo-
bile agent based schedule arrangement system. In Pro-
ceedings of the 5th IEEE Hiroshima Student Sympo-
sium (HISS), pages 205–206.
Lange, D. B. and Oshima, M. (1998). Programming and
Deploying Java Mobile Agents with Aglets. Addison
Wesley.
Satoh, I. (2000). Mobilespaces: A framework for building
adaptive distributed applications using a hierarchical
mobile agent system. In Proceedings of IEEE Interna-
tional Conference on Distributed Computing Systems,
pages 161–168. IEEE Press.
Tarau, P. (1999). Inference and computation mobility with
jinni. In Apt, K., Marek, V., and Truszczynski, M.,
editors, The Logic Programming Paradigm: a 25 Year
Perspective, pages 33–48. Springer.
Winer, D. (1998). Xml-rpc specification.
http://xmlrcp.com/spec.
LOGIC-BASED MOBILE AGENT FRAMEWORK USING WEB TECHNOLOGIES
201