English 中文(简体)
能否在Tomcat服务器内安装XMPP模块?
原标题:Is it possible to have a XMPP module inside a Tomcat server?

我把这一点放在这里,因为我对方案制定者进行 st默,没有回答,我需要对这一相当迅速的回答,因此,我们在这里:

对于一个学校项目,我们正期待着在我们海滨实施像技术一样的推介,我们需要把服务器(Tomcat)的信息传递给电话(Android)。

进行了一些研究 我发现,XMPP是实现这种类型的推动通知的一个良好选择,现在,我的问题是如何把这一通知与我们的Tomatt系统整合起来,在那里,所有的信息和事件都会发生,而且我们的所有其它网页也将如此。

能否在Tomcat公司内部配备一个XMPP服务器或模块,或者我能否建立自己的轻重模块(我想像一个服务器)来处理这一问题?

如果你们对如何实现推动通知书有更好的想法,我会真心乐意听取他们的意见,无论是采用完全不同的方法,还是采用XMPP(我看着漫长的投票、MQTT和其他一些东西),还是将解决办法纳入Tomcat。

The requirements we have is that we must use Tomcat and Android 2.1 (so C2DM is not an option) and set up push notifications between these.

问题回答

也许你可以在Tomcat操作一些服务器,但我认为你确实从这一配置中获得了有关XMPP的任何信息。 您实际上将拥有另一个服务器的服务器。

The only advantage I can see with this is if you want access to the server internals from some other web application, but for that I would either make the web app another client, or build a custom communication module in the xmpp server that the web app can use to communicate outside of standard XMPP.





相关问题
Tomcat´s server.xml dynamic configuration

My web application uses the same database configuration as the application XYZ. I have a resource declaration for a context in server.xml, so I have a duplicated configuration (once for web ...

session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

JSP exception - class not found (tomcat)

I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...

热门标签