Which is the best way to push WebSocket pushlet dwr?

Updated on technology 2024-02-09
11 answers
  1. Anonymous users2024-02-05

    The three message pushes are not bad, but from the overall effect, Shenzhen Aurora message push is a good choice. JIGUANG Unified Messaging System (UMS) quickly builds your message management platform to achieve multi-channel and multi-channel unified message sending, management, and statistics.

    Shenzhen Hexun Huagu Information Technology Co., Ltd. was founded in 2011, and its core team members come from companies such as Tencent, Morgan Stanley, Douban, Teradata and China Mobile. The company is headquartered in Shenzhen, with offices in Beijing, Shanghai, Guangzhou and Chengdu.

    JIing pushes a variety of message types, developers can easily send system notifications of various mobile platforms through JIJUNG, and can also display a variety of rich text templates in the console. JIGUANG also provides transparent transmission of custom messages, and the client can freely process the message content according to its own logic after receiving it.

    Aurora Push Security Package provides secure, rigorous, stable and reliable information push solutions for financial, news, government affairs and other customers with high requirements for push security.

  2. Anonymous users2024-02-04

    Iteration for (scriptsession session : sessions).

    Once you have the session object, you can do whatever you want with this class. (util utilall = new util(session);)

    You can push it to whomever you want, as long as you get that person's session, you can push multiple people, it's nothing more than a **basic coat for loop.。 If you want to push everyone, then cancel the comparison in the third row above.

  3. Anonymous users2024-02-03

    The higher version uses the websocket directly, and the lower version uses the flash socket to simulate the websocket

  4. Anonymous users2024-02-02

    Comet4j and Pushlet are both based on Comet.

  5. Anonymous users2024-02-01

    As far as I know, the most used ones should be DWR and COMETD, among which COMETD is powerful and simple to use.

  6. Anonymous users2024-01-31

    The method of websocket in HTML5 to implement message push:

    1. Create a server connection

    var socket = new websockect('ws://localhost:8080');

    2. Add monitoring events, when the open method is triggered, establish a connection and prepare to send a message.

    open', function())

    function();

    3. Call the method to send a message

    somme message to send to the server");

    4. Close the connection;

  7. Anonymous users2024-01-30

    The use of websockets, which is new in HTML5, also requires backend server support, which is now supported by many servers.

  8. Anonymous users2024-01-29

    1. Polling.

    The front-end uses AJAX to make non-stop requests to get the data you want (the easiest and easiest to exhaust server resources).

    2. Long connection.

    websocket

    Use websocket for message push.

    3、dwr

  9. Anonymous users2024-01-28

    Let's just say HTML5 isn't perfect for all browsers.

    Generally, multiple frames are used, that is, the websocket is established as a single frame, and this frame is not refreshed with page switching, and other elements that need to be refreshed when page switching are placed in other frames.

    In addition, the subject's concerns are completely unnecessary. Before HTML5, polling or AJAX was used to implement message push, and the websocket itself occupies fewer resources than the first two.

  10. Anonymous users2024-01-27

    There are two methods to send AJAX requests and websockets on a regular basis.

  11. Anonymous users2024-01-26

    The use of websockets, which is new in HTML5, also requires backend server support, which is now supported by many servers.

Related questions
11 answers2024-02-09

Are you talking about games or anime?

20 answers2024-02-09

1. I think McMc must have had some kind of conflict with the Rockets' top management or Aderman, and his selfish approach last year really broke the hearts of the Rockets' top management and Rocket fans. Anyone who has played knows that people's state is closely related to their mood when playing, Maddie is not in a good mood, and he must be in average state when he plays, but unfortunately, I am his fan like you! >>>More

19 answers2024-02-09

It seems that there is something about the character setting. >>>More

16 answers2024-02-09

Tencent Sports News On October 25, Beijing time, according to the "Sports News Network", in the nearly four months since the NBA (Weibo) officially announced its shutdown on July 1 this year, about 400 NBA officials and employees of various teams have suffered layoffs. At a time when the U.S. economy is not optimistic, the NBA shutdown has caused many people to lose their jobs. >>>More

26 answers2024-02-09

is currently filming "The City is Full of ** A".