Easy Java Simulations

From Wikipedia, the free encyclopedia
  (Redirected from EJS)
Jump to: navigation, search
Easy Java Simulations
Original author(s) Francisco Esquembre
Stable release 5.1
Written in Java
Operating system Microsoft Windows, Linux, Unix, Mac OS
Size 14 MB
Type Scientific Software, Mathematical software
License GNU GPL license
Website www.um.es/fem/EjsWiki/index.php/Main/WhatIsEJS

EJS, or Easy Java Simulations, is an open-source software tool, part of the Open Source Physics project, designed for the creation of discrete computer simulations.

A discrete computer simulation, or simply a computer simulation, is a computer program that tries to reproduce, for pedagogical or scientific purposes, a natural phenomenon through the visualization of the different states that it can have. Each of these states is described by a set of variables that change in time due to the iteration of a given algorithm.

In creating a simulation with the help of EJS, the user does not program the simulation at the level of writing code, instead the user is working at a higher conceptual level, declaring and organizing the equations and other mathematical expressions that operate the simulation. EJS handles the technical aspects of coding the simulation in the Java programming language, thus freeing the user to concentrate on the simulation's content.

The generated Java code can, in terms of efficiency and sophistication, be taken as the creation of a professional programmer.

EJS is written in the Java programming language and the created simulation are in Java. Java Virtual Machines (JVM) are available for many different platforms; a platform for which a JVM is available can run Java programs. Java offers the possibility of creating Java Applets, most browsers support Java Applets.

EJS has its own format for storing the simulations, which is based on XML and carries the extension .xml. It contains not only the code for the simulation, but also the rest of the things, like the html introduction.


  • Francisco Esquembre, "Easy Java Simulations: a software tool to create scientific simulations in Java", Computer Physics Communications, Volume 156, Issue 2, 1 January 2004, Pages 199-204
  • Loo Kang Wee,[1] One-dimensional collision carts computer model and its design ideas for productive experiential learning, 2012 Phys. Educ. 47(3), 301
  • Loo Kang Wee, and Giam Hwee Goh, [2] A geostationary Earth orbit satellite model using Easy Java Simulation. Physics Education, 48(1), 72

External links[edit]