DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone >

JDOM 2.0 is out - is it time for a pure JDK 6+ version?

Chris Clark user avatar by
Chris Clark
·
Apr. 14, 12 · · News
Like (0)
Save
Tweet
422 Views

Join the DZone community and get the full member experience.

Join For Free

A lot of us folks have been using JDOM from the old days,

 It has always been a great alternative to the traditional DOM bindings to the Java language (org.w3c.dom) because it was a lot more productive. In the old days, JDOM 1.x was adopted quite heavily by enterprise efforts. 

 JDOM even made the effort into being a JCP standard (which died the death in 2011 after 10 years of stagnation)

OK, JDOM needs some effort into becoming a standard JDK addition...

 (1) Generics - there are a lot of collections involved, and generics should solve the confusion
(2) Third party dependencies - all these are to be removed. JAXP/TRaX are the standards. In an ideal JDOM world for JDK 6+, there are no third party dependencies.

(3) XPath - going back to (2), JDOM 1 had a specific API that did not work with the new XPath API from Java.

So an API we are all using is growing up - but is it next gen?

Java (programming language) Java Development Kit

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Better Scaffolding with jQuery - Part I
  • Test Plan and Test Strategy: Best Practices That Will Make Your Product Development a Success
  • Creating Event-Based Architecture on Top of Existing API Ecosystem
  • What Is Code Refactoring and Why Should You Do It?

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo