Items related to Introduction to Java Programming With Jbuilder 3

Introduction to Java Programming With Jbuilder 3 - Softcover

 
9780130869111: Introduction to Java Programming With Jbuilder 3

Synopsis

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.

About the Author

Y. DANIEL LIANG holds B.S. and M.S. degrees in Computer Science from Fudan University in Shanghai and a Ph.D. degree in Computer Science from the University of Oklahoma. He has published four Java books, as well as numerous papers in international journals. He has taught Java courses internationally, as well as consulted in the areas of algorithm design, client/server computing, and database management. Dr. Liang is currently an Associate Professor in the Department of Computer Science at Indiana University-Purdue University at Fort Wayne, where he twice received the Excellence in Research Award from the School of Engineering, Technology, and Computer Science.

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

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 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," introduces decision and repetition statements. Java decision statements include various forms of if statements, the switch statement, and the shortcut if statement. Repetition statements include the for loop, the while loop, and the do loop. The keywords break and continue are discussed. You will learn how to manage Java projects in JBuilder.

Chapter 4, "Methods," introduces method creation, calling methods, passing parameters, returning values, method overloading, and recursion. Applying the concept of abstraction is the key to developing software. The concept of method abstraction in problem-solving is also introduced. Various JBuilder commands in the Search, View, Build, and Run menus are discussed. Part II: Object-Oriented Programming

In the book's second part, object-oriented programming is introduced. Java is a class-centric, object-oriented programming language that uses abstraction, encapsulation, inheritance, and polymorphism to provide great flexibility, modularity, and reusability for developing software. You will learn programming with objects and classes, arrays and strings, and class inheritance.

Chapter 5, "Programming with Objects and Classes," begins with objects and classes. The important topics include defining classes, creating objects, using constructors, passing objects to methods, instance, and class variables, and instance and class methods. Many examples are provided to demonstrate the power of the object-oriented programming approach. Students will learn the benefits (abstraction, encapsulation, and modularity) of object-oriented programming from these examples. There are more than 500 predefined Java classes grouped in several packages. Starting with this chapter, students will gradually learn how to use Java classes to develop their own programs. The math class for performing basic math operations is introduced. You will learn how to use the wizards in the JBuilder Object Gallery to generate program templates.

Chapter 6, "Arrays and Strings," explores two important structures: arrays for processing data in lists and tables, and strings using the String, StringBuffer, and StringTokenizer classes. Java treats arrays as objects. Unlike the many high-level languages that treat strings as a special kind of array, it does not relate strings to arrays. Java uses strings and arrays quite differently. You will also learn how to use JBuilder to debug programs.

Chapter 7, "Class Inheritance," teaches how to extend an existing class and modify it as needed. Inheritance is an extremely powerful programming technique that further extends software reusability. Java programs are all built by extending predefined Java classes. The major topics include defining subclasses, using the keywords super and this, using the modifiers protected, final and abstract, and casting objects and interfaces. This chapter introduces the object class, which is the root of all Java classes. You will learn primitive data type wrapper classes to encapsulate primitive data type values in objects, as well as how to use the Implement Interface Wizard and Override Methods Wizard in JBuilder. Part III: Graphics Programming

In this part Java graphics programming is introduced. Major topics include eventdriven programming, creating graphical user interfaces, and writing applets. You will learn the architecture of Java graphics programming API and use the user interface components to develop graphics applications and applets.

Chapter 8, "Getting Started with Graphics Programming," introduces the concepts of Java graphics programming using the Swing components. Topics include the graphics class hierarchy, event-driven programming, frames, panels, and simple layout managers (FlowLayout, GridLayout, and BorderLayout). This chapter also introduces drawing geometric figures in the graphics context. You will learn how to use the JBuilder Application Wizard to create Java applications.

Chapter 9, "Creating User Interfaces," introduces the user interface components: buttons, labels, text fields, text areas, combo boxes, check boxes, radio buttons, message dialogs, menus, scrollbars, scroll panes, and tabbed panes. Today's client/server and Web-based applications use a graphical user interface (GUI, pronounced "goo-ee"). Java has a rich set of classes to help you build GUIs.

Chapter 10, "Applets and Advanced Graphics," takes an in-depth look at applets, and discusses applet behaviors and the relationship of applets to other AWT and Swing classes. Applets are a special kind of Java class that can be executed from the Web browser. Students will learn how to convert applications to applets, and vice versa, and how to run programs both as applications and as applets. This chapter also introduces two advanced layout mangers (CardLayout and GridBagLayout) and the use of no layout. Advanced examples on handling mouse and keyboard events are also provided. You will learn to create applets using the JBuilder Applet Wizard, and learn to use the Deployment Wizard to create archive files for deploying Java applications and applets. Pert IV: Developing Comprehensive Projects

This part is devoted to several advanced features of Java programming. You will learn how to use these features to develop comprehensive programs; for example, using exception handling to make your program robust, using internationalization to create Java projects for international audiences, using multithreading to make your program more responsive and interactive, incorporating sound and images to make your program user friendly, using input and output to manage and process a large quantity of data, and creating client/server applications with Java networking support.

