• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java API Implementation  RSS feed

 
Himalay Majumdar
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The software that provides the functionality described by an API is said to be an implementation of the API. The API itself is abstract, in that it specifies an interface and the behavior of the identifiers specified in that interface; it does not specify how the behavior may be implemented--Wikipedia.


Does this mean when I download jdk jar files from Sun's site the implemented methods such as Sort, MergeSort etc are different than that I use in WebSphere or anyother server.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. The classes you mention are implemented by the JRE itself, so as long as you use the Sun JVM, they will be the same. There are, however, other JVMs - from IBM, BEA, Oracle (I think), Apple and others. The implementation details for those may differ, but whatever is stated in the javadocs is true for all JVMs.
 
Himalay Majumdar
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At work I am using ibm websphere which must be having ibm jvm and hence different implementation code than Sun. I guess, they still reuse some implementation of Sun and have some of there own.

You dint mention Microsoft jvm in your list of jvm, ofcourse its no longer available, I just came to know what happened with it after your reply.

Thank you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!