Flylib.com

Books Software

 
 
 

Source Code for This Book


Source Code for This Book

The associated code files described in this book are available on the Sams Web site at http://www.samspublishing.com. Enter this book s ISBN (0789727129) in the Search box and click Search. When the book s title is displayed, click the title to go to a page where you can download the code.


Part I: J2EE Application Development Essentials

In This Part

 

1 Understanding the Java 2 Platform, Enterprise Edition

 

2 J2EE Software Development Methodologies

 

3 A Developer's Guide to the Unified Modeling Language (UML)

 

4 Best Practices for Java Development

 

5 The J2EE Architecture and APIs

 

6 Transitioning from Software Design to J2EE Technology Components and Services

 

7 An Introduction to Web Services


Chapter 1. Understanding the Java 2 Platform, Enterprise Edition

In This Chapter

  • Overview

  • Java Technology Today

  • The Challenges of Today's eSystems

  • The Java 2 Platform, Enterprise Edition

  • J2EE Application Development Roles

  • J2EE Application Deployment Roles


Overview

One of the challenges that people encounter when being introduced to something new is deciphering exactly what they are learning, and what the constituents of that subject are. Only once they have a good basic comprehension of these questions can they really begin the learning process.

The Java 2 Platform, Enterprise Edition (J2EE) is no exception to this rule. There have been many cases where people have strayed away from using this platform for developing business applications, purely on the basis they could not understand it or it was presented as a very complex specification. Therefore it appeared to present a high degree of risk in its adoption for any development effort.

The objective of this chapter is to cut through the complexities of the J2EE specification, presenting it in a very intuitive manner. Subsequent chapters in Part I of this book will methodically build your knowledge of the J2EE platform.


Java Technology Today

Today, Java is more than just a programming language; it has become a technology and a platform for developing applications for the Internet and enterprise information systems, as well as electronic consumer devices.

In order to promote the use of the Java 2 Platform across a wide spectrum of application scenarios and environments, Sun provides three editions of the Java 2 technology:

  • Micro Edition (J2ME technology) enables a wide range of consumer devices (such as PDAs, pagers , and cell phones) to leverage the Java technology without a large resource requirement.

  • Standard Edition (J2SE technology) is a suite of foundation Java classes for developing and deploying client-server software solutions.

  • Enterprise Edition (J2EE technology) extends the Java 2 Platform, Standard Edition to support the development and deployment of modular and reusable server-side business logic through the use of the Servlets API, JavaServer Pages (JSP), Enterprise JavaBeans (EJB), and XML.

Java technologies support hardware and OS independence by enabling system services to be accessed directly through the Java 2 Platform APIs within the context of a standards-based Java Virtual Machine (JVM), as opposed to the complex APIs of an underlying device (PDAs and cellular phones) or operating system (Solaris, Linux, Macintosh, and Windows).

There is a theory that " consistency builds competency ." The Java 2 platform promotes a consistent and proven mechanism for constructing applications independent of the deployment environment. This "Write Once and Deploy Anywhere" approach permits developers to focus on developing skills and best practices related to the construction of business applications using one programming language, Java, regardless of the operating system or hardware the application will be hosted on. Organizations that take a consistent approach to developing applications can gain a huge return on investment from their technical staff just by ensuring their developers have focus in developing and practicing their technical skills.

Note

"Write Once, Run Anywhere" is a promise that is exclusive to the Java language. As long as a device or an operating system can support a Java Virtual Machine (JVM), which interprets the Java compiled code known as Java bytecode to computer machine or device instructions, Java software will run on it.


Today the evolution of the Java 2 Platform has moved away from Sun and is fostered by the Java Community Process (JCP), an international organization of Java developers and stakeholders of the Java technology. The objectives of the JCP Executive Committees are to ensure that the revisions to the Java technology specifications, reference implementations , and compatibility test kits meet the vision of the world-wide Java community in a standard and disciplined manner.

Note

You can find more information on the Java Community Process and how you can participate in the evolution the Java 2 Platform by visiting www.jcp.org.