【正文】
the development is faster, and the bugs are easier to find. It just works almost everywhere. So What Is Java? Java is more than a programming language。t create a language and then let other people implement it as they saw fit. The goal of Oak was hardware independence, and with that in mind he created a plete software deployment environment. From virtual puters to functional APIs, Oak providedand, more importantly, controlledeverything. Unfortunately, *7 floundered around like a legless cow in a butcher shop until 1994, when, during a threeday, nonstop, mountain retreat geekfest, James (along with Bill Joy, Wayne Rosing, John Gage, Eric Schmidt, and Patrick Naughton) saw a new opportunity for their acornthe Inter. Around the same time, that newfangled Inter thing was emerging as a mainstream technology. The World Wide Web was being used to transfer and display digital content in the form of pictures, text, and even audio almost universally on a variety of hardware. The goals of the Web were not dissimilar to that of Oak: provide a system to let you write content once, but view it anywhere. Sound familiar? Oak was attempting to do the same thing, but for programming. Imagine if the Inter were used as the framework upon which Oak software could be distributed and universally deployed. James and his pocketprotected buddies were on to something big. Java39。t only in its language design。 it was with the backend technology that powered it. One of the requirements of the project was an embedded software environment that was robust hardwareindependent, and that facilitated lowcost development. Enter the hero of our story, James Gosling, a Canadian software engineer working with the team. Taking some of the best elements of C++, while excluding the troublesome memory management, pointers, and multiple inheritancealong with concepts from the early objectoriented language SIMULAJames created a new language dubbed Oak. (It was named after a tree outside his window. I wonder if an Indonesian island appeared outside his window sometime later, in which case I think he should really lay off the Jolt for a while.) Oak39。t even have the Inter or mobile phones, let alone the Inter on mobile phones. The real action, however, wasn39。s history. The earliest traces of Java go back to the early 1990s, when Sun formed a special technical team tasked with developing the next wave of puting. After one of those 18month, secretlocation, roundtheclock, caffeinedriven geekfestssounds like a game development project, if you ask methe team emerged with the results: a handheld homeentertainment device controller with an animated touchscreen interface known as the *7 (star seven). Figure shows *7. And most importantly, the team created a little animated character named Duke to demo their creation. Wowunheard of! Figure The original *7 device developed by Sun Now that a decade has passed, I wouldn39。t take long, however, for the Write Once, Run Anywhere call to arms to be taken up. Slowly and inexorably, Java began its march to the top. But before I rush off into Java39。s Acorn In early 1995, Sun released an alpha version of a new software environment dubbed Java. During the first six months after Java39。J2ME History ——摘自《 J2ME Game Programming》 This chapter will cover the history behind the Java language and other related technologies. You39。ll then look at the capabilities and limitations of devices such as mobile phones before finally looking at the evolution of J2ME. Java39。s release, the industry spent most of its time making bad jokes and puns about coffee beans and Indonesian islands. (Is it just irony that there is great surfing around the island of Java?) It didn39。s glory days, I want to take a brief look at Java39。t really call *7 the next wave of puting, but heythey didn39。t with the device。s power wasn39。 there were plenty of other objectoriented languages. Oak blossomed because it enpassed everything. James didn39。s Growth in the Sun After the OakmeetsInter epiphany, James and the team at Sun developed a host of technologies around the concept of a universally deployable language and platform. One of their first tasks was to develop the Javapatible browser known as HotJava (although the early versions had the much cooler name WebRunner, after the movie Blade Runner). Figure shows the original HotJava browser. Figure The original HotJava browser, showing the first