Alternate start load order

broken image

Figure 1.3 shows an example of a Java applet that dynamically updates itself. Information can change in response to user input or be updated dynamically as a Web page is viewed. Lather, rinse, repeat.Ī Java applet running on a Web page provides a much richer experience-both in terms of information and user interaction. Someone using a browser asks for a page, looks it over, asks for another, looks it over, and so on.

broken image
broken image

The Web distributes almost all information in a passive manner. Java programs made a big splash on the Web because they offered interactivity in a medium that was largely one way. If another Worker object uses the DoubleCheckFunds object, a Police object will be called.The feature that is best known about Java is that it can be used to create programs that execute from World Wide Web pages. In OOP, a computer program is considered to be a group of objects that interact with each other.Ĭonsider an embezzlement program implemented with Java: A Worker object skims some Money objects from the CompanyFunds object and puts them in its own BankAccount object. Object-oriented programming (OOP) is an unusual but powerful way to develop software.

broken image

Java is an object-oriented programming language developed by Sun Microsystems that plays to the strengths of the Internet.