The following is a simulation created by Ahmed Ali.
He sent me the EJS source and I re-generated it and post it here.
Register can generate ejs jar file and click "Upload new EJS jar file" check box, then,
You can select the jar file and post it with the message.
The generated applet will be added to the end of the message automatically.
Just like the following applet: