• Post Reply Bookmark Topic Watch Topic
  • New Topic

sun web services vs apache web services  RSS feed

 
alexandra stehman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • 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.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!