Enterprise Java Developer's Guide

Enterprise Java Developer's Guide

by S. Naru Narayanan, Juhne Liu

Paperback

$49.99

Product Details

ISBN-13: 9780071346733
Publisher: McGraw-Hill Companies, The
Publication date: 03/01/1999
Series: Developer's Guides
Pages: 500
Product dimensions: 7.44(w) x 9.23(h) x 1.45(d)

Table of Contents

Dedication xix(2)
Acknowledgments xxi(2)
Introduction xxiii
PART 1 JAVABEANS COMPONENT TECHNOLOGY OVERVIEW 1(76)
Chapter 1 The Need for Component Technology
3(22)
Introduction
4(1)
The Road to Components
5(1)
What is a Component?
6(3)
The Component Programming Model
9(3)
Connection-Oriented Programming Model
9(3)
Component Framework
12(2)
The Big Three
13(1)
Component Object Model
14(8)
Compound Document and COM
14(2)
The COM Object
16(2)
Object Reuse
18(2)
The Name Service
20(1)
Component Manager
20(1)
Distributed COM
21(1)
CORBA
22(1)
JavaBean
23(1)
Summary
24(1)
Chapter 2 JavaBeans Architecture
25(10)
Introduction
26(1)
Basic JavaBean Concepts
26(7)
Persistence
26(2)
Properties
28(2)
Events
30(1)
Customization
31(1)
Packaging
32(1)
Can All Java Classes be JavaBeans?
33(1)
New Features in JavaBean Component Model
34(1)
Summary
34(1)
Chapter 3 JavaBeans Framework
35(20)
Introduction
36(1)
Java Virtual Machine (JVM)
37(1)
Java Dynamic Management Kit
38(2)
Java Embedded Server
40(2)
ServiceSpace Framework
40(1)
JES Core Services
41(1)
Jini
42(5)
What is Jini?
42(1)
Infrastructure
43(1)
Programming Model
44(2)
Services
46(1)
InfoBus
47(3)
InfoBus Overview
48(1)
Infobus Data Items
49(1)
JavaBeans Activation Framework
50(2)
JAF Architecture
50(1)
JAF-Aware Beans
51(1)
Relationships Among the Frameworks
52(1)
Summary
53(2)
Chapter 4 Enterprise JavaBeans
55(22)
Introduction
56(1)
The Evolution of Internet Applications
56(6)
The Beginning--Client/Server
56(1)
Three-tier Application
57(1)
Transaction Processing Monitor
58(1)
Middleware
59(1)
Application Server
59(1)
Enterprise JavaBeans
60(2)
Enterprise JavaBeans Fundamentals
62(6)
How EJB Works
63(3)
Home Interface
66(1)
The Container
67(1)
Development and Deployment Workflow
68(2)
Enterprise Bean Provider and Application Assembler
68(1)
Deployer and System Administrator
69(1)
Container Provider and Application Server Provider
69(1)
Session Bean
70(1)
Introduction
70(1)
Passivation and Activation
70(1)
The Contract Between the Session Bean and the Container
71(1)
Entity Bean
71(5)
Introduction
71(1)
Home Interface
72(1)
Life Cycle
73(1)
Persistence
74(1)
The Contract Between the Entity Bean and the Container
75(1)
Summary
76(1)
PART 2 DEVELOPING JAVABEANS 77(246)
Chapter 5 Using Java Studio
79(18)
Introduction
80(1)
Installing Java Studio
80(1)
Using Java Studio
81(4)
Design Considerations
81(4)
Integrating JavaBean Components into Java Studio
85(5)
Creating Design Time Information
90(4)
Compile VJBooleanButtonVJComponentInfo.java.
94(1)
Importing and Using the Simple Boolean Switch Component
95(1)
Summary
96(1)
Chapter 6 Java and Electronic Mail
97(34)
JavaMail Architecture
98(1)
Major JavaMail API Components
99(1)
The Message Class
99(1)
Storage and Retrieval of Messages
100(1)
Message Composition and Transport
100(1)
Session Class
100(1)
JavaMail Event Model
100(1)
Sending an Email
100(6)
Sending a Simple Message
101(3)
Sending a Multi-part Message
104(2)
Building an Email Bean for Sending Text-Based Email Messages
106(7)
Receiving an Email
113(7)
Building an Email Bean for Reading Text-Based Email Messages
120(10)
Summary
130(1)
Chapter 7 Java Database Connectivity
131(32)
Introduction to the Java Database Connectivity
132(2)
JDBC and Open DataBase Connectivity
132(1)
The JDBC Framework
133(1)
JDBC Driver Types
134(1)
Installing Personal Oracle
134(2)
Creating a Table
136(6)
Entering Data Into a Table
142(3)
Getting Data From a Table
145(4)
Performing a Meta-Data Query
149(4)
Developing a JDBC Bean
153(8)
Summary
161(2)
Chapter 8 Lightweight Directory Access Protocol
163(34)
Introduction to LDAP
164(4)
What is LDAP?
164(1)
The Need for LDAP Model
164(1)
How Information is Organized in LDAP
165(1)
Entry and Object Classes
166(1)
The LDAP Architecture
167(1)
Objects LDAP Describes
167(1)
Introduction to LDAP API
168(1)
Introduction to Netscape LDAP Java API
168(1)
Overview of Netscape LDAP Classes
168(1)
Searching Netscape LDAP Server
169(10)
Extracting the Search Results
171(2)
Putting it All Together for Search
173(2)
Update Netscape LDAP Server
175(1)
Dealing With Referrals
176(1)
Put it All Together for Update
177(2)
Netscape LDAP Server
179(2)
Developing LDAP Bean
181(14)
LDAPUtility
181(5)
LDAPBean
186(9)
Summary
195(2)
Chapter 9 Java Naming and Directory Interface
197(30)
Introduction to JNDI
198(3)
JNDI and Naming Service
199(1)
Advantages and Disadvantages of JNDI
200(1)
JNDI API
201(10)
Initial Context
202(1)
Searching the LDAP Server
203(2)
Put it Together for Search
205(2)
Updating LDAP Server
207(1)
Put it Together for Update
208(3)
JNDI Bean for LDAP
211(9)
JNDI & COSNaming
220(5)
JNDI API for COSNaming
221(1)
Put it Together for JNDI & COSNaming
222(3)
Summary
225(2)
Chapter 10 Servlet
227(24)
Servlet Architecture
228(3)
Which Servers Support Servlets?
230(1)
The Servlet Lifecycle
230(1)
Advantages of Servlets
231(1)
Java Web Server
231(1)
Downloading and Installing Java Web Server
231(1)
Running the Java Web Server
232(1)
Developing and Testing a Simple Servlet
232(5)
Coding the Simple Servlet
233(3)
Testing a Simple Servlet
236(1)
Servlet Beans
237(4)
Servlet Bean: an Example
238(2)
Testing HelloWorldBean Servlet
240(1)
Beans in Servlet
241(1)
Beans and Servlet: an Example
242(3)
Beans for Enterprise Applications
245(5)
Bean for Generating HTML Files
245(1)
Code for the Sample HtmlGenerator Bean
246(4)
Summary
250(1)
Chapter 11 Internet Security
251(30)
Security Technology Overview
252(2)
The Need for Security
252(1)
What is Security?
252(2)
Introduction to Cryptographic Algorithms
254(8)
Symmetric Key Algorithms
254(2)
The Drawback of Symmetric Key Algorithms
256(1)
Message Digest
257(1)
Digital Signature
258(2)
Digital Certificates
260(1)
Certificate Chaining
261(1)
Secure Socket Layer
262(5)
Acquiring a Certificate for the Java Web Server
262(2)
Example: Acquiring a Server Certificate from Verisign
264(2)
Enabling SSL on the Java Web Server
266(1)
Internet Security Bean
267(3)
The X.509 Certificate
267(3)
Obtaining the Client Certificate from a Servlet
270(6)
The PrintClientCertChain Servlet
271(3)
Test the Servlet
274(2)
Internet Security Bean
276(3)
Extract the CN From the Certificate
276(3)
Summary
279(2)
Chapter 12 Common Object Request Broker Architecture
281(26)
Problems Solved by CORBA
282(1)
Traditional Client/Server Programming
282(2)
CORBA
284(22)
CORBA Architecture
285(1)
ORB Architecture
286(4)
Object Service Example: Naming Service
290(1)
CORBA Programming Tutorial
291(9)
Run the Programs
300(1)
CORBA Bean Utilizing JDBC
301(5)
Summary
306(1)
Chapter 13 Developing Enterprise JavaBean
307(16)
Introduction
308(1)
Downloading and Installing EJBHome Server
308(1)
Developing the Privilege EJB
309(9)
The Remote Interface
309(1)
The Home Interface
310(1)
Developing the Enterprise Bean Component
311(2)
The Primary Key Class
313(2)
Developing a Client to Test Privilege EJB
315(2)
Testing the Privilege EJB
317(1)
Developing ProjectTracker EJB
318(4)
The Remote Interface
318(1)
The Home Interface
319(1)
The Enterprise Bean Component
319(1)
The Primary Key Class
320(1)
Creating a Client to Test the Privilege EJB
321(1)
Summary
322(1)
PART 3 DEVELOPING APPLICATIONS USING JAVABEANS 323(116)
Chapter 14 Enterprise Internet Applications
325(12)
Introduction
326(1)
Intranet
326(2)
Consumer Electronic Commerce
328(3)
Credit Card Transactions
328(1)
Secure Consumer Electronic Commerce Systems
329(2)
Other Chores
331(1)
Extranet and Business-to-Business Electronic Commerce
331(2)
The Wal-Mart Story
332(1)
Electronic Data Interchange
332(1)
Doing Business on the Internet
333(1)
Why Java?
333(2)
Arguments Against Java
334(1)
Arguments for Java
334(1)
Summary
335(2)
Chapter 15 Email Application
337(22)
Developing an Email Client to Send Email Messages
338(8)
Converting SendEmailBean to VJSendEmail
338(3)
Developing an Info Class for the Component
341(2)
Developing Email Client to Send Text Messages
343(3)
Developing an Email Client to Show Email Messages
346(5)
Converting ShowMessageBean to VJShowEmail
346(5)
Developing an Email Client to Receive Text Messages
351(4)
Adding Print Capability to the Application
355(2)
Summary
357(2)
Chapter 16 Internet Chat Application
359(12)
Design Considerations
360(1)
Logging In
361(4)
ChatServlet
365(3)
Running the Application
368(1)
Summary
369(2)
Chapter 17 E-Commerce Application
371(20)
Groundwork for the Application
372(2)
Developing Servlets for the E-Commerce Application
374(13)
Developing the CorbaServlet
376(8)
Developing the E-Commerce Servlet
384(3)
Running the Application
387(3)
Summary
390(1)
Chapter 18 Project Tracking System
391(22)
Creating Users in a Database
392(7)
Creating Entries Using EJB via Servlets
395(2)
Running the Sample to Create Users
397(2)
Viewing the Project Information
399(12)
Servlet for Viewing Project Information
400(9)
Running the Project Tracking System Application
409(2)
Summary
411(2)
Chapter 19 Employee Tracking System
413(26)
Developing a Servlet for Tracking Employee Information
414(12)
Developing a Servlet Using LDAPBean
414(9)
Running the Employee Tracking System Application
423(2)
Developing a Servlet Using JNDIBean
425(1)
Running the Application
426(1)
Developing a Servlet for Modifying Employee Information
426(11)
Logging In
426(10)
Running the Application
436(1)
Summary
437(2)
PART 4 APPENDIXES 439(26)
Appendix A A Sample on Infobus
441(10)
Introduction
442(1)
Implementing InfoBus
442(7)
Data Producer
442(4)
Data Consumer
446(2)
Testing the Bus
448(1)
Summary
449(2)
Appendix B Useful Tips
451(4)
Introduction
452(1)
String Buffer
452(1)
Utility Class
453(1)
Setting Icons for Java Studio Components
453(1)
Separate Business Logic and Presentation Logic in Servlets
454(1)
Putting all JAR Files Together
454(1)
Appendix C Tools Usage
455(4)
Introduction
456(1)
JAR Utility
456(1)
Using Serialver for Bean Versioning
457(2)
Appendix D Using EJBSamples with HomeBase Server
459(6)
Introduction
460(1)
Installing and setting up HomeBase
460(1)
Using our samples with HomeBase
460(5)
Testing the Privilege EJB
462(1)
Generating Container classes for the ProjectTracker EJB
462(2)
Testing the ProjectTracker EJB
464(1)
Index 465

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Enterprise Java Developer's Guide 2 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
I managed to read through Chapter 4 of this book. It is not well edited. The diagrams were confusing, and contained terms that did not match the adjacent text.