Home > Store

Implementing SOA Using Java EE

Register your product to gain access to bonus material or receive a coupon.

Implementing SOA Using Java EE

eBook (Watermarked)

  • Your Price: $35.19
  • List Price: $43.99
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Description

  • Copyright 2010
  • Edition: 1st
  • eBook (Watermarked)
  • ISBN-10: 0-13-265070-3
  • ISBN-13: 978-0-13-265070-0

The Practitioner’s Guide to Implementing SOA with Java EE Technologies

This book brings together all the practical insight you need to successfully architect enterprise solutions and implement them using SOA and Java EE technologies. Writing for senior IT developers, strategists, and enterprise architects, the authors cover everything from concepts to implementation, requirements to tools. 

The authors first review the Java EE platform’s essential elements in the context of SOA and web services deployment, and demonstrate how Java EE has evolved into the world’s best open source solution for enterprise SOA. After discussing standards such as SOAP, WSDL, and UDDI, they walk through implementing each key aspect of SOA with Java EE. Step by step, you’ll learn how to integrate service-oriented web and business components of Java EE technologies with the help of process-oriented standards such as BPEL/CDL into a coherent, tiered enterprise architecture that can deliver a full spectrum of business services.

Implementing SOA Using Java™ EE concludes with a section-length case study that walks through analyzing a company’s requirements, creating an effective SOA architecture, and building a concise proof-of-concept prototype with NetBeans IDE. Coverage includes

•  Using Java EE technologies to simplify SOA implementation

•  Mastering messaging, service descriptions, registries, orchestration, choreography, and other essential SOA concepts

•  Building an advanced web services infrastructure for implementing SOA

•  Using Java Persistence API to provide for persistence

•  Getting started with Java Business Integration (JBI), the new open specification for delivering SOA

•  Implementing SOA at the web and business tiers

•  Developing, configuring, and deploying SOA systems with NetBeans IDE

•  Constructing SOA systems with NetBeans SOA Pack

Sample Content

Table of Contents

Foreword by Robert Brewin . . . xvii

Foreword by Raj Bala . . . xviii

Acknowledgments. . . xxi

About the Authors . . . xxiii

PART I OVERVIEW . . . 1

CHAPTER 1 INTRODUCTION . . . 3

Products and Services 4

Software-Driven Services 4

Web Services 6

SOA 8

Web Services and SOA Opportunities 12

Summary 13

Endnotes 13

CHAPTER 2 EVOLUTION OF IT ARCHITECTURES . . . 15

The Server-Side Architecture Progression 16

Progression of Mainframe Architecture 17

Progression of Client/Server Architecture 19

Progression of Distributed Architecture 21

Internet and World Wide Web 26

Client-Side Architecture Progression 28

Terminals as Clients 29

Thick Clients 30

Thin Clients 30

Browser Clients 31

Mobile Clients 31

Service Oriented Architecture and Web Services 32

Web Services 32

Arrival of SOAP, WSDL, and UDDI Infrastructure 34

Summary 35

Endnotes 35

CHAPTER 3 EVOLUTION OF SERVICE ORIENTED ARCHITECTURE . . . 37

Services Oriented Architecture–The Description 38

Early Architectures 38

IMS 39

CICS 40

CORBA 41

DCOM 41

Paradigm Shifts 42

Java and Java 2 Enterprise Edition 42

Extensible Markup Language 43

Web Services–XML-RPC and SOAP 44

Arrival of Web Services and SOA 44

First Generation Web Services 45

The Second Generation Web Services 45

SOA Using Web Services 46

Benefits and Challenges with SOA 47

SOA Implementation Technologies 47

Microsoft's .NET Technologies 48

Sun Microsystems’s Java Enterprise Edition Technologies 48

Summary 50

Endnotes 50

PART II SERVICE ORIENTED ARCHITECTURE ESSENTIALS . . . 53

CHAPTER 4 MESSAGE ORIENTED SERVICES AND SOAP . . . 55

SOAP Conventions 56

Message Envelope 56

Encoding Rules 56

RPC Convention 56

Binding 57

Anatomy of SOAP 57

Basic SOAP Model 57

Detailed SOAP Model 60

SOAP Encoding Details 65

Simple Type Encoding 65

Complex Type Encoding 66

SOAP Binding to the Transport Protocol 68

Interaction Using the SOAP Protocol 68

Message Exchange Model 69

SOAP Response and the Error-Handling Mechanism 71

The SOAP <Fault> 72

The SOAP <faultcode> 72

The SOAP <faultstring> 73

The SOAP <faultactor> 73

The SOAP <detail> 73

SOAP Version Differences and Dependencies 73

SOAP Versioning 73

New SOAP Version 74

Summary 75

Endnotes 76

CHAPTER 5 WEB SERVICES AND WEB SERVICES DESCRIPTION LANGUAGE . . . 77

WSDL–An XML Web Services Description Vocabulary 78

The Web Services Triangle 78

Service Invocation Fundamentals 80

Synchronous Invocation and Fundamentals of RPC Mechanism 81

Service Invocation and WSDL 85

Creation of the Service 86

Generating the Web Service Description for the Service 87

Registering the Web Service 87

Publication of the Web Service 87

Discovering the Web Service 87

Understanding the Web Services Semantics 87

Invocation of Web Service 88

Describing Web Services–The XML Way 91

WSDL Elements and Their Appearance Sequence 92

Anatomy of WSDL Document 93

WSDL Version Differences and Dependencies 100

Summary 100

Endnotes 101

CHAPTER 6 REGISTRIES AND UDDI . . . 103

Defining UDDI 104

Taxonomy-Based Business Information 104

UDDI Specifications and Services 105

Public Registries Versus Private Registries 105

UDDI Nomenclature 106

Node API Sets 106

UDDI Node 106

UDDI Registries 106

Data Structure 107

Information Model 107

Core UDDI 107

The <businessEntity> Data Structure 108

The <businessService> Data Structure 109

The <bindingTemplate> Data Structure 110

The <tModel> Data Structure 111

Publication of Business Information 112

Creation and Modification of Business Information 113

Deletion of Business Information 114

Discovering Web Services 115

Information Browsing and Retrieval 116

Information Drill-Down 117

Summary 118

CHAPTER 7 ORCHESTRATION AND CHOREOGRAPHY . . . 119

Importance of Business Process and Work Flow 120

Orchestration 121

WS-Business Process Execution Language 122

Processing BPEL 124

Choreography 127

Orchestration and SOA 129

Choreography and SOA 130

Summary 130

Endnotes 131

CHAPTER 8 ADVANCED WEB SERVICES INFRASTRUCTURE FOR IMPLEMENTING SOA . . . 133

Message Exchange Patterns 135

WS-*–The New Generation 136

WS-Addressing 137

WS-Atomic Transaction 137

WS-Coordination 137

WS-Eventing 137

WS-Metadata Exchange 138

WS-Notification 138

WS-Policy Framework 138

WS-Reliability/WS-Reliable Messaging 138

WS-Security 138

WS-*–A Working Definition 139

Addressing 139

Reliability and Reliable Messaging 140

Security 142

WS-* and SOA 146

WS-Reliable Messaging and SOA 147

WS-Security and SOA 147

WS-I Basic Profile 147

Summary 148

Endnotes 148

PART III JAVA PLATFORM, ENTERPRISE EDITION AND ESB . . . 49

CHAPTER 9 JAVA PLATFORM, ENTERPRISE EDITION OVERVIEW . . . 151

Java EE Technology Categories 153

Web Application Technologies 153

Web Services Technologies 155

Enterprise Application Technologies 158

Common Platform Technologies 160

What's New in Java EE 5 162

Java Annotations 163

POJO Model 165

Developer Productivity 166

Java EE Component Model 167

Application Client 167

Web Components 168

EJB Components 168

Resource Adapter 168

Java EE Quality of Services 169

Distribution 169

Data Integrity 169

Security 169

Performance and Scalability 170

Availability 170

Interoperability 171

Concurrency 171

Summary 171

Endnotes 172

CHAPTER 10 WEB TECHNOLOGIES IN JAVA EE . . . 173

Java Servlet 174

JSP 176

JSP Standard Tag Library 177

JSF 178

MVC Paradigm in JSF 178

User Interface Component Framework 179

Navigation Model 180

Managed Beans 182

Unified Expression Language 183

Data Conversion and Validation 184

JSF Events 185

Backing Bean Approach 186

Summary 187

Endnote 187

CHAPTER 11 ENTERPRISE JAVABEANS AND PERSISTENCE . . . 189

Core EJB 3.0 API 190

Dependency Injection 191

Container Services 191

Interceptors 193

New JPA 193

Entity Class 194

Relationships 195

Inheritance 196

Entity Manager 197

Entity Life-Cycle Operations 197

Java Persistence Query Language 200

Object-Relational Mapping 203

Relationship Mapping 203

Inheritance Mapping 204

Summary 205

CHAPTER 12 JAVA WEB SERVICES OVERVIEW . . . 207

Implementing a Web Service 208

Mapping Between Java and WSDL 208

Web Service Annotations 210

@WebService 210

@WebMethod 211

@Oneway 211

@WebParam 211

@WebResult 211

@HandlerChain 211

@SOAPBinding 212

Accessing Web Services 212

Protocol and Transport 213

Advanced Features in JAX-WS 213

Handler Framework 213

Asynchronous Interactions 214

Messaging API 215

Java Architecture for XML Binding 217

Schema Evolution 220

Summary 222

CHAPTER 13 ENTERPRISE SERVICE BUS AND JAVA BUSINESS INTEGRATION . . . 223

The Service Bus and Enterprises 224

ESB–A Business Perspective 224

Salient Features of ESB 226

Java Business Integration–Java and ESB 227

Summary 230

PART IV IMPLEMENTING SOA USING JAVA EE PLATFORM . . . 231

CHAPTER 14 SERVICE ORIENTED ARCHITECTURE AND THE WEB TIER . . . 233

Delivering Services Through the Web Tier 234

The Overall Picture 235

Web Tier Design Patterns and SOA 236

Presentation Tier Design Patterns 236

Frameworks and Service Delivery 237

Services Delivery Using JSF 238

Deciding on the Right Framework 244

Summary 245

Endnotes 246

CHAPTER 15 SERVICE ORIENTED ARCHITECTURE AND THE BUSINESS TIER . . . 247

Delivering Services Through the Business Tier 248

Business Tier Overview 248

Business Tier Design Patterns and SOA 250

Business Tier Design Patterns 251

Presentation Tier-to-Business Tier Design Patterns 251

Transfer Object Design Pattern 252

Integration Tier Design Patterns 254

The Data Access Object Pattern 255

Intrabusiness Tier Design Patterns 257

Application Service Design Pattern 258

Summary 259

Endnote 260

CHAPTER 16 ADVANCED SERVICE ORIENTED ARCHITECTURE . . . 261

Patterns in SOA 261

Asynchronous Messaging Patterns 263

Conversation Patterns 267

Orchestration Patterns 269

Workflow Patterns 273

Summary 279

Endnotes 280

PART V CASE STUDY . . . 281

CHAPTER 17 DEVELOPING SERVICE ORIENTED APPLICATIONS—A CASE STUDY . . . 283

The Industry Perspective 285

Messaging Distribution in the OTA 285

The Goals of the OTA 286

The Plans and Specifications of the OTA 286

The Alliance Members 287

The Case Study 288

Challenges 289

Solution Implementation Strategies 290

Travel Reservation Service 291

The Workflow or the Process Definition 294

Solution Platform Considerations 296

Summary 298

Endnotes 299

CHAPTER 18 DELIVERING SOA USING NETBEANS SOA PACK: CASE STUDY–SOLUTION . . . 301

Implementation Strategy–An Overview 302

NetBeans IDE 303

Invoking NetBeans 304

Exploring the IDE 304

Project Basics 305

Project Creation 306

Summary 319

Endnotes 319

REFERENCES . . . 321

Web References 321

AJAX 321

BPEL 321

CICS 321

Design Pattern 322

ESB 322

ESB Importance 322

GDS 322

Hibernate 323

Implementing SOA with Java EE 5 323

IMS 323

IMS TM 323

J2EE Best Practices 323

J2EE Patterns 323

J2EE Versus .NET 323

Java EE 5 Developer Productivity 323

Java Specification Request 324

jRuby 325

OTA 325

Paradigm Shift 325

Paradigm Shift in IT 325

Performance Benchmark 325

Portlet 325

Ruby 325

Sabre, GDS 325

SOA 326

SOA General 326

SOAP 326

SOA Patterns 326

Tango 326

Web Services 327

WSDL 327

WSDL and UDDI 327

XML 327

Yahoo! 327

Books 327

Design Patterns 327

ESB 327

J2EE 328

Java 328

Java, XML 328

MDA 328

NetBeans 328

SOA 328

Software Architecture 329

Web Services 329

XML 329

INDEX . . . 331

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020