aspose file tools
The moose likes Beginning Java and the fly likes Platform independence and portability Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Platform independence and portability" Watch "Platform independence and portability" New topic

Platform independence and portability

Sasha Hernandez

Joined: Oct 14, 2003
Posts: 21
Is there a difference between platform independence and portability?
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
The terms do have diffent meanings, though they refer to similar contexts.

Portability, or code portability, I understand to refer to the ability to take code that runs on one platform, and port it to (i.e. make it run on) another platform.
Java claims a high-degree of portability, and rightfully so, in my opion, since, to a large extent, a J2SE 1.4 app that runs on Windows will run the same on Linux and Mac OS X. In this sense, Java claims such a high-degree of portability that it is often referred to as being platform independent.
Are these conepts clear?

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
It is sorta covered in the JavaRanch Style Guide.
subject: Platform independence and portability