EJSApp

Activities ::: mod_ejsapp
Maintained by Ruben Heradio, Luis de la Torre
This plugin lets you add any Javascript or Java application (typically virtual and real-remote experiments) created with Easy Java/Javascript Simulations (EjsS) to your Moodle course.
Latest release:
143 sites
15 downloads
25 fans
Current versions available: 3

Virtual and Remote Laboratories in Moodle

  

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 online 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 online labs:

 

  1. Virtual Labs or Experiments provide computer based simulations which offer similar views and ways of work to traditional labs.
  2. Remote Labs or Experiments use real plants and physical devices which are teleoperated in real time.

 

EjsS

Easy Java/Javascript Simulations (EjsS, https://www.um.es/fem/EjsWiki/ and https://gitlab.com/ejsS/tool) is a tool designed for the creation of: 1) discrete computer simulations and 2) web-accessible online labs in education of scientific and technical disciplines. With this objective in mind, EjsS supports connections with external applications, such as LabView, Python and Matlab/Simulink, and hardware, such as Arduino and BeagleBone boards.

A rich repository of EjsS simulations is freely available at: http://www.compadre.org/

EJSApp: bridging together Moodle and EjsS

To support the one-click deployment of virtual and remote labs into Moodle, we have developed the EJSApp plugin, which has the following features:

  1. Deployment of labs written in EjsS. 
  2. Control user access to the deployed labs and distinguish between virtual labs (or simulations) and remote labs.
  3. Combined use of EjsS applications with Blockly (https://developers.google.com/blockly), a scracth-type visual programming language.
  4. 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, Remlab ManagerEJSApp Booking SystemEJSApp 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

Tutorial Videos

Overview of EJSApp


Tutorial to add a simulation/virtual lab activity with EJSApp


Tutorial to add a remote lab activity with EJSApp

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


If you like this plugin, please support its development: https://www.paypal.me/ejsapp

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5

Contributors

Ruben Heradio (Lead maintainer)
Luis de la Torre: Author
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Germán and Temudgin
    Tue, 7 May 2013, 3:40 AM
    Hi Luis,
    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.
  • Luis de la Torre
    Tue, 7 May 2013, 4:51 AM
    Hello German,

    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.
  • Luis de la Torre
    Tue, 7 May 2013, 5:02 AM
    Done!
  • MD shot of me from his iphone4
    Mon, 1 July 2013, 1:05 PM
    Hi, i was wondering if the source codes to the jar files are available anywhere. Even more, the one included in test directory.
  • Luis de la Torre
    Mon, 1 July 2013, 1:57 PM
    Hi Aparup,

    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.
  • Luis de la Torre
    Thu, 27 Feb 2014, 7:18 PM
    Hi all,

    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
  • Luis de la Torre
    Mon, 21 Apr 2014, 6:09 PM
    Version 1.7 has been released.

    EJSApp can now automatically sign the EJS applets uploaded to Moodle if you have a trust certificate installed in your Moodle server.
  • Luis de la Torre
    Sun, 14 Dec 2014, 9:53 PM
    Version 1.8 is out.

    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.
  • Luis de la Torre
    Tue, 24 Mar 2015, 6:20 AM
    Version 2.0 is out.

    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.
  • Andreas Schenkel
    Mon, 29 May 2017, 1:57 AM
    Does not work in firefox 53 because javaplugin is not supported. How can I use this moodle-plugin? Any hints?
  • Luis de la Torre
    Mon, 29 May 2017, 7:10 PM
    Dear Andreas,

    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.
  • Luis de la Torre
    Sun, 4 June 2017, 12:02 AM
    I forgot to mention, Andreas, that even if you deploy the applet through JNLP (as EJSApp does now), you need to sign your applet with a valid trust certificate. Otherwise, the applet won't be load by the JRE.
  • Luis de la Torre
    Thu, 6 July 2017, 9:00 PM
    A new version of EJSApp has been released. This one includes support for blockly and chart.js.

    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.
  • David Dunn
    Mon, 11 Sept 2017, 11:40 PM
    EJSapp 3.0 (Build: 2017062603)
    Moodle 3.3.1

    When I click on a lab, I get only a download window to download the jnlp file.

    Any suggestions to fix this?
  • Luis de la Torre
    Tue, 12 Sept 2017, 1:56 AM
    Hi, David,

    I'm afraid you can't fix that. Embedded Java applets are no longer supported by any web browser, so we decided to deploy the Java applets through the Java Netjork Launch Protocol (JNLP), as desktop applications. This allows us to launch the applets with certain parameter that may be needed for the applications to run with all their features, but you can no longer have them embedded in you browser.

    If you prefer the simulation (or remote lab) to be embedded in the browser (as we do), you should move to Javascript. EjsS allows creating Javascript applications in a very similar way as the Java applications were created, and you can add them to your Moodle course exactly the same way you do it with Java applets in an EJSApp activity.
Please login to post comments