directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Anthony Winoto <>
Subject [mina] Must I create my own threads?
Date Thu, 10 Aug 2006 07:25:06 GMT
I have read the Mina online tut and got my own simple client-server setup. It's pretty much
copy of the echo example.

When I run the server, it exits the main method and never spends any time listening. If I
put in 
infinite loop at the end of the main method and start the client, we can see that the setup
the server main() was correct.

I tried running the examples and I get the same result: setup the server, print out listening

port, exit.

Am I supposed to create a new thread and call some method which blocks or something?

Very confused

View raw message