I’m doing an application for my company that will be our enterprise communicator and i need to do some services to perform selects and inserts in our database. The interaction with our database (this database isn’t related to Openfire) will be massive as well as instant messaging.
I’m trying to figure out what’s is better: do a plugin inside Openfire that will be deployed as a servlet or do a new application web services based running in another server/container.
In solution 1 (plugin for Openfire) our client will connect on Openfire, use features like IM and our own plugin.
In solution 2 (new app) our client will connect on Openfire for IM and on another server to consume our web services.
This new application has no relation with instant messaging, it’s an app to retrieve information about projects, team, etc.I’m afraid to develop a plugin and my plugin crashes Openfire because will do massive interaction with database.
What’s is better for my situation?
Thanks in advance.