[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use of 'inetlib' by Classpath mail providers
From: |
Nic Ferrier |
Subject: |
Re: Use of 'inetlib' by Classpath mail providers |
Date: |
Fri, 15 Jul 2005 02:13:11 +0100 |
Stephen Crawley <address@hidden> writes:
> Chris Burdess <address@hidden>:
>> The underlying library used by the GNU providers is called inetlib. It
>> provides a much lower-level API to IMAP and other network protocols. If
>> you want performance, and you can live without a MIME framework, it may
>> be of interest to you.
>
> This worries me a bit.
>
> While I can see that using a native library here reduces the amount of
> work to get the protocols supported there are clear disadvantages:
>
> 1) If a Java application's use of the javax.mail.* etc APIs tickled
> a bug in the provider layer, there is a good chance that the VM
> will crash or behave unpredictably.
>
> 2) By using a "well-known" native library in the network stack, you
> are potentially laying VMs open to security exploits by buffer
> overruns, etc.
>
> 3) It increases the Java platform's dependencies on external libraries.
> This may be problematic. For example, suppose someone wanted to
> port (say) SableVM to an OS platform that did not support inetlib.
> [I'd guess that Windows was an example ...]
>
> IMO, it would be a GOOD THING if you could reimplement the mail protocol
> stack(s) in Java.
He said "lower level" not "native".
Nic
- Re: Devel Digest, Vol 12, Issue 6, Soumyadip Modak, 2005/07/08
- Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Martin Kauss, 2005/07/09
- Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Chris Burdess, 2005/07/09
- Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Martin Kauss, 2005/07/10
- Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Martin Kauss, 2005/07/13
- Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, David Walluck, 2005/07/13
- Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Stephen Crawley, 2005/07/13
- Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Martin Kauss, 2005/07/14
- Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Chris Burdess, 2005/07/14
- Use of 'inetlib' by Classpath mail providers, Stephen Crawley, 2005/07/14
- Re: Use of 'inetlib' by Classpath mail providers,
Nic Ferrier <=
- Re: Use of 'inetlib' by Classpath mail providers, Mark Wielaard, 2005/07/15
- Re: Use of 'inetlib' by Classpath mail providers, Stephen Crawley, 2005/07/15
- Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Martin Kauss, 2005/07/15
- Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Tom Tromey, 2005/07/18
- Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Chris Burdess, 2005/07/19
- Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Martin Kauss, 2005/07/19
- Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6, Marcus Klein, 2005/07/19