Você está na página 1de 2

09/03/2016

AbouttheJavaTechnology(TheJavaTutorials>GettingStarted>TheJavaTechnologyPhenomenon)

Documentation

TheJavaTutorials
Trail:GettingStarted
Lesson:TheJavaTechnologyPhenomenon

AbouttheJavaTechnology
Javatechnologyisbothaprogramminglanguageandaplatform.

TheJavaProgrammingLanguage
TheJavaprogramminglanguageisahighlevellanguagethatcanbecharacterizedbyallofthefollowingbuzzwords:

Simple
Objectoriented
Distributed
Multithreaded
Dynamic

Architectureneutral
Portable
Highperformance
Robust
Secure

EachoftheprecedingbuzzwordsisexplainedinTheJavaLanguageEnvironment,awhitepaperwrittenbyJamesGoslingandHenryMcGilton.
IntheJavaprogramminglanguage,allsourcecodeisfirstwritteninplaintextfilesendingwiththe.javaextension.Thosesourcefilesarethen
compiledinto.classfilesbythejavaccompiler.A.classfiledoesnotcontaincodethatisnativetoyourprocessoritinsteadcontains
bytecodesthemachinelanguageoftheJavaVirtualMachine1(JavaVM).Thejavalaunchertoolthenrunsyourapplicationwithaninstanceof
theJavaVirtualMachine.

Anoverviewofthesoftwaredevelopmentprocess.
BecausetheJavaVMisavailableonmanydifferentoperatingsystems,thesame.classfilesarecapableofrunningonMicrosoftWindows,the
SolarisOperatingSystem(SolarisOS),Linux,orMacOS.Somevirtualmachines,suchastheJavaSEHotSpotataGlance,performadditional
stepsatruntimetogiveyourapplicationaperformanceboost.Thisincludesvarioustaskssuchasfindingperformancebottlenecksandrecompiling(to
nativecode)frequentlyusedsectionsofcode.

http://docs.oracle.com/javase/tutorial/getStarted/intro/definition.html

1/2

09/03/2016

AbouttheJavaTechnology(TheJavaTutorials>GettingStarted>TheJavaTechnologyPhenomenon)

ThroughtheJavaVM,thesameapplicationiscapableofrunningonmultipleplatforms.

TheJavaPlatform
Aplatformisthehardwareorsoftwareenvironmentinwhichaprogramruns.We'vealreadymentionedsomeofthemostpopularplatformslike
MicrosoftWindows,Linux,SolarisOS,andMacOS.Mostplatformscanbedescribedasacombinationoftheoperatingsystemandunderlying
hardware.TheJavaplatformdiffersfrommostotherplatformsinthatit'sasoftwareonlyplatformthatrunsontopofotherhardwarebasedplatforms.
TheJavaplatformhastwocomponents:
TheJavaVirtualMachine
TheJavaApplicationProgrammingInterface(API)
You'vealreadybeenintroducedtotheJavaVirtualMachineit'sthebasefortheJavaplatformandisportedontovarioushardwarebasedplatforms.
TheAPIisalargecollectionofreadymadesoftwarecomponentsthatprovidemanyusefulcapabilities.Itisgroupedintolibrariesofrelatedclasses
andinterfacestheselibrariesareknownaspackages.Thenextsection,WhatCanJavaTechnologyDo?highlightssomeofthefunctionalityprovided
bytheAPI.

TheAPIandJavaVirtualMachineinsulatetheprogramfromtheunderlyinghardware.
Asaplatformindependentenvironment,theJavaplatformcanbeabitslowerthannativecode.However,advancesincompilerandvirtualmachine
technologiesarebringingperformanceclosetothatofnativecodewithoutthreateningportability.
Theterms"JavaVirtualMachine"and"JVM"meanaVirtualMachinefortheJavaplatform.

Youruseofthispageandallthematerialonpagesunder"TheJavaTutorials"bannerissubjecttotheselegal
notices.
Copyright1995,2015Oracleand/oritsaffiliates.Allrightsreserved.

Problemswiththeexamples?TryCompilingandRunningtheExamples:
FAQs.
Complaints?Compliments?Suggestions?Giveusyourfeedback.

Previouspage:TheJavaTechnologyPhenomenon
Nextpage:WhatCanJavaTechnologyDo?

http://docs.oracle.com/javase/tutorial/getStarted/intro/definition.html

2/2

Você também pode gostar