Re: Port Oddities

2007-11-30 Thread Angel.Figueroa
I am running a server application on linux intel 32 bit and linux s390x (mainframe for linux), it work withou any problem. Also it return the correct port number for each client connected to the server. Regards, Angel Figueroa elihusmails wrote: did you try a simple non-MINA server and see

Re: VMPIPE and IPC

2007-11-20 Thread Angel.Figueroa
IF the two java process are executing on the same java virtual machine, it meaning that they can no establish communication or Only in the context of the same process executing on the same vm.? Regards, angel Figueroa Trustin Lee wrote: Hi Angel, On Nov 20, 2007 4:40 AM, Angel.Figueroa

VMPIPE and IPC

2007-11-19 Thread Angel.Figueroa
1. Can i use VMPIPE for implementing ipc between to separate java process applications? 2. Can VMPIPE be use in a production application, for decoupling the connectivity layer from the business layer? In other word have a process for received the connection from the outside and business

Re: messageReceived and bussiness logic

2007-11-02 Thread Angel.Figueroa
Maarten, Suppose you want to use more that one instance. How you assign an instance to a IOSession? Angel Figueroa Maarten Bosteels wrote: On 11/2/07, Angel.Figueroa [EMAIL PROTECTED] wrote: Maarten, If you have a class that make the connection to the database

Re: messageReceived and bussiness logic

2007-11-02 Thread Angel.Figueroa
is connected to the server, a new connection is added to the db connection pool, or reuse a connection that is not associated to a IOSession. How this can me implemented in mina.? Angel Figueroa Maarten Bosteels wrote: On 11/2/07, Angel.Figueroa [EMAIL PROTECTED] wrote: Maarten, I understand

Re: messageReceived and bussiness logic

2007-11-01 Thread Angel.Figueroa
: don't store conversattional state in instance fields of your IoHandler and properly synchronize access to shared data. This is all very analogous to servlet programming. Maarten On 11/1/07, Angel.Figueroa [EMAIL PROTECTED] wrote: If more that one message is received at the same time. How

messageReceived and bussiness logic

2007-10-31 Thread Angel.Figueroa
If more that one message is received at the same time. How to control the execution of the business logic method. public void messageReceived(IoSession session, Object message) throws Exception {