Cometd was implemented to provide real-time web interactions with the client. The main reason for using it was its compatibility with older explorer browsers. Its currently being complemented by websockets interface
$('#userform1').submit(function(ev) {
// Perform form operations
return false;
});
Handshake
Operation == 'defaultuserset'
<app-rootdir>
index.html
js
application.js
require.js
jquery
jquery.cometd*
jquery-1.8.3.js
jquery.cookie.js
...
org
cometd
AckExtension.js
...
cometd.js
app
utils
display
...
config
config.js
asyncresponse.js
asyncrequest.js
controllerapp.js
displaycontroller.js
main.js
dialog.js
<app-rootdir>
index.html
css
...
js
asyncresponse.js
asyncrequest.js
controllerapp.js
ctdcontrollerdisplay.js
OSGI Cometd bundles handling JMS, Config file and Cometd request/response functionality
Cometd bundle
JMS interface bundle
Client Bundle