Introduction to Java Programming with Microsoft Visual J++ 6.0

0 avg rating
( 0 ratings by Goodreads )
9780130869128: Introduction to Java Programming with Microsoft Visual J++ 6.0
View all copies of this ISBN edition:

Features comprehensive coverage providing principles of programming including control structures, methods, object-oriented programming, and the core features of Java. Softcover. CD-ROM included. DLC: Java (Computer program language)

"synopsis" may belong to another edition of this title.

From the Inside Flap:

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 event-handling 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.

This book is primarily intended for freshman programming courses, but it can also be used in teaching Java as a second language or in a short training course for experienced programmers. The book contains more material than freshmen can master in a single semester. You can cover the first 12 chapters, and use the remaining ones 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 of the book in sequence

To obtain the Instructor's Manual, contact your Prentice-Hall sales representative. Pedagogical Features of the Book

Introduction to Java Programming with Microsoft Visual J++ 6 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 the 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 a 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 helps students reinforce the key concepts they have learned in the chapter. Chapter Review helps students to track their progress and evaluate their 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 my Introduction to Java Programming. The major changes are as follows:

Beginning with Chapter 8, "Getting Started with Graphics Programming," all the AWT user interface components are replaced with state-of-the-art Swing components. Visual J++ is introduced throughout the book rather than being clustered in one or two chapters. This incremental approach makes learning J++ easy, because the new features of J++ are covered in relation to the topics in each chapter Chapter 12, "Internationalization," is brand-new. It was added to introduce the development of Java programs for international audiences. Appendix G, "Rapid Java Application Development Using Visual J++," is also new. It was added to demonstrate the use of J++ in rapid Java application development. Several new case studies are provided to give more examples for learning the fundamentals of programming, such as writing loops. Nonessential sections are marked optional and can be skipped without affecting later chapters. These sections include 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 and 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, it is used not only for Web programming, but also for developing 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, downloading 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 can only enable multithreading by calling procedures that are specific to the operating system.

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 to 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 gave Java its unqualified endorsement. IBM, Sun, and 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 run on fullfeatured computers, and also on consumer electronics and appliances.

Because of its great potential to unite existing legacy applications written on different platforms to run together, Java has been perceived 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

Applying the concept of abstraction in the design and implementation of software projects is the key to developing software. The overriding objective of this book, therefore, is to teach students to use many levels of abstraction in solving problems and to see problems in small and in large.

This book was inspired by my students, because they taught me how to teach programming. My students told me that they wanted a book that used easy-to-follow examples to teach programming concepts. In the summer of 1996, I was looking for a Java text. I found many reference books and several books converted from C and C++ texts on the market, but I could not find the kind of book I was looking for. As a result, the idea was born to write a book that would use good examples to teach basic Java concepts.

In the pages that follow, I cover 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 may take 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, they will find that Java is simpler than C++ and Smalltalk in many respects. Learning Java with Visual J++

Java programs can be developed with JDK, which consists of a set of separate programs, such as compiler and interpreter, that are invoked from a command line. Besides JDK, there are more than a dozen Java development tools on the market today, such as JBuilder, Visual J++, and Visual Cafe. These tools support an integrated 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 can greatly increase 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 Visual J++. With a tool like Visual J++, students can not only develop Java programs more productively, but also learn Java programming more effectively.

Microsoft Visual J++ 6 is an integrated Windows-based development tool for Java programming. Visual J++ 6 allows you to create, modify, build, run, debug, and package an application, all within a single environment. Visual J++ 6 significantly improved the earlier versions of J++ 1.1 and J++ 1.0 with many special features, such as IntelliSense, Windows Foundation classes, and Form Designer. IntelliSense is a collection of programming technologies, such as the Statement Completion feature, which helps you to write code. The Statement Completion feature guides your coding by displaying member lists and parameter information as you type.

Visual J++ is easy to learn and easy to use. For convenience and compatibility, Microsoft now uses the same IDE, referred to as Microsoft Developer Studio (MDS), for the latest versions of Visual J++, Visual C++, Fortran PowerStation, and Visual Basic. This IDE is very similar to the MS Office suites and certain other Microsoft .products. If you have used one MS product, it is easy to learn Visual J++.

Visual J++ is an indispensable, powerful tool that will boost your programming productivity. It may take a while to become familiar with it, but your investment in time will pay off in the long run. This text takes an incremental approach to facilitate learning Visual J++. It is introduced throughout the book to help you gradually adept to programming using Visual J++.

The book is based on Java 2, and Swing components are used to build the graphics examples. Visual J++ 6 does not support Java 2, but you can use Swing components in Visual J++ by adding the Swing JAR file in the class path. Adding the Swing JAR file into the class path is discussed in Appendix F, "Using the Companion CD-ROM and Installing the Swing Library."

If you want to learn Java with JBuilder, please refer to my Introduction to Java Programming with JBuilder 3, published by Prentice-Hall. The pros and cons of learning Java with Visual J++ or JBuilder 3 are as follows:

Visual J++ 6 runs significantly faster than JBuilder 3, because Visual J++ 6 is primarily a Windows-specific application. Visual J++ is more stable than JBuilder 3. Visual J++ 6 requires only 24 MB of memory on a Pentium 90 MHz processor, but you need at least 64 MB on a Pentium 133 MHz processor to run JBuilder 3. JBuilder 3 is a pure Java solution. It fully supports Java 2, whereas Visual J++ only supports JDK 1.1. Visual J++ 6 contains WFC (Windows Foundation Classed for Java). These classes are windows-specific and run only on Windows. For compatibility, this book does not use any WFC classes.

Visual J++ 6 is perfectly suitable for beginners to learn Java. If you have used Visual Basic or Visual C++, you will spend less time on learning Visual J++ and be able to give more attention to learning the Java language. Organization of the 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, culminating with the development of comprehensive Java applications. The appendixes contain a mixed bag of topics, including an HTML tutorial. Part I: Fundamentals of Java Programming

The first part of the book is a stepping stone that will prepare you to embark on the journey of learning Java. You will begin to know Java, and will learn how to write simple Java programs with primitive...

From the Back Cover:

  • Comprehensive coverage providing principles of programming including control structures, methods, object-oriented programming, and the core features of Java
  • Hands-on representative examples give detailed step-by-step instruction for building a project including the source code, a sample run, and an example review
  • Brief overviews, objective lists, and easy-to-follow style of examples provide the reader with the elements to get the most out of the material
  • All AWT user interface components used in the previous editions are replaced with the state-of-the-art Swing components
  • Companion Website available to supplement book

"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

Stock Image


Y Daniel Liang, Y. Daniel Liang
Published by Prentice Hall (2000)
ISBN 10: 0130869120 ISBN 13: 9780130869128
New Paperback Quantity Available: 1

Book Description Prentice Hall, 2000. Paperback. Condition: New. Seller Inventory # DADAX0130869120

More information about this seller | Contact this seller

Buy New
US$ 30.21
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds