2020ok  Directory of FREE Online Books and FREE eBooks

Free eBooks > Computers & Internet > Programming > Java > General > Essentials of the Java Programming Language: A Hands-On Guide

Essentials of the Java Programming Language: A Hands-On Guide

by Monica Pawlan


Download Book
(Respecting the intellectual property of others is utmost important to us, we make every effort to make sure we only link to legitimate sites, such as those sites owned by authors and publishers. If you have any questions about these links, please contact us.)


link 1



About Book

Amazon.com
With so many APIs and features, the complexity of today's Java 2 standard is certainly a strength of the platform, but this complexity does mean the language can seem a bit daunting to beginners. Instead of aiming to be comprehensive, Monica Pawlan's Essentials of the Java Programming Language gives you what you need to get started with Java in a smart, understandable tour of the most relevant features for serious enterprise development.

Organized into 14 "lessons," this book covers the basics of Java to build a simple applet-based e-commerce example. Besides covering the basics, including simple class design and practical hints for compiling, running, and deploying your first Java programs, this book concentrates on the APIs needed for real-world development. This includes servlets for building HTML on the fly, socket programming, RMI for remote procedure calls, and JDBC for database programming.

Enhanced in several steps, the author's sample code lets the reader see essential Java concepts. By the end of the volume, the sample application can simulate processing orders for a simple fruit store (including credit card numbers). Although it's far from commercially viable, the sample is a good choice for showing off the fundamentals of Java. Besides hitting the basics, the book covers such topics as basic file I/O and internationalization issues. (An appendix even introduces cryptography done the Java way.)

Of course, readers will want to explore the topics introduced in Essentials of the Java Programming Language in more detail elsewhere. But there's little doubt this slim, well-presented, and digestible book can put the basics of today's hottest language into the hands of anyone who has a little programming experience. --Richard Dragan

Topics covered: Introductory Java tutorial, installation and compilation hints, Java classes, fields and methods; applets, basic Swing components and user interfaces, event handling, introduction to servlets and JavaServer Pages (JSPs), HTML forms, Java collections, Java file I/O, exception handling, security, permissions and policy files; JDBC and database basics, accessing data in servlets, Remote Method Invocation (RMI) clients and servers, Java socket classes, internationalization, packages, JAR files and deployment, introduction to object-oriented programming, and cryptography basics.

Book Description

Thousands of programmers want to learn Java fast, hands-on -- with as little complexity and theory as possible. For them, Essentials of the Javaâ„¢ Programming Language is the perfect starting point. Based on Monica Pawlan's wildly-popular web tutorial, this accessible, "learn-by-doing" guide covers all the fundamentals by walking through a simple program that gradually grows into a full-fledged eCommerce application which illustrates Java 2's most important programming techniques and concepts. In the first half of the book, developers master key essentials such as: building basic user interfaces; reading and writing data to files and databases; sending and receiving data across networks via RMI and sockets; compiling and running programs; and the differences between applications, applets, servlets, and JavaServer Pages. Next, Pawlan introduces more advanced concepts. In just 300 pages, developers get a complete, accurate, real-world grounding in Java -- all they need to get results fast, and shorten their learning curve as they move into more sophisticated Java development. For every programmer seeking to learn Java quickly and easily.



Book Info
(Addison-Wesley) Employs a learn-by-doing approach to introduce the user to the basics of Java. The user will learn the difference between applets, applications, and servlets/JavaServer Pages, building a user interface that accepts user input, reading and writing data to files and databases, network communications, and much more. Softcover. DLC: Java (Computer program language).

From the Inside Flap

If you are new to programming in the Java™ language and have some experience with other languages, this tutorial could be for you. It walks you through how to use the Java 2 Platform software to develop a basic network application that uses common Java 2 platform features. This tutorial is not comprehensive, but instead it takes you on a straight and uncomplicated path through the more common features available in the Java platform. This tutorial is a learning tool and should be viewed as a stepping-stone for persons who find the currently available materials a little too overwhelming to start with.

To reduce your learning curve, this tutorial begins with a simple program in Lesson 1, develops the program by adding new features in every lesson, and leaves you with a general electronic commerce application and a basic understanding of object-oriented programming concepts in Lesson 15. Unlike other, more reference-style texts that give you a lot of definitions and concepts at the beginning, this tutorial takes a practical approach. New features and concepts are described when they are added to the example application, and the end of each lesson points to texts where you can get more information.

Please note the final application is for instructional purposes only and would need more work to make it production worthy. By the time you finish this tutorial, you should have enough knowledge to go on comfortably to other Java programming language learning materials currently on the market and continue your studies.

If you have no programming experience at all, you might still find this tutorial helpful; but you also might want to take an introductory programming course before you proceed.

Lessons 1 through 8 explain how applications, applets, and servlets/JavaServer Pages™ are similar and different, how to build a basic user interface that handles simple user input, how to read data from and write data to files and databases, and how to send and receive data over the network.

Lessons 9 through 15 are somewhat more complex and build on the material presented in the first eight lessons. These lessons walk you through socket communications, building a user interface using more components, grouping multiple data elements as one unit (collections), saving data between program invocations (serialization), and internationalizing a program. Lesson 15 concludes the series with basic object-oriented programming concepts.

This tutorial covers object-oriented concepts at the end, after you have had practical experience with the language so you can relate the object-oriented concepts to your experiences. This should make learning the concepts a little easier. Remember, this tutorial is a learning tool, and the intention is that you gain enough experience and information here to go on comfortably to other more comprehensive and in-depth texts to continue your studies.

Appendix A provides a version of the enterprise example that uses encryption and decryption technology to pass a credit card number over the network. This material is in an appendix because the encryption and decryption software is currently available only in the United States and Canada.

Appendix B presents the complete and final code for this tutorial.

Note: JavaBeans™ technology, which lets you create portable program components that follow simple naming and design conventions, is not covered here. While creating a simple JavaBean component is easy, understanding JavaBeans features requires knowledge of such things as properties, serialization, events, and inheritance. When you finish these lessons, you should have the knowledge you need to go on to a good text on JavaBeans technology and continue your studies. 0201707209P04062001

From the Back Cover

If you are interested in learning the Javaâ„¢ programming language but hesitate to dive into overly dense, theoretical resources, Essentials of the Javaâ„¢ Programming Language is the perfect starting point. This accessible, hands-on tutorial employs a "learn-by-doing" approach to introduce you to the basics. It starts with a simple program, then develops it bit by bit, adding new features and explaining important concepts with each subsequent lesson. This simple program grows into a general electronic commerce application that illustrates many of the Java 2 platform's most important elements.

You will learn such Java programming language essentials as:

  • The difference between applications, applets, and servlets/JavaServer Pagesâ„¢
  • Building a user interface that accepts user input
  • Reading and writing data to files and databases
  • Network communications, including RMI and sockets
  • Collections
  • Serialization
  • Packages and JAR file format
  • Internationalization
  • Security fundamentals, including cryptographic software

Essentials of the Javaâ„¢ Programming Language ends with an explanation of object-oriented programming concepts, made far more understandable and relevant as a result of the hands-on experience acquired throughout the book. After working through this book, you will have the foundation necessary to comfortably progress to more advanced learning materials for the Java programming language and utilize the subtleties and more sophisticated capabilities of the language.



0201707209B04062001

About the Author

Monica Pawlan is a staff writer for the Java Developer Connection (JDC), and was a contributing author for The Java™ Tutorial. She has a background in 2D and 3D graphics, security, and database products, and loves to study and write about emerging technologies. When not writing, she spends her spare time gardening, studying classical piano, and dreaming of far away places—some of which she occasionally visits.



0201707209AB03292002

Excerpted from Essentials of the Java(TM) Programming Language: A Hands-On Guide by Monica Pawlan. Copyright © 2000. Reprinted by permission. All rights reserved
If you are new to programming in the Java(tm) language and have some experience with other languages, this tutorial could be for you. It walks you through how to use the Java 2 Platform software to develop a basic network application that uses common Java 2 platform features. This tutorial is not comprehensive, but instead it takes you on a straight and uncomplicated path through the more common features available in the Java platform. This tutorial is a learning tool and should be viewed as a stepping-stone for persons who find the currently available materials a little too overwhelming to start with. To reduce your learning curve, this tutorial begins with a simple program in Lesson 1, develops the program by adding new features in every lesson, and leaves you with a general electronic commerce application and a basic understanding of object-oriented programming concepts in Lesson 15. Unlike other, more reference-style texts that give you a lot of definitions and concepts at the beginning, this tutorial takes a practical approach. New features and concepts are described when they are added to the example application, and the end of each lesson points to texts where you can get more information. Please note the final application is for instructional purposes only and would need more work to make it production worthy. By the time you finish this tutorial, you should have enough knowledge to go on comfortably to other Java programming language learning materials currently on the market and continue your studies. If you have no programming experience at all, you might still find this tutorial helpful; but you also might want to take an introductory programming course before you proceed. Lessons 1 through 8 explain how applications, applets, and servlets/JavaServer Pages(tm) are similar and different, how to build a basic user interface that handles simple user input, how to read data from and write data to files and databases, and how to send and receive data over the network. Lessons 9 through 15 are somewhat more complex and build on the material presented in the first eight lessons. These lessons walk you through socket communications, building a user interface using more components, grouping multiple data elements as one unit (collections), saving data between program invocations (serialization), and internationalizing a program. Lesson 15 concludes the series with basic object-oriented programming concepts. This tutorial covers object-oriented concepts at the end, after you have had practical experience with the language so you can relate the object-oriented concepts to your experiences. This should make learning the concepts a little easier. Remember, this tutorial is a learning tool, and the intention is that you gain enough experience and information here to go on comfortably to other more comprehensive and in-depth texts to continue your studies. Appendix A provides a version of the enterprise example that uses encryption and decryption technology to pass a credit card number over the network. This material is in an appendix because the encryption and decryption software is currently available only in the United States and Canada. Appendix B presents the complete and final code for this tutorial. Note: JavaBeans(tm) technology, which lets you create portable program components that follow simple naming and design conventions, is not covered here. While creating a simple JavaBean component is easy, understanding JavaBeans features requires knowledge of such things as properties, serialization, events, and inheritance. When you finish these lessons, you should have the knowledge you need to go on to a good text on JavaBeans technology and continue your studies.

Comments

SEND A COMMENT

PLEASE READ: All comments must be approved before appearing in the thread; time and space constraints prevent all comments from appearing. We will only approve comments that are directly related to the article, use appropriate language and are not attacking the comments of others.

Message (please, no HTML tags. Web addresses will be hyperlinked):

Related Free eBooks

Related Tags

DIGG This story   Save To Google   Save To Windows Live   Save To Del.icio.us   diigo it   Save To blinklist
Save To Furl   Save To Yahoo! My Web 2.0   Save To Blogmarks   Save To Shadows   Save To stumbleupon   Save To Reddit