BPEL and Java Cookbook


BPEL and Java Cookbook
eBook: $35.99
Formats: PDF, PacktLib, ePub and Mobi formats
$30.59
save 15%!
Print + free eBook + free PacktLib access to the book: $95.98    Print cover: $59.99
$59.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Easy to understand recipes for integrating Java and BPEL
  • Covers wide range of integration possibilities for orchestrating business processes
  • Provides step-by-step instructions on examples stretching throughout the chapters, covering all phases of development from specification to testing

 

Book Details

Language : English
Paperback : 382 pages [ 235mm x 191mm ]
Release Date : September 2013
ISBN : 1849689202
ISBN 13 : 9781849689205
Author(s) : Jurij Laznik
Topics and Technologies : All Books, Application Development, Cookbooks, Enterprise

Table of Contents

Preface
Chapter 1: Calling BPEL from Java
Chapter 2: Calling Services from BPEL
Chapter 3: Advanced Tracing and Logging
Chapter 4: Custom Logging in the Oracle SOA Suite
Chapter 5: Transforming and Validating the BPEL Services
Chapter 6: Embedding Third-party Java Libraries
Chapter 7: Accessing and Updating the Variables
Chapter 8: Exposing Java Code as a SOAP Service
Chapter 9: Embedding Java Code Snippets
Chapter 10: Using XML Facade for DOM
Chapter 11: Exposing Java Code as a Web Service
Index
  • Chapter 1: Calling BPEL from Java
    • Introduction
    • Deploying a BPEL process
    • Gathering a BPEL process's in and out parameters
    • Calling a synchronous BPEL process from Java
    • Calling an asynchronous BPEL process from Java
    • Handling business faults from a synchronous BPEL process
    • Handling business faults from an asynchronous BPEL process
    • Mapping the results of a BPEL process
    • Chapter 2: Calling Services from BPEL
      • Introduction
      • Implementing web services with Axis2
      • Implementing web services with JAX-WS
      • Invoking the RESTful web services
      • Invoking the synchronous web service
      • Invoking the asynchronous web service
      • The dynamic selection of the web service's endpoint
      • Invoking web services in a sequence
      • Invoking web services in parallel
      • Handling the faults thrown from a web service
      • Throwing the faults from BPEL
      • Chapter 3: Advanced Tracing and Logging
        • Introduction
        • Creating a custom logger in a BPEL process
        • Defining composite sensors
        • Adding a composite sensor
        • Monitoring a composite sensor
        • Configuring the logfiles
        • Changing the level of tracing
        • Editing the logfiles
        • Viewing logfiles in the Enterprise Manager Console
        • Viewing metrics and statistics
        • Chapter 4: Custom Logging in the Oracle SOA Suite
          • Introduction
          • Logging to a custom file
          • Configuring custom handlers
          • Logging exceptions
          • Enabling logging on the BPEL server
          • Redirecting System.out and System.err files
          • Setting up a rotation logfile
          • Chapter 5: Transforming and Validating the BPEL Services
            • Introduction
            • Using the XSLT transformation in BPEL
            • Generating the XSLT map with the XSLT mapper
            • Performing copy between the variables
            • Using the functions in the transformation operations
            • The chaining functions
            • Defining and importing the user-defined functions
            • Using the xsl:for-each command
            • Defining a parameter
            • Defining a variable
            • Validating the variables with the <assign> activity
            • Chapter 6: Embedding Third-party Java Libraries
              • Introduction
              • Adding third-party libraries to the SOA Suite server
              • Adding custom classes to the SOA Suite server
              • Adding third-party libraries to JDeveloper projects
              • Adding custom classes to JDeveloper projects
              • Invoking third-party libraries from BPEL 2.0 process
              • Invoking third-party libraries from BPEL 1.1 process
              • Chapter 7: Accessing and Updating the Variables
                • Introduction
                • Defining global variables in a BPEL process
                • Defining local variables in a BPEL process
                • Initializing a variable with an XML literal
                • Initializing a variable with an inline from-spec
                • Copying content between the variables
                • Accessing the fields within Element-based variables
                • Accessing the fields within the Message Type-based variables
                • Assigning numerical values to the variables
                • Applying mathematical calculations on data in the variables
                • Assigning Boolean values to the variables
                • Assigning date or time to the variables
                • Updating the variables using the BPELX extensions
                • Dynamic indexing of the variables
                • Chapter 8: Exposing Java Code as a SOAP Service
                  • Introduction
                  • Defining the service interface
                  • Preparing the service implementation
                  • Annotating Java code for web service creation
                  • Creating a document transport web service
                  • Creating a RPC transport web service
                  • Creating literal and encoded web services
                  • Using attachment types with web services
                  • Defining a web service returning no value
                  • Defining a web service returning a value
                  • Publishing a web service
                  • Testing a web service
                  • Chapter 9: Embedding Java Code Snippets
                    • Introduction
                    • Preparing the development sandbox for the Java Embedding activity code in JDeveloper
                    • Using the Java code placeholder in the BPEL process
                    • Invoking Java code from the BPEL process
                    • Reading the BPEL process variables
                    • Setting the BPEL process variables
                    • Invoking Session bean from the BPEL process
                    • Using the utility functionality
                    • Adding a log to the BPEL Audit Trail
                    • Reading the process instance data
                    • Getting the BPEL process status data
                    • Chapter 10: Using XML Facade for DOM
                      • Introduction
                      • Setting up an XML facade project
                      • Generating XML facade using ANT
                      • Creating XML facade from XSD
                      • Creating XML facade from WSDL
                      • Packaging XML facade into JAR
                      • Generating Java documents for XML facade
                      • Invoking XML facade from BPEL processes
                      • Accessing complex types through XML facade
                      • Accessing simple types through XML facade
                      • Chapter 11: Exposing Java Code as a Web Service
                        • Introduction
                        • Creating a service endpoint interface
                        • Using non-exposable methods of service interface
                        • Annotating the service endpoint interface with @WebService
                        • Annotating the service endpoint interface with @SOAPBinding
                        • Wrapping exceptions into faults
                        • Defining a request wrapper for a web service
                        • Defining a response wrapper for a web service
                        • Defining a one or two way web service
                        • Defining the direction of the parameters
                        • Publishing a web service without an application server

                        Jurij Laznik

                        Jurij Laznik is an architect and software engineer with over 14 years of experience in BPEL and Java technologies. In the past decade, he has participated in several large SOA projects in the Energetics and Telecommunication sector. He is an accredited Oracle SOA Implementation Champion by the Oracle Partner Network. In the last five years, he has worked in the banking industry on IT projects as both project manager and system design engineer. He is currently employed as an Oracle programmer at Banka Celje d.d. He is also an assigned lecturer for the Educational Center of Energetics Systems (ICES). He received his Master's degree at the University of Maribor. Currently, he is a PhD student at the Faculty of Computer Science and Information Technology at the University of Maribor, Slovenia.
                        Sorry, we don't have any reviews for this title yet.

                        Code Downloads

                        Download the code and support files for this book.


                        Submit Errata

                        Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                        Sample chapters

                        You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                        Frequently bought together

                        BPEL and Java Cookbook +    Domino 7 Lotus Notes Application Development =
                        50% Off
                        the second eBook
                        Price for both: €29.00

                        Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                        What you will learn from this book

                        • Call synchronous and asynchronous BPEL processes from Java code
                        • Implement of web services with AXIS2 and JAX-WS
                        • Call synchronous and asynchronous web services from BPEL process
                        • Efficiently utilise the tracing and logging for tracking business process execution
                        • Make use of validation and transformation of the BPEL services
                        • Employ various techniques to variable manipulations in BPEL
                        • Use annotations for describing web services
                        • Perform work, management and monitoring tasks with the Oracle Enterprise Manager Console
                        • Utilize the internal and external BPEL engine logging and tracing capabilities
                        • Integrate various technologies for orchestration
                        • Learn the techniques of using XML façades
                        • Design, monitor and test SOA composite applications

                        In Detail

                        The Business Process Execution Language (BPEL) has become the de-facto standard for orchestrating web services. BPEL and web services are both clamped into Service-oriented Architecture (SOA). Development of efficient SOA composites too often requires usage of other technologies or languages, like Java. This Cookbook explains through the use of examples how to efficiently integrate BPEL with custom Java functionality.
                        If you need to use BPEL programming to develop web services in SOA development, this book is for you.

                        BPEL and Java Cookbook will show you how to efficiently integrate custom Java functionality into BPEL processes. Based on practical examples, this book shows you the solutions to a number of issues developers come across when designing SOA composite applications. The integration between the two technologies is shown two-fold; the book focuses on the ways that Java utilizes the BPEL and vice-versa.

                        With this book, you will take a journey through a number of recipes that solve particular problems with developing SOA composite applications. Each chapter works on a different set of recipes in a specific area. The recipes cover the whole lifecycle of developing SOA composites: from specification, through design, testing and deployment.

                        BPEL and Java Cookbook starts off with recipes that cover initiation of BPEL from Java and vice-versa. It then moves on to logging and tracing facilities, validation and transformation of BPEL servers, embedding of third-party Java libraries into BPEL. It also covers manipulation with variables in BPEL different techniques of Java code wrapping for web service usage and utilization of XML façades.

                        After reading BPEL and Java Cookbook you will be able to circumvent many of the issues that developers experience during SOA composite application development.

                         

                        Approach

                        A concise Cookbook with practical recipes for experienced Java developers. The book is packed with illustrated code examples to create scalable programs using BPEL, JAVA, and JDeveloper.

                        Who this book is for

                        This book is aimed at Java developers who need to use BPEL programming to develop web services in SOA development. You should be experienced with Java programming and SOA, but knowledge of BPEL is not necessarily required.

                        Code Download and Errata
                        Packt Anytime, Anywhere
                        Register Books
                        Print Upgrades
                        eBook Downloads
                        Video Support
                        Contact Us
                        Awards Voting Nominations Previous Winners
                        Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                        Resources
                        Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software