Click here to Skip to main content
15,900,511 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

I want to develope mobile web app which tracks user events and based on these event I want to generate analytics to see user preferences. My understanding is I need to write web service which gets called asysnchronously from client.
There are two options by using I can call this
1) Ajax
2) Angularjs
Based on user events web methods gets called and data is stored in DB. Once data is stored and another method would use this data and generate analytics.

So my question is, since user would have many preferences so how can I send user event data from client to webservice (e.g. Json or any other mechanism). Which option is best by considering volume of mobile users?

Also I want this webservice on IBM ESB, so do I need to mention my events as Topics, where this topic can be used by ESB's publisher and subscriber and then store data in DB?

Please let me know whether this architecture that mentioned above would suffice my objective.


What I have tried:

I have gone through IBM-ESB where publisher,topics, MQ and subscriber are maintaned at ESB itself. But unable to configure this on IBM-ESB.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900