On 8/3/07, Ben Hood <[EMAIL PROTECTED]> wrote: > Leandro, > > > I'd like to use the hessian protocol under a custom built server > > running "inside" MINA (mina.apache.org). > > > > Any examples on how I can accomplish this? > > I wrote a hessian connector for Mule using MINA, although you might > want to check out the whole source tree to get the context,
I'll. Thanks! > this class > shows how to start and stop a MINA instance with Hessian > ( http://wireformat.org/hg/mule-transport-hessian/file/dfbae71e7229/src/main/java/org/wireformat/mule/transport/common/HttpBasedConnector.java ). Start/Stop mina is not a problem. My guess is that your magic (handling the hessian protocol) is implemented in your MethodAwareStreamHandler. Is this correct? > > BTW, is there any reason why you want to use MINA over say using Jetty > as an embedded servlet handler (e.g. > http://cotton.sourceforge.net./hg/cotton/diff/7f379ae746fe/java/src/main/java/net/sf/cotton/HessianServer.java )? Yes. I don't need jetty. I'm not writing a servlet application. I'm writing a little server to listen to UDP packates and notify who is interested. I'm trying to use hessian as the client/server protocol. -- Leandro Rodrigo Saad Cruz software developer - certified scrum master :: scrum.com.br :: db.apache.org/ojb :: guara-framework.sf.net :: xingu.sf.net
_______________________________________________ hessian-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/hessian-interest
