You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Mike Seavers <se...@earthlink.net> on 2006/01/19 02:59:49 UTC
[mina] Hot plug encoders
I only yesterday discovered Mina and I'm glad I did. My team just
finished a design for something very similar.
In our design, we implemented an XML configuration file that matches
protocols with their handlers (among other server configuration
items). The system would then use reflection to load the handlers at
runtime.
Additionally, we are looking at adding an event bus model where a hot
deployable "strategy" would execute on events that were of interest
to the strategy. This was to allow other internal development
organizations to write their own strategies for specific events, JAR
them up with the appropriate config fie and the server would load it
at run time (similar I think to what you've implemented already minus
the bus)
We begin development in several weeks (our specific application is
RFID event handling on the order of 180,000 events every 10 seconds).
If any of these features are of interest, we're happy to provide our
contribution. If any are already in the works, please let me know.
Best Regards,
Mike
Mike Seavers
Project Manager
seavers@earthlink.net
Re: [mina] Hot plug encoders
Posted by Trustin Lee <tr...@gmail.com>.
2006/1/19, Timothy Bennett <ti...@exterminator-x.com>:
>
> Cool stuff. My team has a need for an enterprise service bus, and we
> likely going to use MINA. If hot deployable services are important to
> you, have you considered running your server in an OSGi runtime, with
> your protocol handlers as OSGi service bundles?
Sounds very reasonable. :)
Otherwise, if you just want to deploy an IoHandler implementation only, you
could create a proxy IoHandler which loads the actual IoHandler class
dynamically.
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
PGP Key ID: 0x854B996C
Re: [mina] Hot plug encoders
Posted by Timothy Bennett <ti...@exterminator-x.com>.
Cool stuff. My team has a need for an enterprise service bus, and we
likely going to use MINA. If hot deployable services are important to
you, have you considered running your server in an OSGi runtime, with
your protocol handlers as OSGi service bundles?
Mike Seavers wrote:
> I only yesterday discovered Mina and I'm glad I did. My team just
> finished a design for something very similar.
>
> In our design, we implemented an XML configuration file that matches
> protocols with their handlers (among other server configuration
> items). The system would then use reflection to load the handlers at
> runtime.
>
> Additionally, we are looking at adding an event bus model where a hot
> deployable "strategy" would execute on events that were of interest
> to the strategy. This was to allow other internal development
> organizations to write their own strategies for specific events, JAR
> them up with the appropriate config fie and the server would load it
> at run time (similar I think to what you've implemented already minus
> the bus)
>
> We begin development in several weeks (our specific application is
> RFID event handling on the order of 180,000 events every 10 seconds).
>
> If any of these features are of interest, we're happy to provide our
> contribution. If any are already in the works, please let me know.
>
> Best Regards,
>
> Mike
>
> Mike Seavers
> Project Manager
> seavers@earthlink.net
>
>
>
>