Chapter 11, "Exception Handling," teaches students how to define exceptions, throw exceptions, and handle exceptions so that programs can continue to run or terminate gracefully in the event of runtime errors. The chapter discusses predefined exception classes, and gives examples of creating user-defined exception classes.

Chapter 12, "Internationalization," introduces the development of Java programs for international audiences. You will learn how to format date, numbers, currencies, and percentages for different regions, countries, and languages. You will also learn how to use resource bundles to define which images and strings are used by a component depending on the locale and preferences of the user.

Chapter 13, "Multithreading," introduces threads, which enable the running of multiple tasks simultaneously in one program. Students will learn how to use the Thread class and the Runnable interface to launch separate threads. The chapter also discusses thread states, thread priority, thread groups, and the synchronization of conflicting threads.

Chapter 14, "Multimedia," teaches how to incorporate sound and images to bring live animation to Java programs. Various techniques for smoothing animation are introduced.

Chapter 15, "Input and Output," introduces input and output streams. Students will learn the class structures of I/O streams, byte and character streams, file I/O streams, data I/O streams, print streams, delimited I/O, random file access, and interactive I/O.

Chapter 16, "Networking," introduces network programming. Students will learn the concept of network communication, stream sockets, client/server programming, and reading data files from the Web server. Appendixes

This part covers a mixed bag of topics. Appendix A lists Java keywords. Appendix B gives tables of ASCII characters and their associated codes in decimal and in hex. Appendix C shows the operator precedence. Appendix D summarizes Java modifiers and their usage. Appendix E introduces HTML basics. Appendix F provides information for using the companion CD-ROM. Appendix G introduces rapid Java application development using JBuilder. Finally, Appendix H provides a glossary of key terms found in the text. What's on the Companion CD-ROM?

The companion CD-ROM contains JBuilder 3 University Edition, and the source code for all the examples in the text. Please refer to Appendix F, "Using the Companion CDROM," for instructions on installing JBuilder 3 and using the example source code.

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

  • PublisherPrentice Hall
  • Publication date2000
  • ISBN 10 0130869112
  • ISBN 13 9780130869111
  • BindingPaperback
  • LanguageEnglish
  • Edition number1
  • Number of pages700

Buy Used

Condition: Good
Connecting readers with great books...
View this item

US$ 3.75 shipping within U.S.A.

Destination, rates & speeds

Other Popular Editions of the Same Title

Search results for Introduction to Java Programming With Jbuilder 3

Stock Image

Liang, Y. Daniel
Published by Prentice Hall, 2000
ISBN 10: 0130869112 ISBN 13: 9780130869111
Used Paperback

Seller: HPB-Red, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Seller Inventory # S_290725720

Contact seller

Buy Used

US$ 5.00
Convert currency
Shipping: US$ 3.75
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Y. Daniel Liang
ISBN 10: 0130869112 ISBN 13: 9780130869111
Used paperback

Seller: The Book Cellar, LLC, Nashua, NH, U.S.A.

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

paperback. Condition: Very Good. Great used condition. Includes CD-ROM. A portion of your purchase of this book will be donated to non-profit organizations.Over 1,000,000 satisfied customers since 1997! Choose expedited shipping (if available) for much faster delivery. Delivery confirmation on all US orders. Seller Inventory # 10859942

Contact seller

Buy Used

US$ 8.99
Convert currency
Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Y. Daniel Liang
Published by Prentice-Hall, 2000
ISBN 10: 0130869112 ISBN 13: 9780130869111
New Softcover

Seller: Books Puddle, New York, NY, U.S.A.

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

Condition: New. pp. xxvi + 771. Seller Inventory # 26271036

Contact seller

Buy New

US$ 91.93
Convert currency
Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Liang Y. Daniel
Published by Prentice-Hall, 2000
ISBN 10: 0130869112 ISBN 13: 9780130869111
New Softcover

Seller: Majestic Books, Hounslow, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. pp. xxvi + 771 Illus. Seller Inventory # 7576931

Contact seller

Buy New

US$ 88.94
Convert currency
Shipping: US$ 8.79
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Liang Y. Daniel
Published by Prentice-Hall, 2000
ISBN 10: 0130869112 ISBN 13: 9780130869111
New Softcover

Seller: Biblios, Frankfurt am main, HESSE, Germany

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. pp. xxvi + 771. Seller Inventory # 18271030

Contact seller

Buy New

US$ 100.38
Convert currency
Shipping: US$ 11.33
From Germany to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Liang, Y. Daniel
Published by Prentice Hall, 2000
ISBN 10: 0130869112 ISBN 13: 9780130869111
Used Paperback

Seller: dsmbooks, Liverpool, United Kingdom

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

Paperback. Condition: Like New. Like New. book. Seller Inventory # D7F5-8-M-0130869112-6

Contact seller

Buy Used

US$ 113.49
Convert currency
Shipping: US$ 33.82
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket