The Essentials of the JavaTM Programming Language: A Hands-On Guide is an accessible hands-on tutorial that uses a learn-by-doing approach to introduce you to the JavaTM 2 platform. It starts with a simple program, and adds new features and explains important concepts as you progress through the lessons.
The book concludes
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 the lessons, you will have the
foundation necessary to comfortably go on to more
advanced learning materials to utilize the subtleties
and more sophisticated capabilities of the language.
The book covers the following topics:
- The difference between applications, applets, and
servlets/JavaServer PagesTM
- 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 fundementals, including cryptographic software
More and more companies, large and small, are doing business around the world
using many different languages. Effective communication is always good
business, so it follows that adapting an application to a local language adds
to profitability through better communication and increased satisfaction.
The Java
2 platform provides internationalization features that let you separate
culturally dependent data from the application (internationalization) and adapt
it to as many cultures as needed (localization).
This lesson takes the two client programs from Lesson 11: Developing the
Example, internationalizes them and localizes the text for France, Germany, and
the United States.
Covered in This Lesson
- Identify Culturally
Dependent Data
- Create Keyword and Value
Pair File
- Internationalize
Application Text
- Internationalize
Numbers
- Compile and Run the
Application
- Exercises
- More Information
- Code for This
Lesson
Introduction | Chapter 12 | PDF version
About the Author
Monica Pawlan, a staff writer for Sun Microsystems' Java
Developer ConnectionSM (JDC), is also a contributor to
"The JavaTM Tutorial Continued" (Addison-Wesley, 1999).
Monica has a background in 2D and 3D graphics, security, and
database products. She enjoys writing for developers and
exploring the latest features of the Java programing language.
You can order this book from the following online book stores:
Fatbrain.com
Amazon.com
Barnes and Noble
Borders.com
Reader Feedback
Tell us what you think of this book excerpt.