For comprehensive courses on Java Programming. This comprehensive introduction to the concepts and practice of Java programming builds carefully and cumulatively from chapter to chapter. Early chapters provide the conceptual basis for understanding Java and guide students through simple examples and exercises; subsequent chapters progressively present Java programming in detail and culminate in teaching the development of comprehensive Java applications. The appendices contain a mixed bag of topics that include an HTML tutorial. To facilitate developing and managing Java programs, the book is aided by JBuilder. With a tool like JBuilder, students can not only develop Java programs more productively, but also learn Java programming more effectively.
"synopsis" may belong to another edition of this title.
INTRODUCTION To the Instructor
There are three popular strategies in teaching Java. The first is to mix Java applets and graphics programming with object-oriented programming concepts. The second is to introduce objectoriented programming from the start. The third strategy is a step-by-step approach, first laying a sound foundation on programming elements, control structures, and methods, and then moving on to graphical user interface, applets, internationalization, multimedia, I/O, and networking.
The first strategy, starting with GUI and applets, seems attractive, but requires substantial knowledge of OOP and a good understanding of the Java eventhandling model; thus, students may never fully understand what they are doing. The second strategy is based on the notion that the objects should be introduced first because Java is an object-oriented programming language. This notion, however, does not strike a chord with students. From the more than 20 Java courses I have taught, I have concluded that introducing primary data types, control structures, and methods prepares students to learn object-oriented programming. Therefore, this text adopts the third strategy, first proceeding at a steady pace through all the necessary and important basic concepts, then quickly moving to object-oriented programming, and then to using the object-oriented approach to build interesting GUI applications and applets with multimedia and networking.
Although this book is primarily intended for freshman programming courses, it can also be used in teaching Java as a second language, or for a short training course for experienced programmers. The book contains more material than can be covered in a single semester for freshmen. You can skip all the optional topics and cover the first 10 chapters, and use the remaining chapters as time permits.
The Instructor's Manual on CD-ROM is available for instructors of this book. It contains the following resources: Lecture notes with suggested teaching strategies and activities. Microsoft PowerPoint slides for lectures. Answers to chapter reviews. Solutions to programming exercises. Over 400 multiple-choice and true-or-false questions and answers covering all of the chapters in sequence.
To obtain the Instructor's Manual, contact your Prentice-Hall sales representative. Pedagogical Features of This Book
Introduction to Java Programming with JBuilder 3 uses the following elements to get the most out of the material:
Objectives lists what students should have learned from the chapter. This will help them to determine whether they have met these objectives after completing the chapter. Introduction opens the discussion with a brief overview of what to expect from the chapter. Programming concepts are taught by representative Examples, carefully chosen and presented in an easy-to-follow style. Each example is described, and includes the source code, a sample run, and an example review. The source code of the examples is contained in the companion CD-ROM. Each program is complete and ready to be compiled and executed. The sample run of the program is captured from the screen to give students live presentation of the example. Reading these examples is much like entering and running them on a computer. Chapter Summary reviews the important subjects that students should understand and remember. It also reinforces the key concepts they have learned in the chapter. Chapter Review helps students to track progress and evaluate learning. Programming Exercises at the end of each chapter provide students with opportunities to apply the skills on their own. The trick of learning programming is practice, practice, and practice. To that end, the book provides a large number of exercises. Notes, Tips, and Cautions are inserted throughout the text to offer valuable advice and insight on important aspects of program development. NOTE Provides additional information on the subject and reinforces important concepts. TIP Teaches good programming style and practice. CAUTION Helps students steer away from the pitfalls of programming errors. What's New in this Edition
This book expands and improves upon the second edition of Introduction to Java Programming. The major changes are as follows:
All the AWT user-interface components are replaced with state-of-the-art Swing components, which improves all the chapters after Chapter 8, "Getting Started with Graphics Programming." JBuilder is introduced throughout the book rather than clustered in one or two chapters. This incremental approach makes learning JBuilder easy, because its new features are covered in relation to the topics in each chapter. Chapter 12, "Internationalization," is an entirely new chapter added to introduce the development Java programs for international audiences. A new appendix, G, titled "Rapid Java Application Development Using JBuilder," was added to demonstrate rapid Java application development using JBuilder. Several new case studies are provided to give more examples of such programming fundamentals as writing loops. Nonessential sections are marked optional and can be skipped without affecting the student's understanding of later chapters. These sections cover such topics as recursion, event adapters, anonymous inner classes, advanced layout managers, and resource bundles. To the Student
There is nothing more important to the future of computing than the Internet. There is nothing more exciting on the Internet than Java. A revolutionary programming language developed by Sun Microsystems, Java has become the de facto standard for cross-platform applications and programming on the World Wide Web since its inception in May 1995.
Before Java, the Web was used primarily for viewing static information on the Internet using HTML, a markup language for document layout and for linking documents over the Internet. Java programs can be embedded in an HTML page and downloaded by Web browsers to bring live animation and interactive applications to Web clients.
Java is a full-featured, general-purpose programming language that is capable of developing robust, mission-critical applications. In the last three years, Java has gained enormous popularity and has quickly become the most popular and successful programming language. Today, Java is used not only for Web programming, but to develop standalone applications. Many companies that once considered Java to be more hype than substance are now using it to create distributed applications accessed by customers and partners across the Internet. For every new project being developed today, companies are asking how they can use Java to make their work easier. Java's Design and Advantages
Java is an object-oriented programming language. Object-oriented programming is a favored programming approach that has replaced traditional procedure-based programming techniques. An object-oriented language uses abstraction, encapsulation, inheritance, and polymorphism to provide great flexibility, modularity, and reusability for developing software.
Java is platform-independent. Its programs can run on any machine with any operating system that supports the Java Virtual Machine, a software component that interprets Java instructions and carries out associated actions.
Java is distributed. Networking is inherently built-in. Simultaneous processing can occur on multiple computers on the Internet. Writing network programs is treated as simple data input and output.
Java is multithreaded. Multithreading is the capability of a program to perform several tasks simultaneously; for example, a program can download a video file while playing the video at the same time. Multithreading is particularly useful in graphical user interfaces (GUI) and network programming. Multithread programming is smoothly integrated in Java. In other languages, you have to call procedures that are specific to the operating system to enable multithreading.
Java is secure. Computers become vulnerable when they are connected with other computers. Viruses and malicious programs can damage your computer. Java is designed with multiple layers of security that ensure proper access of private data and restrict access to disk files. Java's Versatility
Stimulated by the promise of writing programs once and running them anywhere, the computer industry has given Java its unqualified endorsement. IBM, Sun, Apple, and many other vendors are working to integrate the Java Virtual Machine with their operating systems so that Java programs can run directly and efficiently on the native machine. Java programs are not restricted to full-featured computers, but also run on consumer electronics and appliances.
Java has the potential to unite existing legacy applications written on different platforms so that they can run together. Because it is seen as a universal front end for the enterprise database, the leading database companies, IBM, Oracle, Sybase, and Informix, have extended their commitment to Java by integrating it into their products. Oracle, for example, plans to enable native Java applications to run on its server and to deliver a complete set of Java-based development tools supporting the integration of current applications with the Web. Learning Java
The key to developing software is to apply the concept of abstraction in the design and implementation of the software project. The overriding objective of this book is, therefore, to teach you how to use many levels of abstraction to solve problems, and how to see problems in small and in large.
My students were the inspiration for this book. I learned to teach programming from them, and they told me they wanted a book that used easy-to-follow examples to explain programming concepts. In the summer of 1996, I was looking for a Java text. There were many reference books on the market, and several books that had been converted from C and C++ texts, but I could not find the kind of book I was looking for. As a result, the idea of writing a book that would use good examples to teach basic Java concepts was born.
This book covers the major topics in Java programming, including programming structures, methods, objects, classes, inheritance, graphics programming, applets, exception handling, internationalization, multithreading, multimedia, I/O, and networking. Students new .to object-oriented programming will need some time to become familiar with the concept of objects and classes. Once students master the principles, programming in Java is easy and productive. Students who know object-oriented programming languages like C++ and Smalltalk will find it easier to learn Java. In fact, Java is simpler than C++ and Smalltalk in many respects. The book is completely based on Java 2, and the graphics examples are built using Swing components. The source code for all the examples in the text can be found in the companion CD-ROM. The companion CD-ROM also contains JBuilder 3 University Edition. Learning Java with Builder
You can use Java 2 SDK to write Java programs. Java 2 SDK (formerly known as JDK) consists of a set of separate programs, such as compiler and interpreter, each of which is invoked from a command line. Besides Java 2 SDK, there are more than a dozen Java development tools on the market today, including JBuilder, Visual J++, and Visual Cafe. These tools support an ntegrated development environment(IDE) for rapidly developing Java programs. Editing, compiling, building, debugging, and online help are integrated in one graphical user interface. Using these tools effectively will greatly increase your programming productivity.
The overriding objective of this book is to introduce the concepts and practice of Java programming. To facilitate developing and managing Java programs, the book is aided by JBuilder. With a tool like JBuilder, students can not only develop Java programs more productively, but can also learn Java programming more effectively.
JBuilder is a premier Java development tool for developing Java programs produced by Borland. Borland products are known to be "best of breed" in the Rapid Application Development tool market. Over the years, it has led the charge in creating visual development tools like Delphi and C++ Builder. Inprise is now leading the way in Java development tools with JBuilder. JBuilder is endorsed by major information technology companies like IBM, which also makes its own Java IDE tool, VisualAge for java.
JBuilder is easy to learn and easy to use. The JBuilder development team worked hard to simplify the user interface and make it easy to navigate through the programs, projects, classes, packages, and code elements. As a result, JBuilder has fewer windows than Microsoft Visual J++ and Symantec Visual Cafe. This makes JBuilder an ideal tool for beginners and for students who have little programming experience.
JBuilder is an indispensable, powerful tool that boosts your programming productivity. It may take a while to become familiar with it, but the time you invest will pay off in the long run. This text takes an incremental approach to facilitate learning JBuilder. Programming with JBuilder is introduced throughout the book to help you gradually adapt to using it.
My Rapid Java Application Development Using JBuilder 3, which introduces many advanced Java features, 'including JavaBeans, model-view architectures, advanced Swing components, database programming, and distributed programming is now available. This book is also published by Prentice Hall. Organization of this Book
This book is divided into four parts that, taken together, form a comprehensive introductory course on Java programming. Because knowledge is cumulative, the early chapters provide the conceptual basis for understanding Java and guide students through simple examples and exercises; subsequent chapters progressively present Java programming in detail and culminate in teaching the development of comprehensive Java applications. The appendixes contain a mixed bag of topics that include an HTML tutorial. Part I: Fundamentals of Java Programming
The book's first part is a stepping stone to prepare you to embark on the journey of learning Java. You will start to know Java, and learn how to write simple Java programs with primitive data types, control structures, and methods.
Chapter 1, "Introduction to Java and JBuilder 3," gives an overview of the major features of Java: object-oriented programming, platform-independence, Java bytecode, security, performance, multithreading, and networking. This chapter also introduces JBuilder and uses it to create, compile, and run Java applications and applets. Simple examples of writing applications and applets are provided, along with a brief anatomy of programming structures.
Chapter 2, "Java Building Elements," introduces primitive data types, operators, and expressions. Important topics include identifiers, variables, constants, assignment statements, primitive data types, operators, and shortcut operators. Java programming style and documentation are also addressed. You will learn how to run Java programs from the command line, get online help from JBuilder, and customize JBuilder IDE options.
Chapter 3, "Control Structures," introdu...From the Back Cover:
This book covers the major topics in Java programming, including programming structures, methods, objects, classes, inheritance, graphics programming, applets, exception handling, internationalization, multithreading, multimedia, I/Q, and networking. Based completely on Java 2, the graphics' examples are built using Swing components, tested using Java 2 on Windows and on Sun Solaris using no depreciated API. The source code for all examples can be found on the companion CD-ROM, which also contains JBuilder 3 University Edition. The overall objective of this book is to teach the reader how to use many levels of abstraction to solve problems, both small and large.
FEATURES AND BENEFITS
* Teaches programming concepts and techniques as well as the Java language
* Provides modern graphics programming using Swing components
* Offers incremental approach coverage of new JBuilder 3 features in relation to the topics in each chapter
* Includes good representative examples that can run in stand-alone applications or applets
* Contains source code on the companion CD-ROM
* Companion Website features supplemental material at prenhall/liang
"About this title" may belong to another edition of this title.
Book Description Prentice Hall, 2000. Paperback. Book Condition: New. book. Bookseller Inventory # 130869112
Book Description Prentice Hall, 2000. Paperback. Book Condition: New. book. Bookseller Inventory # 0130869112
Book Description Prentice Hall, 2000. Paperback. Book Condition: New. Bookseller Inventory # DADAX0130869112