简体   繁体   English

可在具有轻量级客户端且无需Javaee的应用程序服务器上运行的JMS

[英]JMS that will work on app server that has lightweight client with out javaee requirement

I am looking for a JMS that will run on Glassfish (or TomEE) and that authenticated users can use this service to get real-time-events. 我正在寻找将在Glassfish(或TomEE)上运行的JMS,并且经过身份验证的用户可以使用此服务获取实时事件。 I want the users to be able to connect with an applet, a java web-start swing program, or eventually an android app. 我希望用户能够连接一个applet,一个Java Web-start swing程序或一个Android应用程序。 I'm not wanting a prerequisite for running a client to be that JavaEE must be installed on the users computer because the target user is the typical web user (probably not super computer savvy), and the JavaEE is a substantial install. 我不希望运行客户端的先决条件是必须在用户计算机上安装JavaEE,因为目标用户是典型的Web用户(可能不是精通超级计算机的人),而JavaEE是实质性安装。

So my question is - is there a full featured JMS that can be run on the server side, while having a lightweight client side version (or a 3rd party jar) that just requires JavaSE or JavaME? 所以我的问题是-是否有可以在服务器端运行的全功能JMS,同时具有仅需要JavaSE或JavaME的轻量级客户端版本(或第3方jar)?

It seems that MQTT (JMS) and Eclipse Paho (lightweight 3rd party jar) may fit this bill, but are there any others? 看来MQTT(JMS)和Eclipse Paho(轻量级第三方罐子)可能适合此法案,但还有其他建议吗?

ActiveMQ gives you a lot of client options, none of them requiring a giant footprint. ActiveMQ为您提供了很多客户端选项,没有一个选项需要占用大量资源。 In fact, with the HTTP and WebSocket based clients, you don't really need a Java client at all, but certainly well within the abilities of a JSE or JME client to interface with. 实际上,对于基于HTTP和WebSocket的客户端,您根本不需要Java客户端,但可以肯定地在JSE或JME客户端的接口能力之内。

There's other JMS implementations with equally small client requirements so you can lower your sights, if you see what I mean :) 还有其他JMS实现具有同样小的客户端需求,因此,如果您明白我的意思,就可以放低眼界:)

添加到Nicholas可以将ActiveMQ与REST,STOMP,Spring Websockets + STOMP + activemq一起使用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 JavaEE应用服务器中的CompletableFuture / parallelStream - CompletableFuture/parallelStream in JavaEE app server 如果客户端计算机具有Java 8并且服务器具有openjdk 11,我的Java Web Start应用程序可以工作吗? - Will my java web start app work if the client machine has java 8 and the server has openjdk 11? 轻量级JMS选择器替代 - Lightweight JMS Selector Alternative 轻量级JMS代理 - Lightweight JMS broker 如何将JavaSE客户端连接到JavaEE服务器并发送Serializable对象? - How to connect a JavaSE client to JavaEE server and send a Serializable object? JavaEE-仅当客户端和服务器位于同一主机上时,基于SSL的EJB才有效 - JavaEE - EJB over SSL works only if client and server are at the same host OSGi客户端中的RMI ClassCastException从JavaEE服务器访问EJB - RMI ClassCastException in OSGi client accessing EJB from JavaEE server 客户端JMS配置-JMS群集-仅连接到一台服务器 - Client Side JMS Configuration - JMS Cluster - Connets to only one server 尝试将 JavaEE 应用程序连接到数据库服务器时出现 DBException - DBException when attempting to connect JavaEE app to database server Tomcat服务器上的JavaEE Singleton - JavaEE Singleton on Tomcat server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM