Activities: EJSApp
Virtual and Remote Laboratories
It is commonly accepted that digital media (such as simulations, videos, interactive screen experiments or web labs) can positively impact student knowledge, skills and attitudes. Consequently, tools such as Moodle and web-based labs have become widespread in distance education in the last decade. Moodle supports the administration, documentation, tracking, and reporting of training programs, classroom and online events. Web-based labs make possible to illustrate scientific phenomena that require costly or difficult-to-assemble equipment.
There are two complementary approaches for web-based labs:
- Virtual Labs or Experiments provide computer based simulations which offer similar views and ways of work to their traditional counterparts. Nowadays, simulations have evolved into interactive graphical user interfaces where students can manipulate the experiment parameters and explore its evolution.
- Remote Labs or Experiments use real plants and physical devices which are teleoperated in real time.
EJS
Easy Java(script) Simulations (EJS, http://www.um.es/fem/EjsWiki/pmwiki.php) is a tool designed for the creation of discrete computer simulations. During the last few years, EJS has grown for helping to create web-accessible labs in education of scientific and technical disciplines. With this objective in mind, recent releases of EJS support connections with external applications, such as LabView and Matlab/Simulink. Hence, EJS not only is useful to create virtual labs, but also the GUIs of their remote counterparts.
A rich repository of EJS simulations is freely available at: http://www.compadre.org/
EJSApp: bridging together Moodle and EJS
To support the one-click deployment of virtual and remote labs into Moodle, we have developed the EJSApp plugin, which has the following features:
- Deployment of labs written in EJS.
- Control user access to the deployed labs and distinguish between virtual labs (or simulations) and remote labs.
- Allow several resizing options for displaying the embedded applets.
- Backup and restore. EJSApp provides maintenance facilities for labs, packaging them into Moodle course backups.
To get the feel of EJSApp, visit UNILabs, which is a moodle site that hosts a rich network of virtual and remote labs for students of the Spanish Open University (UNED) and other Spanish Universities, such as the Huelva, Complutense and Almeria Universities. All labs in UNILabs have been developed using the EJSApp and its extensions (EJSApp "private files" browser, EJSApp Booking System, EJSApp Collab Session and the Open Source Physics repository plugin).
GitHub
The code repository of this plugin can be found at https://github.com/UNEDLabs/moodle-mod_ejsapp
References
- Luis de la Torre, Maria Guinaldo, Ruben Heradio, Sebastian Dormido. The Ball and Beam System: A Case Study of Virtual and Remote Lab Enhancement With Moodle. IEEE Transactions on Industrial Informatics, 11(4): 934-945, 2015.
- Luis de la Torre, Ruben Heradio, Carlos A. Jara, Jose Sanchez, Sebastian Dormido, Fernando Torres, Francisco A. Candelas. Providing Collaborative Support to Virtual and Remote Laboratories. IEEE Transactions on Learning Technologies, 6(4): 312-323, 2013.
- Luis de la Torre, Juan P. Sanchez, Ruben Heradio, Carmen Carreras, Manuel Yuste, Jose Sanchez, Sebastian Dormido. Creating web experimentation portals. International Conference on Interactive Computer aided Blended Learning, 2013, Florianópolis, Brasil.
- Ruben Heradio, Luis de la Torre, Jose Sanchez, Sebastian Dormido and Hector Vargas. An architecture for virtual and remote laboratories to support distance learning. In Research in Engineering Education Symposium, pages 579-587, Madrid, Spain, October 2011.
Tutorial Videos
Overview of EJSApp
Guide to install and use EJSApp and EJSApp File Browser
Overview of Open Source Physics, a free repository with more than 400 freely available EJS simulations
Overview of UNEDLabs, a network of virtual and remote laboratories developed with EJSApp
I just translated the English strings in AMOS into mexican spanish. Everything looks perfect. Thanks a lot. I will wait 2 hours to download the updated language pack and plugin and check database.
The good news: the mexican spanish translation is working perfectly, which means all translations in AMOS will work too.
The bad news: the es folder with the international spanish translation included within the plugin ZIP file keeps on causing a database error. I would suggest you to completely remove the es language folder from the plugin in Moodle database. I will submit the mex spanish translation to the international spanish pack maintainers at AMOS in 10 minutes. There are a few differences: a quiz is a cuestionario in Spain and an examen in México.
I just sent the files to the international spanish language pack maintainers. You can safely delete the spanish translation from the files included in the module ZIP file.
According to http://lang.moodle.org/mod/forum/discuss.php?d=3006 , all language strings (except for English) should disappear from released modules (core and add-ons) and all translated strings only be available through AMOS. It is a complicated task.
GRACIAS.
Thanks for all this feedback. We really appreciate it.
Let me update then the plugin once more, this time without the es folder.
I guess I should do the same with the rest of the EJSApp plugins. However, do I need to send their corresponding es language files to the spanish language pack maintainers in AMOS? If that's the case, Im not sure how should I do that.
I will write again once I have uploaded the zip file without the es folder.
Gracias a ti, German.
You can open the EJS model (this is, the "source code") of the jar file included in the test directory by just double-clicking in the jar file (the simulation will load) and then right-clicking at any place of the simulation. A menu will appear with several options.
If that menu is in english search for the "Open EJS model" option. If it is in Spanish, search for "Abrir modelo EJS".
Then follow the instructions and EJS will open the source code of that jar file. Let me know if you have any problem.
PS. Usually, all applets created with EJS have this option but some of them don't. Anyway, the one included in the test directory does.
Since EJSApp version 1.6 was released two days ago, you can also embedd into your Moodle course the javascript applications created with EJS 5.0
EJSApp can now automatically sign the EJS applets uploaded to Moodle if you have a trust certificate installed in your Moodle server.
Fixes an important bug when doing a copy or a backup of ejsapp activities that use a signed applet.
Fixes a bug with some OSP Javascript simulations.
The 'view personalized variables' options has been moved to the 'edit settings' block.
Several code improvements.
It allows using alias to your virtual and remote laboratories .jar (Java) or .zip (Javascript) files compiled with EjsS.
Also, it enhances the personalization of variables in virtual laboratories by allowing teachers to download the values generated for the variables of the lab that are being personalized.
Finally, it has a cleaner and more optimized code in many aspects.
The latest versions of EJSApp offer a solution for this problem by:
1. Deploying the Java applet through the Java Network Launch Protocol (JNLP) as a desktop application instead as a web browser-embedded applet.
2. Allowing to embed Javascript simulations created with EJS.
On the one hand, blockly enables a complete new way of interacting with the simulations, virtual labs and remote labs. Combining visual programming with interactive applications is extremelly interesting and powerful.
On the other hand, users can now define and plot their own graphs on demand thanks to the use of the javascript Chart.js library.