开发者

Can openfire merge with mysql server

开发者 https://www.devze.com 2023-02-09 19:54 出处:网络
I plan to create an application on android which use openfire(XMPP) and also use mysql to collect data at server.

I plan to create an application on android which use openfire(XMPP) and also use mysql to collect data at server.

My application need to:

1. Check login account
2. Send data to collect at server
3. Receive data from开发者_开发知识库 server  

So,I need to know:

1. Could i download smack to my app right? how?
2. How openfire can work with mysql ?  
3. Should I use LDAP ?


what do you mean by

  1. Could i download smack to my app right? how?

Smack is just a series of JARs (i.e. a library). Are you asking where you can download Smack and how to integrate it into your application?

As for your MySQL related questions, I am currently working on a web-based Java application that uses Openfire. I have Openfire running its own MySQL database and my application also has its own MySQL database as its backend. When you ask how Openfire can work with MySQL, are you asking how you can set up Openfire so its own database is a MySQL database or how can Openfire extract users from another application that is running a MySQL database as its backend? Both can be done easily, please just clarify the question.


I know openfire can work with mysql, in my project, I have my own mysql db, when I setup openfire, write mysql db name as same as the openfire connection db name, so openfire can install itself's table into mysql db

and you also lookup this document

http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/database.html#mysql

0

精彩评论

暂无评论...
验证码 换一张
取 消