Richard,

Richard Wallace wrote:
Enrique Rodriguez wrote:

...

6) Moved all the (get|put)Unsigned(Byte|Short|Int) methods into a
utility class called ByteBufferUtil.
Regarding #6, in the early days of MINA we found we had a need for
unsigned values in various protocols so we put them directly on MINA's
ByteBuffer:

http://mina.apache.org/report/trunk/apidocs/org/apache/mina/common/ByteBuffer.html


So, this may be a reason to use MINA ByteBuffer's.
Ah.  I didn't know those methods were on the MINA ByteBuffers.  AFAIK
they weren't being used by the protocol-dns before.  A proposal came up
a while ago on the MINA list to create a separate jar that just had the
ByteBuffer in it.  I wouldn't mind seeing the shared code using
something like that.
I also don't see
any reason to reduce our dependency on MINA.  Especially with more
complicated protocols, there is a need to use features of the
framework to reduce complexity.  If the framework is truly pluggable,
then it isn't a framework, it's a component.

My only issue is with being too tightly coupled to any framework.  I
love MINA.  It's the reason I'm interested in working on different
networking protocol implementations.  It's just really slick.  But, I've
learned not to put too many eggs in one basket.

I think the use of MINA will be inevitable. Having dependencies is not such a bad thing. It's just something that needs to be managed.

Alex
begin:vcard
fn:Alex Karasulu
n:Karasulu;Alex
org:Apache Software Foundation;Apache Directory
adr:;;1005 N. Marsh Wind Way;Ponte Vedra ;FL;32082;USA
email;internet:[EMAIL PROTECTED]
title:Member, V.P.
tel;work:(904) 791-2766
tel;fax:(904) 808-4789
tel;home:(904) 808-4789
tel;cell:(904) 315-4901
note;quoted-printable:AIM: alexokarasulu=0D=0A=
	MSN: [EMAIL PROTECTED]
	Yahoo!: alexkarasulu=0D=0A=
	IRC: aok=0D=0A=
	PGP ID: 1024D/4E1370F8 BBCC E8D8 8756 2D51 C3D4 014A 3662 F96F 4E13 70F8=0D=0A=
	
x-mozilla-html:FALSE
url:http://people.apache.org/~akarasulu
version:2.1
end:vcard

Reply via email to