Write once, run anywhere

Write once, run anywhere

"Write once, run anywhere" (WORA), or sometimes "Write once, run everywhere" (WORE), is a slogan created by Sun Microsystems to illustrate the cross-platform benefits of the Java language. [cite web
url=http://www.sun.com/smi/Press/sunflash/1996-01/sunflash.960123.10561.xml
title=JavaSoft ships Java 1.0
publisher=Sun Microsystems
quote="Java's write-once-run-everywhere capability along with its easy accessibility have propelled the software and Internet communities to embrace it as the de facto standard for writing applications for complex networks"
date=1996-01-23
accessdate=2008-08-03
] Ideally, this means Java can be developed on any device, compiled into a standard bytecode and be expected to run on any device equipped with a Java virtual machine (JVM). The installation of a JVM or Java interpreter on chips, devices or software packages has become an industry standard practice.

This means a programmer can develop code on a PC and can expect it to run on Java enabled cell phones, as well as on routers and mainframes equipped with Java, without any adjustments. This is intended to save software developers the effort of writing a different version of their software for each platform or operating system they intend to deploy on.

The catch is that since there are multiple JVM implementations, on top of a wide variety of different operating systems such as Windows, Linux, Solaris, NetWare, HP-UX, and Mac OS, there can be subtle differences in how a program may execute, which may require an application to be tested on various target platforms. This has given rise to the joke among Java developers, "Write Once, Debug Everywhere". [cite web
url=http://electronicdesign.com/Articles/Index.cfm?ArticleID=2255&pg=3
title=Write Once, Debug Everywhere
publisher=electronicdesign.com
last=Wong|first=William
quote="So far, the "write-once, run-everywhere" promise of Java hasn't come true. The bulk of a Java application will migrate between most Java implementations, but taking advantage of a VM-specific feature causes porting problems."
date=2002-05-27
accessdate=2008-08-03
] However, for a developer, the abstraction layer that Java provides is usually more convenient than recompiling software for each combination of operating system and architecture that it should run on and still represents a significant reduction in work when developing and supporting an application on multiple platforms.Fact|date=November 2007

References

ee also

* Criticisms of cross-platform development and this slogan
*Write once, compile anywhere
*C to Java Virtual Machine compilers


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Write once, compile anywhere — (WOCA) refers to writing software that compiles and is thus usable on all platforms. As opposed to Sun s Write once, run anywhere slogan, cross platform compatibility is implemented at the source code level, rather than at the compiled binary… …   Wikipedia

  • Write once — may refer to: * Write once, run anywhere, a slogan for the cross platform benefits of Java * Write once (cache coherency), a write invalidate protocol in computer memory design * Write Once Read Many, computer storage that can be written to once …   Wikipedia

  • ONCE Group — The ONCE Group was a collection of musicians, visual artists, architects, and film makers who wished to create an environment in which artists could explore and share techniques and ideas in the late 1950s and early 1960s. The group was… …   Wikipedia

  • run — run1 W1S1 [rʌn] v past tense ran [ræn] past participle run present participle running ▬▬▬▬▬▬▬ 1¦(move quickly using your legs)¦ 2¦(race)¦ 3¦(organize/be in charge of )¦ 4¦(do something/go somewhere quickly)¦ 5¦(buses/trains etc)¦ …   Dictionary of contemporary English

  • Copy-on-write — (sometimes referred to as COW ) is an optimization strategy used in computer programming. The fundamental idea is that if multiple callers ask for resources which are initially indistinguishable, they can all be given pointers to the same… …   Wikipedia

  • WORA — Write Once, Run Anywhere (Computing » General) * Ward One Residents Association, Annapolis, Maryland (Community) …   Abbreviations dictionary

  • Java (programming language) — infobox programming language name = Java paradigm = Object oriented, structured, imperative year = 1995 designer = Sun Microsystems latest release version = Java Standard Edition 6 (1.6.0) latest release date = latest test version = latest test… …   Wikipedia

  • IP Pascal — is an implementation of the Pascal programming language using the IP portability platform, a multiple machine, operating system and language implementation system. Overview IP Pascal implements the language Pascaline (named after Blaise Pascal s… …   Wikipedia

  • Java (lenguaje de programación) — Este artículo o sección se encuentra desactualizado. Es posible que la información suministrada aquí haya cambiado o sea insuficiente …   Wikipedia Español

  • Comparison of Java and C++ — Programming language comparisons General comparison Basic syntax Basic instructions Arrays Associative arrays String operations …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”