I don't think run Mina app in a web server is a good idea.
Since we use Mina to provide the efficient and stable C/S framework, why
should we bother a web server to wrap it?
Suppose, one JVM is hosting a web server(Tomcat) and it has to also open
other ports to support your applications in Mina framework.
It's just like a man have two heavy coats in the cold days. One coat is
enough, two coats will be too heavy to breath.
If you want to add some management features, it's possible to be another
Mina's request. Another JVM is using the client codes to communicate the
Mina server. People can access that separate web server to manage the Mina
based server.

On 1/29/07, Maarten Bosteels <[EMAIL PROTECTED]> wrote:

Hello,

Until now my MINA-based applications were stand-alone java apps, started
from the command-line.
To add some management features, I embedded jetty and wrote some basic
servlets.
But now I am wondering if it wouldn't be easier to just create a regular
web-app and deploy it in Tomcat
(or any other servlet container)

All our other applications are webapps, so the deployment would be more
uniform
and for the management features I could use the MVC framework that I am
used
to (Spring MVC + velocity).

Now my question is, does anyone have good or bad experience running a MINA
app inside tomcat ?
Does anyone foresee any problems with that approach ?

Thanks,
Maarten




--
--
Yueyu Lin

Reply via email to