Easy Java Simulations
Encyclopedia
EJS, or Easy Java Simulations, is an open-source software
Open-source software
Open-source software is computer software that is available in source code form: the source code and certain other rights normally reserved for copyright holders are provided under a software license that permits users to study, change, improve and at times also to distribute the software.Open...

 tool, part of the Open Source Physics
Open Source Physics
Open Source Physics, or OSP, is a project sponsored by the National Science Foundation and Davidson College, whose mission is to spread the use of open source code libraries, tools, and compiled simulations for physics and other numerical simulations. The OSP collection provides curriculum...

 project, designed for the creation of discrete computer simulations.

A discrete computer simulation
Computer simulation
A computer simulation, a computer model, or a computational model is a computer program, or network of computers, that attempts to simulate an abstract model of a particular system...

, 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 Machine
Java Virtual Machine
A Java virtual machine is a virtual machine capable of executing Java bytecode. It is the code execution component of the Java software platform. Sun Microsystems stated that there are over 4.5 billion JVM-enabled devices.-Overview:...

s (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 Applet
Java applet
A Java applet is an applet delivered to users in the form of Java bytecode. Java applets can run in a Web browser using a Java Virtual Machine , or in Sun's AppletViewer, a stand-alone tool for testing applets...

s, 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.

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK