| Previous | Table of Contents | Next |
Certainly, four and fivetier applications are possible. Often these applications are grouped under the heading of ntier applications because they combine numerous computers into a potentially deep and complex relationship. Figure 1.3 demonstrates a couple of ntier application designs.
Although these examples provide only the basic design for an enterprise application, they represent an important step in enterprise development. Before you can create an enterprise application, it is important to decide what technologies will be used and to determine the computers that will run them.
Enterprise applications often require some form of security management. The Java security model is undergoing some major changes from JDK 1.1 to Java 2. The new model is beyond the scope of this book, but it does define the standard concepts that we will rely on. First, security often uses the concepts of a username and password to identify people. The Java enterprise technologies use these concepts as well. Users can sometimes be organized into groups or roles. A role might represent the idea of a manager. All managers, regardless of their usernames, might have the same permissions. For example, perhaps all managers could submit a hiring request, while employees cannot.
Figure 1.1 Twotier applications.
Figure 1.2 Threetier applications.
Figure 1.3 Ntier applications.
Java also relies on the concept of permissions. Permissions indicate what operations a user or role can perform. So, in our example, employees do not have permission to make hiring requests, while managers do. The configuration for these permissions is organized into an Access Control List (ACL). In our examples, we will sometimes use ACLs to control who can use a particular resource, such as an Enterprise JavaBean.
The remaining security concepts such as encryption and digital signatures are not used in this book, although they are supported in JDK 1.1 and Java 2. Please refer to the Sun Web site for more information on the latest security model.
This book discusses a number of Java technologies:
Creating an enterprise application involves combining these technologies to create a complete solution to your business problems.
Lets get something clear. This isnt a book on designing applications. There are hundreds of books on that topic, and we couldnt do the topic justice in this small space. However, it is worthwhile to look at the basic steps used to create an application and see how they apply to Java Enterprise development.
The first step for any project is to define the project and its goal. For an enterprise project, this may involve defining functionality across multiple computers or domains. Dont tie yourself to a particular platform at this point. Instead, focus on what the entire application needs to do, then separate the functionality in later steps.
| Previous | Table of Contents | Next |