Jump to content

EJS

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Cleonis (talk | contribs) at 21:10, 23 July 2009 (Reverted the redirect; reinstated the article,). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Easy Java Simulations
Original author(s)Francisco Esquembre
Stable release
4.1
Written inJava
Operating systemMicrosoft Windows, Linux/Unix, MacOS
Size14 MB
TypeScientific Software, Mathematical software
LicenseGNU GPL license
WebsiteEJS

EJS, the abbreviation for 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.