Introduction to Java and Agent-Based Economic Platforms


This module aims to provide a first step assistance to students towards excellent Java programming with emphasis on most fundamental concepts and mechanisms provided by Java language.  GUI design and more advanced threading mechanism are also covered.  The course ends with discussion of writing standard source code documentations and development of more complex Java applications.

It will equip the student with the computational programming and modelling techniques necessary for ACE.  It is a ‘how to design, programme and implement’ module for ACE models.


On completion of the course, students should be able to:

  1. understand the basic concepts of OOP (object-oriented programming)
  2. write, compile, debug and run simple Java program using command line based Sun JDK
  3. explain the differences between classes and objects and the differences between applications and applets
  4. explain the differences between class and interface
  5. use basic control and data structures, and documentation comments
  6. implement multi-thread Java programs
  7. apply an event model within GUI applications
  8. describe basic principles with which to develop more complex Java applications
  9. be capable of setting up and using a Java based agent based modelling called Jas
  10. set up and program examples of agent based computational economic (ACE) models  



Lab 1

Lab 2

Lab 3

Lab 4

First steps with JAS

JAS Statistics



  • Handbook of Computational Economics, Vol 2: Agent-Based Computational Economics, published by Elsevier/North-Holland (Handbooks in Economics Series), May 2006
  • H M Deitel, P J Deitel, Java: How to Program (5th edn), Prentice Hall
  • Ken Arnold, James Gosling & David Holmes, The Java Programming Language (3rd Edition, AW Java Series), Addison Wesley
  • David Reilly & Michael Reilly, Java Network Programming & Distributed Computing, Addison-Wesley
  • Cay S Horstmann & Gary Cornell, Core Java 2 (volume I & II), Sun Microsystems Press (A Prentice Hall title)
  • Sun Microsystems, The Java Tutorial
  • Java Agent-based Simulator toolkit (JAS)