Hi Trustin and all of you !
I come back to MINA since I feel that MINA 2 is on the way to get out.
And I start to look what could be my effort to switch from beta 2 (trunk)
from 6 months ago to the current status of trunk.
I found some points that might be good to add on the page you started to
write.
As a beginning :
- change from get/set Attachment to get/setAttribute (OK there are still
there but deprecated)
It is not a big deal, of course, if you except the flag in Eclipse ;-)
- a full example on thread, in fact an example with both levels
(SocketAcceptor and ExecutorFilter)
since they are now really different with the introduction of
Unordered/OrderedThreadPoolExecutor.
Specially since from before in SocketAcceptor (now NioSocketAcceptor
right ?), the interface is different
with an Executor at first and IoProcessor at second, which I don't know
at all what to do with it.
I think, like others, I use Mina on multiprocessor server, so I can
afford multiple thread on
NioSocketAcceptor and other threads (if needed but I need it since I do
Oracle) in filter.
Just a question I've just thinking about : Am I correct if I say
Executors.newCachedThreadPool()
will no more allows order as it is point in this page of transition in
filter ?
Of course, page in "configuring thread model" is no more correct for V2
(as far as I understand).
- an example of how to configure Read and Write ThrottleFilter and what
could be a good default (if one
can say of course)
I will come back if I see anything else...
Just a question perhaps stupid :
I have the idea to perhaps use StreamWriteFilter or StreamIoHandler to
transfer some files
but with a protocol exchange before and after the file transfer (to verify
the access, the rules,
to make some pre or post operations, probably making an MD5 check of the
transfered file...).
I have look at the mailing list but I didn't find a good example of what
could be the best
but also I didn't understand how to "get" the file on the other side.
That is to say : I saw some code to send file (using StreamWF) but no on
receiving this file?
I'm surely missing something, obviously...
As always, Mina is going better and better... Just I feel like almost a new
user to Mina
after 6 months without coding Mina stuff, even If I read all the mailing
list (great one !).
Frederic
----- Original Message -----
From: "Trustin Lee (JIRA)"
Sent: Wednesday, November 14, 2007 8:08 AM
Subject: [jira] Created: (DIRMINA-477) Update page about differences
between1.x and 2.x
Update page about differences between 1.x and 2.x
-------------------------------------------------
Key: DIRMINA-477
URL: https://issues.apache.org/jira/browse/DIRMINA-477
Project: MINA
Issue Type: Task
Components: Web Site / Documentation
Reporter: Trustin Lee
Fix For: 2.0.0-M1
Our current web site doesn't describe what have been changed in 2.x
comparing to 1.x. We need to carefully put all changes together there so
people can migrate more easily.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.