Thanks for your answers!

As you can see, i'm rather new to all this. So i didn't even know what for
OSGi framework really is. Now i began to look at it's Apache Felix and Oscar
implementations and, as i can see, it's the thing i need. I think i can
still use my own solution with dispatcher server, but OSGi will let me
deploy and manage all these server modules easier.


Trustin Lee wrote:
> 
> Hi velytreuzien,
> 
> On 7/23/07, velytreuzien <[EMAIL PROTECTED]> wrote:
>>
>> Hi!
>>
>> I've got my own implementaion of nio socket client-server communications
>> and
>> i'm goint to migrate to MINA. While googling around i've found
>> quickserver.org project that offers smth similar. They declare some very
>> useful features like (see http://quickserver.org/docs/features.html):
>> - Remote administration support: QSAdminServer (With support plugable
>> application commands).
> 
> MINA provides JMX integration at a limited extent.  I didn't look into
> QuickServer project in detail, so I can't say that 'pluggable
> application commands' are.   MINA is a very generic network
> application framework so it doesn't even assume that there's a command
> in the protocol you implement.  We could build something on top of
> MINA to provide such a functionality, but it's not planned yet.
> 
>> - Restart or Suspend the server without killing connected clients.
>>
>> The last feature is very important for me, because the system is very
>> critical to downtime and must not disconnect cleints while re-deploying.
>> In
>> other words, i need smth like WebApp servers can do, but for my own
>> protocol. Now i use my own implementation that has special dispatcher
>> server
>> to connect new clients to the new business-logic server instance after
>> re-deploy, and to kill old server instance after all old clients
>> disconnected or gone away.
> 
> As far as I know, there's no such way to keep connections killing the
> server instance in the world.  You could provide uninterrupted upgrade
> of your business logic not killing the server process using well known
> component frameworks such as OSGi, but MINA itself is not supposed to
> provide such functionality IMHO.
> 
> HTH,
> Trustin
> -- 
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Restart-the-server-without-killing-connected-clients-tf4128345s16868.html#a11761546
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to