Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Oracle Tuxedo

You're reading from   Getting Started with Oracle Tuxedo This is a crash course in developing distributed systems using Tuxedo and extending it to an SOA or cloud environment. Get to grips with administrative tools, Tuxedo APIs, the SALT component, and the Exalogic machine.

Arrow left icon
Product type Paperback
Published in Jun 2013
Publisher Packt
ISBN-13 9781849686884
Length 162 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Client/server communication paradigms


In this section, we will discuss client/server communication paradigms. There are four different ways these communications can take place, namely request/reply, conversational, communication by using a queue, and event-based. There is a single namespace for all the service names, so from an administrative point of view, a service name can be defined as either request/response or conversational. A request/reply service can be called using tpcall(), tpacall(), or tpforward(); tpconnect() can only be used to call a conversational service.

Request/reply

This works in the following ways:

  1. First it receives one request at a time and handles one request at a time.

  2. Then it returns (using tpreturn()) or forwards (using tpforward()) the result.

    Tip

    Using tpforward() to invoke a service in the same server works, but it is not considered a best practice as it defeats the purpose of using tpforward() to free up the server to process more requests.

Conversational

A service...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime