• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

sun web services vs apache web services

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Would anyone know exactly why sun chose to wrap the apache web services lib so that importing org.apache... now becomes com.sun.org.apache...? Is branding (not like cattle branding, marketing branding) impeding into software?

This is very annoying.

Regards,
Alexandra
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not a clue. However it may be a versioning issue. Some of the sun components may rely on the exact version of something in the com.sun.org.apache.. packages - so they would only use classes from there. Meanwhile you personally may want to use the lastest and greatest from the org.apache.. packages. Sun may just want to ensure that thier stuff collaborates with the pacakages they tested the code with - not some older or newer stuff that you may choose to put in your classpath.

Anyway, expect this thread to be snatched and dropped of into the Web Services forum.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Peer is right on the mark. It's about wanting to rely on one particular version of a library, and making sure that it doesn't get superceded by some other version that has a higher priority during class loading. It's quite often done with XML parsers, Xerces in particular, because that gets shipped with many different products, and not all versions work well with some random version of some random library. This is becoming more and more frequent, even though it does have its drawbacks. But with storage and network costs coming down, having a bunch of more or less identical libraries lying around isn't the problem that it once was.
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Peer...

Alexandra, I hereby welcome you on behalf of the whole Javaranch community. We hope that you will have a great stay around us and that you will find all kinds of answers to your questions

I'm moving this thread to the Web services forum as this forum is dedicated to Sun's web services certification exam.

Please continue the discussion there. Thank you very much for your comprehension
 
straws are for suckers. tiny ads are for attractive people.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic