www.codeguru.com/cpp/sample_chapter/article.php/c10789/

Back to Article

Home >> Visual C++ / C++ >> Sample Chapter


Oracle BPEL Process Manager
Rating:

Packt Publishing (view profile)
October 19, 2005

Go to page: Prev  1  2  3  4  5  6  7  8  9  10  11  12  13  

Deployment and Testing

To deploy and test our example, we first have to compile and deploy the BPEL process. We then create a Java WAR web archive and deploy it to the OC4J application server. This can be done using obant. For more details look at the example code, which can be downloaded from http://www.packtpub.com/.


(continued)




After we have successfully deployed the example we can test it. We use the BPEL Console to initiate the process. From the visual flow we can see that the process has not completed but is waiting for the Task Manager callback:


(
Full Size Image)

Now we have to use our custom user interface to approve the ticket. The user interface can be accessed at http://localhost:9700/TravelUserTaskUI/:

After we click on the Approve Ticket link we will see the following screen:

Now we can enter a value in the Approved field. After clicking on the Confirm Ticket button we have finished the user task. In the BPEL Console we can observe that the process has now either completed successfully if we have approved the ticket or an exception has been thrown if we have not approved the ticket. We can see that user tasks can be a very useful way to integrate user actions into BPEL processes.

Summary

In this chapter we provided a detailed overview of the Oracle BPEL Process Manager. We saw that Oracle BPEL Process Manager is a J2EE based BPEL server that also provides an integrated graphical development environment called BPEL Designer (an Eclipse plug-in) and a BPEL Console, which can be used for process deployment, monitoring, debugging, and administration. The Oracle BPEL Server provides several advanced features such as dehydration, version control, and clustering.

The Oracle BPEL Process Manager also provides several integration capabilities. It has built-in XSLT, XQuery, and XSQL engines that we can use in our BPEL processes. It supports the Web Services Invocation Framework through which we can include resources other than web services into our BPEL processes by simply specifying the service bindings. Oracle BPEL Process Manager also supports integration with email and messaging. These features extend the usability of BPEL considerably.

Oracle BPEL Process Manager also provides integration with Java. We can embed Java code in BPEL and therefore integrate BPEL processes with Java and J2EE resources (such as EJBs, JCA, JMS, etc.). We can also access the functionality of the BPEL Process Manager from Java through a set of APIs. In this way we can develop our own consoles and other applications. We can also integrate user tasks with BPEL processes. In this way users can confirm process activities or provide other input to BPEL processes.

Oracle BPEL Process Manager offers a comprehensive, powerful, and relatively easy-to-use environment for the development and deployment of BPEL processes.

About the Authors

Matjaz B. Juric holds a Ph.D. in computer and information science. He works for the University of Maribor. He has co-authored Professional J2EE EAI, Professional EJB, J2EE Design Patterns Applied, and VB.NET Serialization Handbook, published by Wrox Press. He has published chapters in the book More Java Gems (Cambridge University Press) and in Technology Supporting Business Solutions (Nova Science Publishers). He has also published in journals and magazines such as Java Developer's Journal, Java Report, Java World, Web Services Journal, eai Journal, ACM journals, and presented at conferences such as OOPSLA, SIGS Java Development, XML Europe, SCI, and others.

He is also a reviewer, program committee member, and conference co-organizer. Matjaz has been involved in several large-scale object technology projects. In association with the IBM Java Technology Centre, he worked on performance analysis and optimization in RMI-IIOP development, an integral part of the Java 2 Platform. He has recently been classified in the Techiindex Evangelist.

Benny Mathew is a Sr. Software Engineer at Hewlett-Packard (Global Delivery India Center). He holds a Masters degree in Computer Applications. His fascination for computers dates back to high school days and he has been programming with a passion for more than a decade and a half. He has also co-authored Visual Basic .NET Reflection Handbook published by Wrox press. During his free time, Benny likes to write technical articles and help people on the newsgroups relating to .NET technologies and has been awarded Microsoft Most Valuable Professional (MVP) for two consecutive years.

Poornachandra Sarang, Ph.D., is CEO of ABCOM Information Systems. He has been a Visiting Professor of Computer Engineering at University of Notre Dame, USA and is currently a visiting professor for Post-Graduate Computer Science courses at University of Mumbai. Dr. Sarang provides consulting services to worldwide clients in architecting and designing IT solutions based on Java, CORBA, and Microsoft platforms. A well known and a highly sought after trainer, Dr. Sarang has conducted several training programs on latest technologies for several top-notch IT companies. He conducts lectures/seminars on emerging technologies across the world and has made several presentations in international conferences. He has authored/co-authored several books on Java, C++, J2EE, e-Commerce, and .NET.

About the book

Business Process Execution Language for Web Services

Business Process Execution Language for Web Services (BPEL4WS) is the new standard for orchestrating business process using web services. BPEL is supported by more platform vendors than its predecessors that tried to achieve similar goals, such as ebXML and Web Services Choreography Interface (WSCI). BPEL is supported by Microsoft, IBM, BEA, SAP, Hewlett-Packard, Oracle, Siebel, and others.

The book explains the BPEL standard and how it relates to the web services stack and to previous similar standards. It also covers the Microsoft BPEL server.BizTalk, and the Oracle BPEL Process Manager. We will see how these servers use web services and XML for document exchange. The book presents the service oriented architecture for web services development which enable us to develop loosely-coupled solutions.

Where to buy this book

http://books.internet.com/1904811183

Go to page: Prev  1  2  3  4  5  6  7  8  9  10  11  12  13  

Tools:
Add www.codeguru.com to your favorites
Add www.codeguru.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed






internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers