WebSphere Studio Application Developer 5.0: Practical J2EE Development / Edition 1 by Igor Livshin | 9781590591208 | Paperback | Barnes & Noble
WebSphere Studio Application Developer 5.0: Practical J2EE Development / Edition 1

WebSphere Studio Application Developer 5.0: Practical J2EE Development / Edition 1

by Igor Livshin
     
 

ISBN-10: 1590591208

ISBN-13: 9781590591208

Pub. Date: 06/15/2003

Publisher: Apress

  • Covers integration of WSAD with WebSphere MQ (MQSeries), which allows the enterprise application to connect to a legacy datacritical information for any enterprise developer and not available elsewhere
  • Teaches development of JMS Point-to-Point and Publish/Subscribe applications
  • Provides in-depth discussion of pattern development,

Overview

  • Covers integration of WSAD with WebSphere MQ (MQSeries), which allows the enterprise application to connect to a legacy datacritical information for any enterprise developer and not available elsewhere
  • Teaches development of JMS Point-to-Point and Publish/Subscribe applications
  • Provides in-depth discussion of pattern development, and includes tips and best practices

WebSphere Studio Application Developer 5.0: Practical J2EE Development covers the latest release of the IBM's J2EE 1.3 development tool, WebSphere Studio Application Developer (WSAD 5.0). The book provides a practical, step-by-step approach on how to use WSAD 5.0 for developing J2EE 1.3 distributed applications. Expert author Igor Livshin walks you through the detailed development process of working examples of J2EE 1.3 applications, including their deployment on the WebSphere Application Server (WAS 5.0).

Product Details

ISBN-13:
9781590591208
Publisher:
Apress
Publication date:
06/15/2003
Edition description:
2003
Pages:
656
Product dimensions:
7.01(w) x 9.25(h) x 0.28(d)

Table of Contents

About the Authorxiii
About the Technical Reviewerxv
Acknowledgmentsxvii
Introductionxix
Part 1Getting Started with WebSphere Studio Application Developer (WSAD) 5.01
Chapter 1Introducing WSAD 5.03
Why Learn WSAD?3
Understanding the Major Features of WSAD 5.05
Supporting the J2EE 1.3 and EJB 2.0 Specifications5
Supporting JMS Message-Driven Beans6
Understanding Other Significant WSAD 5.0 Enhancements7
Exploring the WebSphere Studio Family of Products8
Understanding the Resource Requirements9
Referring to the WSAD 5.0 Migration Guide10
Targeting WAS 4.0x, WAS 5.0, and WAS Express10
Summary10
Chapter 2Setting Up the Development Environment11
Downloading and Installing the DB2 Database11
Setting Up Your System for DB2 Installation11
Configuring DB2 to Use JDBC 2.0 Drivers13
Downloading the WSAD 5.0 Installation Files13
Picking the Files to Download13
Understanding the Installation Requirements15
Installing WSAD 5.018
Summary20
Chapter 3Working with the WSAD 5.0 Workbench21
Understanding the Workbench Window Layout21
Using WSAD Perspectives and Views23
Learning Multiple Ways to Select Perspectives27
Working with Commonly Used Perspectives28
Customizing Perspectives41
Understanding WSAD Projects43
Web Project43
EJB Project43
Application Client Project43
J2EE Project43
Additional Project Types44
Customizing the Workbench45
Workbench46
Perspectives46
External Tools/Internet46
Java46
Web Browser47
Building a Simple "Hello World" Java Application48
Creating a New Java Project48
Creating a New Package52
Creating a New Java Class53
Debugging the "Hello World" Application55
Working in the WSAD Testing Environment57
Summary61
Chapter 4Developing Database Applications63
Understanding the TECHBOOK Database63
Building the TECHBOOK Database65
Checking the Database and Tables in the Control Center71
Checking the Table Data72
Developing Your First J2EE Database Application74
Creating the Database Project74
Building the Database Connection75
Creating a New Web Project77
Building the User Interface Screens88
Customizing the Input Screen89
Setting the Application Deployment Descriptor93
Summary103
Part 2Working with J2EE: The Distributed Application Framework105
Chapter 5J2EE Development107
Quick Introduction to J2EE107
Understanding JNDI108
Using JNDI for Locating EJB Components109
Using the JNDI dumpSpace Utility112
Exploring the New Features of the J2EE 1.3 Framework113
Understanding the EJB 2.0 Tier of the J2EE 1.3 Application113
Using EJB 2.0 Entity Beans116
Understanding the Web Tier of the J2EE 1.3 Application132
Managing EJB Transactions158
Using the Entity Bean Commit Option162
Understanding Data Integrity171
Setting the EJB Transaction Isolation Level173
Setting J2EE Application Security175
Protecting Web Resources177
Protecting EJB Resources178
Understanding Programmatic Security180
Setting Security Delegation181
Understanding User Authentication183
Using HTTP Basic Authentication184
Using Form-Based Authentication184
Using HTTPS Client Certificate Authentication184
Summary185
Chapter 6J2EE EJB Development187
Understanding the EJB Project Organization187
Developing Entity Beans188
Developing CMP Entity Beans188
Developing BMP Entity Beans227
Developing Session Beans251
Developing Stateless Session Beans252
Testing the Stateless Session Bean261
Developing Stateful Session Beans264
Testing the Stateful Session Bean277
Summary281
Chapter 7J2EE Web Development283
Understanding the Web Project Organization283
Understanding Web Application Development284
Creating the Web Project285
Understanding Stateless Web Session Development287
Improving the Form Design293
Working with WSAD-Generated Files296
Adding the Business Logic300
Designing the Output User Interface305
Testing the Application307
Using the WSAD Page Designer308
Developing the Stateful Web Session331
Adding the Processing Logic339
Examining the BookByPlatformHelperl Code344
Discussing the BookByPlatformController Servlet348
Developing the BookByPlatformOutputForm Output Form348
Generating a Dynamic Table351
Testing the Stateful Web Application363
Understanding Multiscreen Conversational Sessions370
Summary372
Chapter 8J2EE XML Development373
Introducing XML373
Understanding XML Schema Support for Namespaces375
Understanding XML Namespace Declarations377
Using WSAD's XML Tools384
Building and XML Schema385
Validating XML Schema395
Building XML Documents395
Parsing XML Documents401
Integrating XML and DB2424
Installing the DB2 XML Extender425
Generating the DAD file428
Generating the Test Harness429
Enabling DB2 for the XML Extender430
Understanding XSL Transformations434
Building an XML Project434
Creating the XSLT Stylesheet434
Debugging the XSL435
Editing the Stylesheet438
Creating the XSL Transformation Another Way441
Summary443
Part 3Working with Enterprise Messaging445
Chapter 9J2EE Enterprise Messaging447
Understanding JMS448
Understanding the P2P Domain of Communication449
Understanding the Pub/Sub Domain of Communication449
Communicating with JMS Messages450
Understanding JMS P2P Programming454
Using the JMS QueueConnection Object457
Handling a Rollback460
Closing JMS Objects461
Receiving Messages462
Using JMS Message Driven Beans (MDBs)467
Regulating Message Persistence472
Using Message Selectors472
Understanding JMS Pub/Sub Programming473
Understanding Two-Phase Commit Transactions478
Summary479
Chapter 10Using the WSAD-Embedded JMS Provider481
Installing WSAD Embedded Messaging Support482
Developing a Point-to-Point JMS Application484
Developing the Receiving Part484
Developing the Sending Part508
Developing a Publish/Subscribe JMS Application515
Setting Administered Objects516
Building the Sending Part of the Application518
Setting References to the Administered Objects522
Testing the Pub/Sub Application524
Using Two-Phase Commit Transactions525
Summary530
Chapter 11Using WebSphere MQ as the JMS Provider531
Introducing WebSphere MQ532
Understanding MQ Messages533
Understanding Queue Managers, Queues, and Channels533
Understanding MQ Clients534
Downloading and Installing WebSphere MQ535
Configuring Your Windows Account535
Installing MQ as the WSAD JMS Provider536
Extending the WebSphere MQ Middleware539
Running the Example with the MQ JMS Provider542
Using the MQ JMS Provider543
Building the New Application Examples544
Building the Unit Test Server Project545
Configuring Deployment Descriptors562
Summary569
AppendixDeploying This Book's J2EE Examples571
Preparing the WAS Environment for Deployment572
Defining the Datasource for WAS 5.0577
Deploying the DBDatasourceProjectApp Application582
Exporting the DBDatasourceProjectApp Application from WSAD582
Installing the DBDatasourceProjectApp Application583
Deploying the TechLibApp Application591
Exporting the TechLibApp Application from WSAD591
Installing the TechLibApp Application592
Running the TechLibApp Application602
Summary604
Index605

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >