[jdom-interest] JDK 4 should not hold us back from generics-let's move on!

Syloke Soong ssoong at protedyne.com
Mon Sep 17 13:05:44 PDT 2007


What's "NIO"?


-----Original Message-----
From: jdom-interest-bounces at jdom.org
[mailto:jdom-interest-bounces at jdom.org] On Behalf Of Tatu Saloranta
Sent: Monday, September 17, 2007 3:08 PM
To: New, Cecil (GE Infra, US); jdom interest
Subject: Re: [jdom-interest] JDK 4 should not hold us back from
generics-let's move on!

Regarding being user/use-case - driven: I agree, I wouldn't want
generics
support be added just for the sake it getting added. But optimally
people who code new features would do that to scratch their own itch,
or at least to help someone directly affected by lack of such support.


As to NIO: while it might be a potentially good idea in general (tree in
virtual memory), NIO can only help with low-level stuff which occurs
well  before JDOM gets involved. But even if they do, you still have the
problem of either where to actually store node objects; or
alternatively, how to index source xml textual serialization so you can
construct Nodes efficiently on-the-fly.
And at that point, I think you might as well consider Native Xml
Databases, because they get you the ability to deal with large
documents. Or, for simpler tasks, directly use streaming parsers.
So I don't think that using NIO would have short- or long-term benefits
wrt. JDOM, except via transitive dependencies (one of parsing packages
needing it or such).

-+ Tatu +-

----- End of Original Message ----



This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender immediately. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Even though this company takes every precaution to ensure this email is virus-free, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Protedyne Corporation, 1000 Day Hill Rd, Windsor, CT 06095, USA,                                                                  
www.protedyne.com



More information about the jdom-interest mailing list