From Wikipedia, the free encyclopedia
"Java language" redirects here. For the Indonesian spoken language, see
Javanese language.
Java
 |
| Usual file extensions |
.java, .class, .jar |
| Paradigm |
Object-oriented, structured, imperative |
| Appeared in |
1995 |
| Designed by |
Sun Microsystems (Now owned by Oracle Corporation) |
| Developer |
James Gosling & Sun Microsystems |
| Stable release |
Java Standard Edition 6 (1.6.0_18) (January 14, 2010; 55 day(s) ago (2010-01-14)) |
| Typing discipline |
Static, strong, safe, nominative, manifest |
| Major implementations |
Numerous |
| Dialects |
Generic Java, Pizza |
| Influenced by |
Ada 83, C++, C#,[1] Delphi Object Pascal,[2] Eiffel,[3] Generic Java, Mesa,[4] Modula-3,[5] Objective-C,[6] UCSD Pascal,[7][8] Smalltalk |
| Influenced |
Ada 2005, C#, Clojure, D, ECMAScript, Groovy, J#, PHP, Scala, JavaScript, Python, BeanShell |
| OS |
Cross-platform (multi-platform) |
| License |
GNU General Public License / Java Community Process |
| Website |
java.sun.com |
.^ Java was created at Sun Microsystems, Inc.- Java (computer programming language) -- Britannica Online Encyclopedia 10 January 2010 20:48 UTC www.britannica.com [Source type: Reference]
^ TAGS: scripting language , Java , Java program , Sun Microsystems Inc.- Java news, reviews and downloads on CNET 10 January 2010 20:48 UTC www.cnet.com [Source type: General]
^ The original J2EE specification was developed by Sun Microsystems .- DotNet « Le blog de Patrick Vergain 2 February 2010 15:16 UTC pvergain.wordpress.com [Source type: FILTERED WITH BAYES]
.^ The language derives much of its syntax from C and C++ but has a simpler object model JavaScript , a scripting language , shares a similar name and has similar syntax, but is not directly related to Java.- DotNet « Le blog de Patrick Vergain 2 February 2010 15:16 UTC pvergain.wordpress.com [Source type: FILTERED WITH BAYES]
^ The language itself borrows much syntax from C and C++ but has a simpler object model and fewer low-level facilities.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Not because its syntax is any simpler, but more because there are fewer surprises.- Making Sense of Java 10 January 2010 20:48 UTC disordered.org [Source type: FILTERED WITH BAYES]
.^ It can compile Java source code to Java bytecode (class files) or directly to native machine code, and Java bytecode to native machine code.- GCJ: The GNU Compiler for Java- GNU Project - Free Software Foundation (FSF) 10 January 2010 20:48 UTC gcc.gnu.org [Source type: FILTERED WITH BAYES]
^ Running a Java application on Strauss.- Unix program: Java 10 January 2010 20:48 UTC www.udel.edu [Source type: FILTERED WITH BAYES]
^ Java language and compiler; the Java Virtual Machine for running platform independent bytecode; the Java API frameworks of class libraries.- iPhone 2.0 SDK: Java on the iPhone? — RoughlyDrafted Magazine 10 January 2010 20:48 UTC www.roughlydrafted.com [Source type: FILTERED WITH BAYES]
.^ Object-Oriented: Almost everything in Java is either a class, a method or an object.- Cetus Links: 16604 Links on Objects and Components / Java / General 10 January 2010 20:48 UTC www.cetus-links.org [Source type: Academic]
^ For this purpose Java provides the StreamTokenizer class.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ An object is a specific instance of a class.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
.^ Developing Ajax Web Applications using ThinWire and Java ThinWire makes it as easy to develop rich web applications as it is to write standalone Java applications.- Java / WebDeveloper.com ® 10 January 2010 20:48 UTC www.webdeveloper.com [Source type: FILTERED WITH BAYES]
^ Because of this, Java is not considered to be a pure object-oriented programming language.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Ajax (programming) ; Programming language Semantic web .- Java (programming language) | Faviki. Tags that make sense. 2 February 2010 15:16 UTC www.faviki.com [Source type: FILTERED WITH BAYES]
[9][10]
.^ The first public implementation was Java 1.0 in 1995.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ GNU Compiler for the Java Programming Language (GCJ) This Java compiler is developed independently of the one by Sun.- Free Java Compilers and Assemblers, Free Native Code Java Compilers and Java Development Kits (thefreecountry.com) 10 January 2010 20:48 UTC www.thefreecountry.com [Source type: General]
^ Sun's license for Java insists that all implementations be "compatible".- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
.^ GNU Compiler for the Java Programming Language (GCJ) This Java compiler is developed independently of the one by Sun.- Free Java Compilers and Assemblers, Free Native Code Java Compilers and Java Development Kits (thefreecountry.com) 10 January 2010 20:48 UTC www.thefreecountry.com [Source type: General]
^ Sun's implementation of Java is nonfree.- Free but Shackled - The Java Trap 10 January 2010 20:48 UTC www.gnu.org [Source type: FILTERED WITH BAYES]
^ Others have also developed alternative implementations of these Sun technologies, such as the GNU Compiler for Java and GNU Classpath .- DotNet « Le blog de Patrick Vergain 2 February 2010 15:16 UTC pvergain.wordpress.com [Source type: FILTERED WITH BAYES]
History
.^ I am a Java advocate, but I have many gripes with the Java language.- "Java Is Dead, Long Live Java!" – The Future of Java | JAVA Developer's Journal 10 January 2010 20:48 UTC java.sys-con.com [Source type: General]
^ We use a standard set of them in describing Java.- The Java(tm) Language: An Overview 10 January 2010 20:48 UTC java.sun.com [Source type: FILTERED WITH BAYES]
^ Java was started as a project called "Oak" by James Gosling in June 1991.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
[11] .^ Since I wrote these words, originally, I found the the answer: Corel has a beta version of an all Java office suite almost ready.- JAVA FOR DERIVATIVES 10 January 2010 20:48 UTC www.margrabe.com [Source type: FILTERED WITH BAYES]
^ Due to the large size of the later versions of the language, the Java Foundation Classes (which you will need if you are writing Java applets) are covered separately in the companion book, Java Foundation Classes in a Nutshell .- Free Java Compilers and Assemblers, Free Native Code Java Compilers and Java Development Kits (thefreecountry.com) 10 January 2010 20:48 UTC www.thefreecountry.com [Source type: General]
- Free Java Class Libraries, Source Code, Applets, Beans and Frameworks (thefreecountry.com) 10 January 2010 20:48 UTC www.thefreecountry.com [Source type: General]
^ As per the announcement that’ll sooner or later turn up on the official JavaFX blog: 3 hours ago Java Mortgage Calculator Help .- Java Articles, Posts, Blogs, Videos - Technorati 10 January 2010 20:48 UTC technorati.com [Source type: General]
[12] .^ A virtual machine (VM) is a software implementation of a machine (i.e.- Journal de nicOnicO: Lisaac: sorti de la 0.39beta 2 February 2010 15:16 UTC linuxfr.org [Source type: Academic]
^ Gosling's goals were to implement a virtual machine and a language that had a familiar C-like notation but with greater uniformity and simplicity than C/C++.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ The Java SE specification defines a wide range of general purpose APIs and also includes the Java Language Specification and the Java Virtual Machine Specification.- The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 270 10 January 2010 20:48 UTC jcp.org [Source type: FILTERED WITH BAYES]
[13]
.^ What platforms does Java run on?- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ Java ME (and Java in general) is write once, run anywhere.- iPhone 2.0 SDK: Java on the iPhone? — RoughlyDrafted Magazine 10 January 2010 20:48 UTC www.roughlydrafted.com [Source type: FILTERED WITH BAYES]
^ The first public implementation was Java 1.0 in 1995.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
.^ It was fairly secure and its security was configurable, allowing for network and file access to be limited.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Features: Load PDF documents from files, network drives, URLs or input streams; Extract text; Extract words as a vector of Strings Written entirely in Java-allows your application to remain platform independent.- Java Applets : A large collection of Java Applets 10 January 2010 20:48 UTC www.bigwebmaster.com [Source type: Reference]
^ Even more importantly Java was designed from the ground up to allow for secure execution of code across a network, even when the source of that code was untrusted and possibly malicious.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
.^ Running a Java applet on Strauss.- Unix program: Java 10 January 2010 20:48 UTC www.udel.edu [Source type: FILTERED WITH BAYES]
^ An applet is a Java object designed to be in embedded in a web page.- Unix program: Java 10 January 2010 20:48 UTC www.udel.edu [Source type: FILTERED WITH BAYES]
^ How do I use a Java applet in a Web page?- Java / WebDeveloper.com ® 10 January 2010 20:48 UTC www.webdeveloper.com [Source type: FILTERED WITH BAYES]
.^ The next version of the Java platform was just released as Java 5 with many enhancements.- Java / WebDeveloper.com ® 10 January 2010 20:48 UTC www.webdeveloper.com [Source type: FILTERED WITH BAYES]
^ To bear out the difficulty of doing a new platform release: At this point, to my knowledge, BEA is the only one of the market leaders, to be Java EE certified, although the Java EE 5 specification has been final for months.- Java EE 6 Gets it Right | SpringSource Team Blog 10 January 2010 20:48 UTC blog.springsource.com [Source type: FILTERED WITH BAYES]
^ And nicely enough, the editor is built in cross-platform Java, which I think makes a whole lot of sense.
.^ For some example mobile applications: .- iPhone 2.0 SDK: Java on the iPhone? — RoughlyDrafted Magazine 10 January 2010 20:48 UTC www.roughlydrafted.com [Source type: FILTERED WITH BAYES]
^ Outside of its server space success, Sun has pushed Java as an ideal platform for mobile devices using a stripped down micro edition called Java ME (formerly J2ME, and distinguished from the desktop Java SE standard edition and server Java EE enterprise edition).- iPhone 2.0 SDK: Java on the iPhone? — RoughlyDrafted Magazine 10 January 2010 20:48 UTC www.roughlydrafted.com [Source type: FILTERED WITH BAYES]
^ Developer.com) Stereotype Annotations Cut Down XML Configuration in Spring Spring stereotype annotations can greatly reduce the amount of XML configuration required to build and maintain a Spring application.- DevX: Java Zone 10 January 2010 20:48 UTC www.devx.com [Source type: General]
.^ The Java 2 Platform, Standard Edition ("J2SE") is the core Java platform for desktop and server environments.- The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 270 10 January 2010 20:48 UTC jcp.org [Source type: FILTERED WITH BAYES]
^ Java runtime and compiler components are available for download from Sun Microsystems; they are packaged in the Java 2 Platform Standard Edition (J2SE).- http://www.stylusstudio.com/configure_jre.html 10 January 2010 20:48 UTC www.stylusstudio.com [Source type: Reference]
.^ What's the latest news in the Java market, and why?- Java / WebDeveloper.com ® 10 January 2010 20:48 UTC www.webdeveloper.com [Source type: FILTERED WITH BAYES]
^ Because of this popularity, Sun created different varieties of Java for different purposes, including Java SE for home computers, Java ME for embedded devices, and Java EE for Internet servers and supercomputers .- Java (computer programming language) -- Britannica Online Encyclopedia 10 January 2010 20:48 UTC www.britannica.com [Source type: Reference]
^ I'm talking about the stock, Sun Microsystems is down 20% in the futures market @ 8:10 AM ET. -20% On the news of the $7 billion game of brinksmanship, it is important to...- ONJava.com: The Independent Source for Enterprise Java -- java development, open and emerging enterp 10 January 2010 20:48 UTC onjava.com [Source type: General]
.^ Disclaimer: Java is a trademark of Sun Microsystems.
^ Java is developed and maintained by Sun Microsystems .- Using the Java plugin with Firefox 10 January 2010 20:48 UTC support.mozilla.com [Source type: General]
^ Java is developed by sun microsystems.- Old Version of Java Download - OldApps.com 10 January 2010 20:48 UTC www.oldapps.com [Source type: General]
[14] .^ Java remains a proprietary de facto standard that is controlled through the Java Community Process.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ In 1997, Sun approached the ISO/IEC JTC1 standards body and later the Ecma International to formalize Java, but it soon withdrew from the process.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Now that Oracle is absorbing Sun Microsystems, there mixed views on what should come of the Java Community Process (JCP).- TheServerSide.com: your java Community discussing server side development 10 January 2010 20:48 UTC www.theserverside.com [Source type: General]
[15] .^ (I am a software engineer and use Java most of the time.- "Java Is Dead, Long Live Java!" – The Future of Java | JAVA Developer's Journal 10 January 2010 20:48 UTC java.sys-con.com [Source type: General]
^ Sun has made the Java Developers Kit available for its supported platforms.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ Sun's implementation of Java is nonfree.- Free but Shackled - The Java Trap 10 January 2010 20:48 UTC www.gnu.org [Source type: FILTERED WITH BAYES]
.^ Sun makes most of its Java implementations available without charge, with revenue being generated by specialized products such as the Java Enterprise System.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Almost all major operating system developers (IBM, Microsoft, and others) have added Java compilers as part of their product offerings.- What is Java? - Definition from Whatis.com 10 January 2010 20:48 UTC searchsoa.techtarget.com [Source type: FILTERED WITH BAYES]
^ Although Java allows sequential procedures, it shares with C++ an ability to "morph" abstract general objects into useful special cases.- JAVA FOR DERIVATIVES 10 January 2010 20:48 UTC www.margrabe.com [Source type: FILTERED WITH BAYES]
.^ Sun distinguishes between its Software Development Kit (SDK) and Runtime Environment (JRE) which is a subset of the SDK, the primary distinction being that in the JRE the compiler is not present.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ A plethora of Ruby tools are being developed as open source software: compilers, test runners, integrated development environments, and bindings to graphical user interface toolkits written in other languages.- Ruby (programming language) - encyclopedia article - Citizendium 2 February 2010 15:16 UTC locke.citizendium.org [Source type: FILTERED WITH BAYES]
^ The Java programming language, created by Sun, was designed to allow programmers to write software on one platform and run it on another.- Java Code, Java Design, Java Tools, Java Info 10 January 2010 20:48 UTC www.devarticles.com [Source type: General]
.^ You should have received a copy of the GNU General Public License .- The Python Papers, Volume 2, Issue 2 2 February 2010 15:16 UTC archive.pythonpapers.org [Source type: FILTERED WITH BAYES]
^ GNU General Public License as published by .- The Python Papers, Volume 2, Issue 2 2 February 2010 15:16 UTC archive.pythonpapers.org [Source type: FILTERED WITH BAYES]
^ Open source; written in Java.- Java Integrated Development Environments (IDEs) and Editors 10 January 2010 20:48 UTC www.apl.jhu.edu [Source type: FILTERED WITH BAYES]
.^ Edit: The source code is available here .- Elie El Khoury » Java ★ 10 January 2010 20:48 UTC www.ekhoury.com [Source type: General]
^ Apache Lucene is an open source project available for free download .- Apache Lucene - Overview 10 January 2010 20:48 UTC lucene.apache.org [Source type: General]
^ All distributions contain documentation and source code.- Java+ Preprocessor Release 2.0 10 January 2010 20:48 UTC virtualschool.edu [Source type: Reference]
[16]
.^ Google's chief of open source believes an IBM acquisition of Sun could benefit the Java community, which has occasionally protested Sun's leadership role over the technology.
^ Patrick Naughton, then of Sun, now vice-president of technology at StarWave, started the Green Project on December 5th, 1990.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ "I vehemently disagree," says John Loiacono, executive vice-president of Sun's software division.
[17]
Principles
There were five primary goals in the creation of the Java language:
[18]
- It should be "simple, object oriented, and familiar".
- It should be "robust and secure".
- It should be "architecture neutral and portable".
- It should execute with "high performance".
- It should be "interpreted, threaded, and dynamic".
Practices
Java Platform
.^ The major characteristics of Java are: The programs you create are portable in a network.- What is Java? - Definition from Whatis.com 10 January 2010 20:48 UTC searchsoa.techtarget.com [Source type: FILTERED WITH BAYES]
^ Platform independence The second characteristic, platform independence, means that programs written in the Java language must run similarly on diverse hardware.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ What platforms does Java run on?- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
.^ Java compiles to an object code for a theoretical machine; the Java interpreter emulates that machine.- Making Sense of Java 10 January 2010 20:48 UTC disordered.org [Source type: FILTERED WITH BAYES]
^ This is achieved by most Java compilers by compiling the Java language code "halfway" to bytecode (specifically Java bytecode)—simplified machine instructions specific to the Java platform.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Java applications are typically compiled to bytecode , although compilation to native machine code is also possible.- DotNet « Le blog de Patrick Vergain 2 February 2010 15:16 UTC pvergain.wordpress.com [Source type: FILTERED WITH BAYES]
.^ Java compiles to an object code for a theoretical machine; the Java interpreter emulates that machine.- Making Sense of Java 10 January 2010 20:48 UTC disordered.org [Source type: FILTERED WITH BAYES]
^ Java bytecodes are translated on the fly to native machine instructions (interpreted) and not stored anywhere.- The Java(tm) Language: An Overview 10 January 2010 20:48 UTC java.sun.com [Source type: FILTERED WITH BAYES]
^ The code is then run on a virtual machine (VM), a program written in native code on the host hardware that interprets and executes generic Java bytecode.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
.^ We use Java Web Start technology rather than Java Applets.- Troubleshooting Java 10 January 2010 20:48 UTC phet.colorado.edu [Source type: General]
^ Both of the major Web browsers include a Java virtual machine.- What is Java? - Definition from Whatis.com 10 January 2010 20:48 UTC searchsoa.techtarget.com [Source type: FILTERED WITH BAYES]
^ How do I use a Java applet in a Web page?- Java / WebDeveloper.com ® 10 January 2010 20:48 UTC www.webdeveloper.com [Source type: FILTERED WITH BAYES]
.^ Further, standardized libraries are provided to allow access to features of the host machines (such as graphics, threading and networking) in unified ways.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Some open source communities want to help ease the reuse problem, by providing authors with ways to disseminate information about generally reusable objects and object libraries.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ This edition introduces new features added to the Java platform since the publication of the third edition (under release 1.3), such as a chapter on Generics and information on annotations.- CodeIdol - Thinking about Java 10 January 2010 20:48 UTC codeidol.com [Source type: FILTERED WITH BAYES]
A major benefit of using bytecode is porting.
.^ Netscape 2.0 can even compile Java programs.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ The tradeoff is in performance: the interpreter adds a significant level of overhead to the program.- Making Sense of Java 10 January 2010 20:48 UTC disordered.org [Source type: FILTERED WITH BAYES]
^ It compiles down to native code then runs the native code.- iPhone 2.0 SDK: Java on the iPhone? — RoughlyDrafted Magazine 10 January 2010 20:48 UTC www.roughlydrafted.com [Source type: FILTERED WITH BAYES]
.^ The new 2.2 version of GlassFish ESB introduces new tools to implement some of the more complex ...- Java Articles, Posts, Blogs, Videos - Technorati 10 January 2010 20:48 UTC technorati.com [Source type: General]
^ More recent JVM implementations produce programs that run significantly faster than before, using multiple techniques.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
Implementations
.^ Java was created at Sun Microsystems, Inc.- Java (computer programming language) -- Britannica Online Encyclopedia 10 January 2010 20:48 UTC www.britannica.com [Source type: Reference]
^ Java is developed and maintained by Sun Microsystems .- Using the Java plugin with Firefox 10 January 2010 20:48 UTC support.mozilla.com [Source type: General]
^ Java_%28programming_language%29#Implementations -- "Sun sued in 1997, and in 2001 won a settlement of $20 million as well as a court order enforcing the terms of the license from Sun.- » Windows XP se stále prodávají více než Vista - Petr Krčmář: blog nejen o Linuxu 2 February 2010 15:16 UTC petrkrcmar.blog.root.cz [Source type: Academic]
.^ Using C# with platform libraries is trivial, whereas with Java it is a bit of a pain (although maybe in the past few years Java might have made advances in that area).- strchr.com 2 February 2010 15:16 UTC www.strchr.com [Source type: FILTERED WITH BAYES]
- strchr.com 2 February 2010 15:16 UTC www.strchr.com [Source type: FILTERED WITH BAYES]
^ In part, this was because Apple didn’t partner with Microsoft or delegate it control of the QuickTime implementation on Windows in the way Sun foolishly did with Java.- iPhone 2.0 SDK: Java on the iPhone? — RoughlyDrafted Magazine 10 January 2010 20:48 UTC www.roughlydrafted.com [Source type: FILTERED WITH BAYES]
^ The Restricted Formats page contains installation directions for the Sun Java distributions that are encumbered by non open source licenses.- Java - OLPC 10 January 2010 20:48 UTC wiki.laptop.org [Source type: FILTERED WITH BAYES]
[21] .^ What other Java Resources are available?- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ Others provide alternatives to platform facilities.- Java EE 6 Gets it Right | SpringSource Team Blog 10 January 2010 20:48 UTC blog.springsource.com [Source type: FILTERED WITH BAYES]
^ South Florida Software and Electronics Engineers The purpose of this group is to provide a forum for learning and improving software and electronics engineering skills as well as to network with other professionals in these fields.- Java Meetup Groups - Java Meetups 10 January 2010 20:48 UTC java.meetup.com [Source type: General]
.^ Java compatibility is a feature that any browser can implement and by so doing implement every feature!- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ Sun's license for Java insists that all implementations be "compatible".- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ This resulted in a legal dispute with Microsoft after Sun claimed that the Microsoft implementation did not support the RMI and JNI interfaces and had added platform-specific features of their own.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
.^ Java_%28programming_language%29#Implementations -- "Sun sued in 1997, and in 2001 won a settlement of $20 million as well as a court order enforcing the terms of the license from Sun.- » Windows XP se stále prodávají více než Vista - Petr Krčmář: blog nejen o Linuxu 2 February 2010 15:16 UTC petrkrcmar.blog.root.cz [Source type: Academic]
[23] .^ In response, Microsoft no longer ships Java with Windows, and in recent versions of Windows, Internet Explorer cannot support Java applets without a third-party plug-in.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ There is no support for versioning classes in Java 1.0.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ And here's the result of a Java applet : .- Making Sense of Java 10 January 2010 20:48 UTC disordered.org [Source type: FILTERED WITH BAYES]
.^ What other Java Resources are available?- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ However, Sun and others have made available Java run-time systems at no cost for those and other versions of Windows.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Sun has made the Java Developers Kit available for its supported platforms.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
.^ Java is platform independent.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ Platform independence The second characteristic, platform independence, means that programs written in the Java language must run similarly on diverse hardware.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ The aim of the Java EE 5 platform is to provide developers a powerful set of APIs while reducing development time, reducing application complexity, and improving application performance.- CodeIdol - Thinking about Java 10 January 2010 20:48 UTC codeidol.com [Source type: FILTERED WITH BAYES]
.^ DataML DataML is a web server extension that can be integrated into any JAVA enabled web server.- Java / WebDeveloper.com ® 10 January 2010 20:48 UTC www.webdeveloper.com [Source type: FILTERED WITH BAYES]
^ People are most familiar with Java used in server side enterprise systems or applets.- Java Articles, Posts, Blogs, Videos - Technorati 10 January 2010 20:48 UTC technorati.com [Source type: General]
^ Platform-independent Java is however very successful with server-side applications, such as Web services, servlets , and Enterprise JavaBeans, as well as with Embedded systems based on OSGi, using Embedded Java environments.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
.^ Open source; written in Java.- Java Integrated Development Environments (IDEs) and Editors 10 January 2010 20:48 UTC www.apl.jhu.edu [Source type: FILTERED WITH BAYES]
^ Developers split on open sourcing Java .- TheServerSide.com: your java Community discussing server side development 10 January 2010 20:48 UTC www.theserverside.com [Source type: General]
^ Ability to work with Glassfish sources, and build it from source.- Gentoo Linux Projects-- The Java Project 10 January 2010 20:48 UTC www.gentoo.org [Source type: FILTERED WITH BAYES]
.^ This article does not cover the installation of the Java Development Kit (JDK).- Java Tutorials 10 January 2010 20:48 UTC www.vogella.de [Source type: Reference]
^ Sun also distributes a superset of the JRE called the Java 2 SDK (more commonly known as the JDK), which includes development tools such as the Java compiler, Javadoc, and debugger.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Java is developed and maintained by Sun Microsystems .- Using the Java plugin with Firefox 10 January 2010 20:48 UTC support.mozilla.com [Source type: General]
Performance
.^ Where Java is more portable than other languages is in its object code.- Making Sense of Java 10 January 2010 20:48 UTC disordered.org [Source type: FILTERED WITH BAYES]
^ In a number of ways, Java is a more dynamic language than C or C++.- The Java(tm) Language: An Overview 10 January 2010 20:48 UTC java.sun.com [Source type: FILTERED WITH BAYES]
^ Java is a programming language for distributed applications.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
[24] .^ High Performance Java can be compiled on the fly with a Just-In-Time compiler (JIT) to code that rivals C++ in speed.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ This is purely a convention and not a feature of the Java language.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ Java is a programming language for distributed applications.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
), and optimizations in the
Java Virtual Machine itself, such as
HotSpot becoming the default for Sun's JVM in 2000.
.^ Companies and individuals with challenging programming problems increasingly embrace the language and platform, and the question faced by those who do not use Java is often when they will start, not if.- CodeIdol - Thinking about Java 10 January 2010 20:48 UTC codeidol.com [Source type: FILTERED WITH BAYES]
^ Also, if you're serious about this, I can learn LUA (I learn coding like...a week per language, TOPS. Even learned Java in a week :@ ) and help with coding.- Operation: Assassination [Archive] - Fun-Motion Physics Games Forum 2 February 2010 15:16 UTC www.fun-motion.com [Source type: General]
^ It requires GC, which is usually the right choice, but not when you are dealing with a class of languages that are typically used to write kernels and do embedded programming.
Automatic memory management
.^ Current implementations of Java use a mark and sweep garbage collector.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ What is the purpose of garbage collection in Java, and when is it used?- Java Interview Questions 10 January 2010 20:48 UTC www.allapplabs.com [Source type: Reference]
^ By virtue of having automatic garbage collection (periodic freeing of memory not being referenced) the Java language not only makes the programming task easier, it also dramatically cuts down on bugs.- The Java(tm) Language: An Overview 10 January 2010 20:48 UTC java.sun.com [Source type: FILTERED WITH BAYES]
.^ The programmer determines when objects are created, and the Java runtime is responsible for managing the object's lifecycle.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ As a result, Microsoft no longer ships Java with Windows, and in recent versions of Windows, Internet Explorer cannot support Java applets without a third-party plugin."- » Windows XP se stále prodávají více než Vista - Petr Krčmář: blog nejen o Linuxu 2 February 2010 15:16 UTC petrkrcmar.blog.root.cz [Source type: Academic]
^ The order of evaluation (ignoring out of memory problems) when you say new C() is: Call a constructor for C's superclass (unless C is Object , in which case it has no superclass).- Java IAQ: Infrequently Answered Questions 10 January 2010 20:48 UTC norvig.com [Source type: FILTERED WITH BAYES]
.^ When no references to an object remain, the Java garbage collector automatically deletes the unreachable object, freeing memory and preventing a memory leak.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ The order of evaluation (ignoring out of memory problems) when you say new C() is: Call a constructor for C's superclass (unless C is Object , in which case it has no superclass).- Java IAQ: Infrequently Answered Questions 10 January 2010 20:48 UTC norvig.com [Source type: FILTERED WITH BAYES]
^ This generates the heading, then refers to another partial, which will be used once for each object in the collection named tags .- The Python Papers, Volume 2, Issue 2 2 February 2010 15:16 UTC archive.pythonpapers.org [Source type: FILTERED WITH BAYES]
.^ At the level of machine code in the CPU a reference is an address in memory where the address of the object is stored.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ A. Use object pooling and weak object references.- Interview Questions On Java,Java EE 10 January 2010 20:48 UTC www.interviewjava.com [Source type: FILTERED WITH BAYES]
^ No doubt other people have still different memories of what occurred.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
.^ In other words, you call a method on an object, and you get back an object (possibly a new one).- Dr. Dobb's | Java's new Considered Harmful | April 1, 2002 10 January 2010 20:48 UTC www.ddj.com [Source type: FILTERED WITH BAYES]
^ To make a link to edit the blog, we call the method [term]edit blog path[/term] and specify the argument, which again can either be the blog object or the blog id, like this [term]edit blog path(blog)[/term] or [term]edit blog path(blog.id)[/term].- The Life Of A Radar » 2007 » September 2 February 2010 15:16 UTC ryanbigg.com [Source type: General]
^ But clients manually deallocate objects by calling a method that places the object carcass in a pool, from where it can be reallocated when needed.- Dr. Dobb's | Java's new Considered Harmful | April 1, 2002 10 January 2010 20:48 UTC www.ddj.com [Source type: FILTERED WITH BAYES]
[30][31]
.^ Automatic garbage collection One idea behind Java's automatic memory management model is that programmers should be spared the burden of having to perform manual memory management.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Comparing Java and C++, it is possible in C++ to implement similar functionality (for example, a memory management model for specific classes can be designed in C++ to improve speed and lower memory fragmentation considerably), with the possible cost of extra development time and some application complexity.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ One such example of half-truths is Edward Yourdon's Java and the new Internet programming paradigm from Rise and Resurrection of the American Programmer [footnote on Yourdon] .- Java IAQ: Infrequently Answered Questions 10 January 2010 20:48 UTC norvig.com [Source type: FILTERED WITH BAYES]
.^ Allocates some memory from this session’s memory pool.- Platform Selection - Our Agile Dev Processes - Wiki.Directi 2 February 2010 15:16 UTC wiki.directi.com [Source type: FILTERED WITH BAYES]
^ In some languages the programmer allocates memory to create any object stored on the heap and is responsible for later manually deallocating that memory to delete any such objects.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ It allocates memory from the heap.- Dr. Dobb's | Java's new Considered Harmful | April 1, 2002 10 January 2010 20:48 UTC www.ddj.com [Source type: FILTERED WITH BAYES]
.^ Having to carefully manage the memory changes the way you think.- The Joel on Software Discussion Group - What is the "point" of POINTERS? 2 February 2010 15:16 UTC discuss.joelonsoftware.com [Source type: FILTERED WITH BAYES]
^ In some languages the programmer allocates memory to create any object stored on the heap and is responsible for later manually deallocating that memory to delete any such objects.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ Automatic garbage collection One idea behind Java's automatic memory management model is that programmers should be spared the burden of having to perform manual memory management.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
.^ I thought programs written in C/C++ are more likely to have security holes because programmers need to allocate/deallocate dynamic memory manually.
^ Does garbage collection guarantee that a program will not run out of memory?- Interview Questions On Java,Java EE 10 January 2010 20:48 UTC www.interviewjava.com [Source type: FILTERED WITH BAYES]
^ The garbage collector usually does a pretty good job of reclaiming storage, but in rare cases it may be more efficient to allocate/deallocate objects manually.- Dr. Dobb's | Java's new Considered Harmful | April 1, 2002 10 January 2010 20:48 UTC www.ddj.com [Source type: FILTERED WITH BAYES]
.^ In addition, if a region of memory is deallocated twice, the program can become unstable and may crash.- History of Java programming language | www.freejavaguide.com 10 January 2010 20:48 UTC www.freejavaguide.com [Source type: Reference]
^ This would of course be a very bad thing, and is likely to result in a crash as soon as the plugin is loaded or the information schema table is accessed.- Platform Selection - Our Agile Dev Processes - Wiki.Directi 2 February 2010 15:16 UTC wiki.directi.com [Source type: FILTERED WITH BAYES]
^ Java programs cannot (at least in theory) access arbitrary addresses in memory.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
.^ Both new and malloc return a pointer, so almost any reasonably complex C or C++ program will use pointers for that reason, if nothing else.- The Joel on Software Discussion Group - What is the "point" of POINTERS? 2 February 2010 15:16 UTC discuss.joelonsoftware.com [Source type: FILTERED WITH BAYES]
^ Of course you'll need to adjust this to match where you've installed these files and to add any other classes you use.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ Either technique will add complexity and overhead to the Java run time environment.- Making Sense of Java 10 January 2010 20:48 UTC disordered.org [Source type: FILTERED WITH BAYES]
Note that garbage collection does not prevent 'logical' memory leaks, i.e. those where the memory is still referenced but never used.
.^ What the garbage collection scheme causes is that the process will consume more memory than it really needs (in pathological cases it can consume even hundreds of times more memory than it really is using).- Why I hate Java 10 January 2010 20:48 UTC warp.povusers.org [Source type: FILTERED WITH BAYES]
^ Again, the real-time Java spec provides for the existence of memory areas other than the garbage-collected heap.- Dr. Dobb's | Java's new Considered Harmful | April 1, 2002 10 January 2010 20:48 UTC www.ddj.com [Source type: FILTERED WITH BAYES]
^ Java has garbage collection and no destructors, so there needs to be some way to ensure that certain things happen before exiting the scope.- gotchas : Java Glossary 10 January 2010 20:48 UTC mindprod.com [Source type: FILTERED WITH BAYES]
Ideally, it will occur when a program is idle.
.^ In Java all objects are allocated on the heap.- Java IAQ: Infrequently Answered Questions 10 January 2010 20:48 UTC norvig.com [Source type: FILTERED WITH BAYES]
^ There is no need to explicitly allocate or free memory in Java.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ It allocates memory from the heap.- Dr. Dobb's | Java's new Considered Harmful | April 1, 2002 10 January 2010 20:48 UTC www.ddj.com [Source type: FILTERED WITH BAYES]
.^ There's a good reason why C++ is still in wide and very popular use: precisely because it does have explicit memory management and pointer arithmetic.- Google's Go; a new, open-source programming language - Computerworld Blogs 2 February 2010 15:16 UTC blogs.computerworld.com [Source type: General]
^ The single biggest difference between Java and C/C++ is that Java has a pointer model that eliminates the possibility of overwriting memory and corrupting data.- The Java(tm) Language: An Overview 10 January 2010 20:48 UTC java.sun.com [Source type: FILTERED WITH BAYES]
^ If the language makes all boundary controls, memory managements then this language will be slow like java :) My attitude is that C is as safety as another programming language.- Is C a vitamin? at Özgür Macit 2 February 2010 15:16 UTC www.ozgurmacit.com [Source type: FILTERED WITH BAYES]
.^ What fonts does Java support?- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ Why Java does not support pointers?- Interview Questions On Java,Java EE 10 January 2010 20:48 UTC www.interviewjava.com [Source type: FILTERED WITH BAYES]
^ Does Java have pointers?- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
.^ The garbage collector usually does a pretty good job of reclaiming storage, but in rare cases it may be more efficient to allocate/deallocate objects manually.- Dr. Dobb's | Java's new Considered Harmful | April 1, 2002 10 January 2010 20:48 UTC www.ddj.com [Source type: FILTERED WITH BAYES]
^ Should one pool objects to help Garbage Collector?Should one call System.gc() periodically?- Interview Questions On Java,Java EE 10 January 2010 20:48 UTC www.interviewjava.com [Source type: FILTERED WITH BAYES]
^ Now the method invoked by entry.equals(key) depends upon the actual run-time type of the object referenced by entry , and the declared, compile-time type of the variable key .- Java IAQ: Infrequently Answered Questions 10 January 2010 20:48 UTC norvig.com [Source type: FILTERED WITH BAYES]
.^ Where Java is more portable than other languages is in its object code.- Making Sense of Java 10 January 2010 20:48 UTC disordered.org [Source type: FILTERED WITH BAYES]
^ Only objects and primitive data types can be passed to methods.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ Summary of primitive data types .- Introduction to Java 10 January 2010 20:48 UTC sip.clarku.edu [Source type: Reference]
.^ A boolean is a value that is either true or false.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ Only objects and primitive data types can be passed to methods.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ C for the equals method with argument of type Object .- Java IAQ: Infrequently Answered Questions 10 January 2010 20:48 UTC norvig.com [Source type: FILTERED WITH BAYES]
This was a conscious decision by Java's designers for performance reasons.
.^ Java makes programming easier because it is object-oriented and has automatic garbage collection.- The Java(tm) Language: An Overview 10 January 2010 20:48 UTC java.sun.com [Source type: FILTERED WITH BAYES]
^ Java, formerly known as oak, is an object-oriented programming language developed by Sun.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ Java is a programming language for distributed applications.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
.^ Strings are not a primitive type, but are instances of the String class.- Introduction to Java 10 January 2010 20:48 UTC sip.clarku.edu [Source type: Reference]
^ Strings are a reference or object type , that is a instances of the class java.lang.String .- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ Primitive float type and wrapper class float have different comparison behavior .- Java theory and practice: Where's your point? 10 January 2010 20:48 UTC www.ibm.com [Source type: FILTERED WITH BAYES]
Syntax
Main article:
Java syntax
.^ The language derives much of its syntax from C and C++ but has a simpler object model JavaScript , a scripting language , shares a similar name and has similar syntax, but is not directly related to Java.- DotNet « Le blog de Patrick Vergain 2 February 2010 15:16 UTC pvergain.wordpress.com [Source type: FILTERED WITH BAYES]
^ In the small it looks like C. The syntax of Java is deliberately similar to C. If you know C you already know large chunks of Java.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
.^ This is not good object-oriented programming.- Why I hate Java 10 January 2010 20:48 UTC warp.povusers.org [Source type: FILTERED WITH BAYES]
^ Object Oriented Programming is the programming buzzword of the 90's.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ Java is the latest and possibly the greatest third generation programming language.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
.^ A class defines what data can be in an object, and what operations are performed by the methods.- Introduction to Java 10 January 2010 20:48 UTC sip.clarku.edu [Source type: Reference]
^ (Yes, lisp code can be data, but not all lisp data is code.- Hacker News | Why Lisp Is Unpopular 2 February 2010 15:16 UTC news.ycombinator.com [Source type: Original source]
^ The values can be Strings as in this example, numbers, objects or any other kind of Java data type.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
.^ Therefore Java's designers elected not to add this feature to the language.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ Java does not support multiple inheritance.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ Two classes of language features have been removed from C++ to make it Java.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
.^ Java programs communicate with their methods using pass-by-value.- Introduction to Java 10 January 2010 20:48 UTC sip.clarku.edu [Source type: Reference]
^ Java Tip: Simplify Spring Apps with @Autowired @Autowired is not just for property injection, but also can be used in methods and constructors.- Java / WebDeveloper.com ® 10 January 2010 20:48 UTC www.webdeveloper.com [Source type: FILTERED WITH BAYES]
^ Static factory methods are used throughout the Java libraries.- Dr. Dobb's | Java's new Considered Harmful | April 1, 2002 10 January 2010 20:48 UTC www.ddj.com [Source type: FILTERED WITH BAYES]
.^ There are three comment styles in Java.- Introduction to Java 10 January 2010 20:48 UTC sip.clarku.edu [Source type: Reference]
^ There are at least three different ways to do this.- Brewing Java: A Tutorial 10 January 2010 20:48 UTC www.ibiblio.org [Source type: FILTERED WITH BAYES]
^ But there were some blurred lines and the intensive research shops with great industry contacts could get an ever-so-slight heads up that could make a difference.
.^ It turns out these are virtually the same requirements for allowing people to download and run programs from the Web.- comp.lang.java FAQ 10 January 2010 20:48 UTC www.cafeaulait.org [Source type: FILTERED WITH BAYES]
^ PS - If you are worried about "compile time type checking", I think it's > prudent to mention now that Clojure is a dynamically typed programming > language where types are checked at run-time and not compile time.- Clojure newbie question regarding compile time type checking. - Clojure | Google Groups 2 February 2010 15:16 UTC groups.google.com [Source type: FILTERED WITH BAYES]
^ Object oriented programming allows the user to reuse existing code rather than rewrite it.- Introduction to Java 10 January 2010 20:48 UTC sip.clarku.edu [Source type: Reference]
Example:
.