javascript - How can I start ajax push website (activemq or cometd or something else)? - Stack Overflow

I want to start an application which will use ajax push, however the web server should be configured pr

I want to start an application which will use ajax push, however the web server should be configured properly and i don't know how to start on server side ponents.

I wanted to start with dojo's etd and then read some blogs saying that activeMQ is older and flag carrier on ajax push thing, but there was also another blog saying that it is very hard to set-up and get it work.

Now i'm confused before giving a start, please tell me my way :) What's the optimum way of configuring an ajax push environment?

Sinan.

I want to start an application which will use ajax push, however the web server should be configured properly and i don't know how to start on server side ponents.

I wanted to start with dojo's etd and then read some blogs saying that activeMQ is older and flag carrier on ajax push thing, but there was also another blog saying that it is very hard to set-up and get it work.

Now i'm confused before giving a start, please tell me my way :) What's the optimum way of configuring an ajax push environment?

Sinan.

Share Improve this question edited Jan 26, 2013 at 14:39 Ravi Khakhkhar 1,9641 gold badge18 silver badges26 bronze badges asked Jul 11, 2009 at 12:55 SinanSinan 11.5k7 gold badges38 silver badges48 bronze badges
Add a ment  | 

5 Answers 5

Reset to default 2

At PHP conference in Slovenia, it was said that Meteor is the best server for Comet.

did you check ActiveMQ Ajax page (http://activemq.apache/ajax.html)?

it shouldn't be that hard to configure it right. And feel free to post any related questions to the ActiveMQ user mailing list.

Cheers Dejan

It very much depends on your language framework. Here's a nice parison:

http://etdaily./maturity.html

It doesn't contain the new one my pany just released for .NET environments, WebSync, but otherwise is fairly prehensive.

Well , etd is not very hard to configure .. you would get examples in the ed site....

it has two methods subscribe and publish , for doing a ajax push u have to subscribe to a channel and publish the content to the channel .. thats the basic use ... we used the same methodlogy.

There are to version of etd implementations dojo and jquery .. we used dojo's . It doesn't matter which one u use .. once u see the examples u would understand ....

This subscribe and publish methodology is good for chat applications and also broadcasting over the network ...

for website design and backend functionalities ... we used j2ee framework and jetty webserver .....

If I understand ur question correctly ... u have to install Jetty 7 ( webtide version ) .. only this version supports Cometd .... by install I mean unzip :-) .. its so easy ... in the web apps folder u get a etd folder with examples .. understand this examples properly .. your web application's jsp pages would be using the javascripts to subscribe and publish .... now in publish function you would be calling certain javascript function, which would in turn call a "div" ... thats how u publish or broadcast ur content ....

I assume u r familiar about javascript , jsp's and servlets ...

imashok2000(dot)gmail(dot)

thanks , Ashok

You should also consider the Lift framework on top of the Jetty container. It has from my understanding very good support for et style web development.

www.liftweb

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745217838a4617107.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信