Sencha Premium Member
CometD vs DJN
While evaluating DJN for our application, we found that it is very much suitable implementation of serverside statck with Ext Direct specification. But, along with it we are also evaluating CometD for long polling and while evaluating it, we found that we can hit the remote methods without using ajax boiler-plate code and we are also finding a better approach of long polling with CometD. So, my queries are:
- Is there any need to use DJN along with Cometd?
- If we can call remote methods easily by CometD, why should we use DJN?
- If we use DJN with CometD, where should we stand the DJN layer in our application and how should the request - response flows between ExtJs – ExtDirect – CometD – DJN – Our own Serverside Apis