<s>
IBM	O
WebSphere	B-Language
Optimized	I-Language
Local	I-Language
Adapters	I-Language
(	O
OLA	O
or	O
WOLA	O
)	O
is	O
a	O
functional	O
component	O
of	O
IBM	O
's	O
WebSphere	B-Language
Application	I-Language
Server	I-Language
for	I-Language
z/OS	I-Language
that	O
provides	O
an	O
efficient	O
cross-memory	O
mechanism	O
for	O
calls	O
both	O
inbound	O
to	O
WAS	O
z/OS	O
and	O
outbound	O
from	O
z/OS	O
.	O
</s>
<s>
WOLA	O
is	O
an	O
extension	O
to	O
the	O
existing	O
cross-memory	O
exchange	O
mechanism	O
of	O
WAS	O
z/OS	O
,	O
with	O
WOLA	O
providing	O
an	O
external	O
interface	O
so	O
z/OS	O
address	B-General_Concept
spaces	I-General_Concept
outside	O
the	O
WAS	O
z/OS	O
server	O
may	O
participate	O
in	O
cross-memory	O
exchanges	O
.	O
</s>
<s>
WOLA	O
supports	O
connectivity	O
between	O
a	O
WAS	O
z/OS	O
server	O
and	O
one	O
or	O
more	O
of	O
the	O
following	O
:	O
CICS	B-Application
,	O
IMS	O
,	O
Batch	O
,	O
UNIX	O
Systems	O
Services	O
and	O
ALCS	O
.	O
</s>
<s>
The	O
WebSphere	B-Language
Optimized	I-Language
Local	I-Language
Adapters	I-Language
for	O
WAS	O
z/OS	O
(	O
WOLA	O
or	O
OLA	O
for	O
short	O
)	O
has	O
its	O
origins	O
in	O
a	O
desire	O
to	O
provide	O
an	O
efficient	O
inbound	O
calling	O
mechanism	O
;	O
that	O
is	O
,	O
from	O
outside	O
the	O
Java	B-Language
EE	I-Language
environment	O
into	O
it	O
to	O
exercise	O
Java	B-Language
EE	I-Language
assets	O
.	O
</s>
<s>
This	O
requirement	O
was	O
particularly	O
pronounced	O
on	O
z/OS	O
where	O
traditional	O
batch	B-General_Concept
processing	I-General_Concept
sought	O
the	O
use	O
of	O
a	O
growing	O
base	O
of	O
programming	O
assets	O
based	O
on	O
Java	B-Language
EE	I-Language
and	O
EJB	O
technology	O
.	O
</s>
<s>
Messaging	O
,	O
such	O
as	O
Websphere	B-Application
MQ	I-Application
or	O
other	O
JMS	O
providers	O
.	O
</s>
<s>
The	O
architects	O
of	O
the	O
solution	O
extended	O
the	O
design	O
to	O
include	O
bi-directional	O
invocations	O
:	O
inbound	O
to	O
WAS	O
z/OS	O
from	O
an	O
external	O
address	B-General_Concept
space	I-General_Concept
,	O
and	O
outbound	O
from	O
WAS	O
to	O
an	O
external	O
address	B-General_Concept
space	I-General_Concept
.	O
</s>
<s>
The	O
architects	O
of	O
this	O
solution	O
chose	O
to	O
leverage	O
an	O
existing	O
element	O
of	O
the	O
WAS	O
z/OS	O
design	O
called	O
"	O
local	O
communications	O
,	O
"	O
a	O
cross-memory	O
mechanism	O
used	O
by	O
WebSphere	B-Language
Application	I-Language
Server	I-Language
for	I-Language
z/OS	I-Language
since	O
the	O
V4.x	O
days	O
that	O
optimized	O
IIOP	B-Operating_System
traffic	O
between	O
application	O
servers	O
on	O
the	O
same	O
LPAR	O
.	O
</s>
<s>
OLA	O
is	O
essentially	O
an	O
externalization	O
of	O
that	O
existing	O
cross-memory	O
mechanism	O
so	O
that	O
address	B-General_Concept
spaces	I-General_Concept
outside	O
WAS	O
z/OS	O
may	O
connect	O
and	O
exchange	O
messages	O
across	O
a	O
shared	O
memory	O
space	O
.	O
</s>
<s>
External	O
address	B-General_Concept
space	I-General_Concept
programs	O
access	O
the	O
OLA	O
interface	O
using	O
a	O
set	O
of	O
supplied	O
APIs	O
.	O
</s>
<s>
The	O
currently	O
supported	O
external	O
address	B-General_Concept
spaces	I-General_Concept
supported	O
for	O
WAS	O
z/OS	O
OLA	O
are	O
:	O
</s>
<s>
The	O
programming	O
languages	O
supported	O
in	O
the	O
external	O
address	B-General_Concept
spaces	I-General_Concept
are	O
:	O
</s>
<s>
Java	O
is	O
the	O
programming	O
language	O
used	O
to	O
access	O
WAS	O
z/OS	O
OLA	O
from	O
inside	O
the	O
Java	B-Language
EE	I-Language
containers	O
of	O
WAS	O
z/OS	O
.	O
</s>
<s>
WebSphere	B-Language
Application	I-Language
Server	I-Language
for	I-Language
z/OS	I-Language
Version	O
8	O
Release	O
0	O
continued	O
support	O
for	O
WebSphere	B-Language
Optimized	I-Language
Local	I-Language
Adapters	I-Language
.	O
</s>
<s>
A	O
common	O
usage	O
pattern	O
for	O
this	O
function	O
is	O
outbound	O
to	O
CICS	B-Application
where	O
the	O
target	O
CICS	B-Application
region	O
is	O
a	O
routing	O
region	O
.	O
</s>
<s>
This	O
failover	O
function	O
provides	O
the	O
ability	O
to	O
architect	O
multiple	O
routing	O
regions	O
so	O
that	O
the	O
loss	O
of	O
any	O
single	O
routing	O
region	O
does	O
not	O
affect	O
the	O
overall	O
availability	O
of	O
CICS	B-Application
overall	O
.	O
</s>
<s>
Fixpack	O
1	O
to	O
WebSphere	B-Language
Application	I-Language
Server	I-Language
for	I-Language
z/OS	I-Language
Version	O
8	O
provided	O
the	O
following	O
functional	O
updates	O
to	O
WOLA	O
:	O
</s>
<s>
Inbound	O
WOLA	O
calls	O
to	O
target	O
EJBs	O
in	O
the	O
WAS	O
z/OS	O
container	O
were	O
identified	O
as	O
IIOP	B-Operating_System
calls	O
and	O
captured	O
by	O
SMF	O
as	O
IIOP	B-Operating_System
calls	O
,	O
indistinguishable	O
from	O
any	O
other	O
IIOP	B-Operating_System
call	O
.	O
</s>
<s>
With	O
WAS	O
z/OS	O
8.0.0.0	O
the	O
SMF	O
120.9	O
record	O
and	O
capture	O
function	O
was	O
modified	O
to	O
identify	O
inbound	O
WOLA	O
calls	O
separate	O
from	O
inbound	O
IIOP	B-Operating_System
calls	O
.	O
</s>
<s>
This	O
functional	O
update	O
provides	O
the	O
ability	O
to	O
distribute	O
outbound	O
calls	O
across	O
multiple	O
external	O
address	B-General_Concept
spaces	I-General_Concept
registered	O
into	O
a	O
given	O
WAS	O
z/OS	O
server	O
using	O
the	O
same	O
registration	O
name	O
.	O
</s>
<s>
A	O
common	O
usage	O
pattern	O
for	O
this	O
would	O
multiple	O
CICS	B-Application
regions	O
with	O
the	O
same	O
stateless	O
target	O
program	O
service	O
deployed	O
.	O
</s>
<s>
The	O
cross-memory	O
nature	O
of	O
WOLA	O
communications	O
implies	O
the	O
WAS	O
z/OS	O
server	O
and	O
the	O
external	O
address	B-General_Concept
space	I-General_Concept
must	O
be	O
on	O
the	O
same	O
z/OS	O
logical	O
partition	O
(	O
LPAR	O
)	O
.	O
</s>
<s>
This	O
provides	O
a	O
mechanism	O
by	O
which	O
Java	O
applications	O
may	O
use	O
the	O
supplied	O
WOLA	O
JCA	O
resource	O
adapter	O
to	O
access	O
a	O
target	O
address	B-General_Concept
space	I-General_Concept
on	O
remote	O
z/OS	O
.	O
</s>
<s>
The	O
network	O
flow	O
from	O
the	O
application	O
to	O
the	O
WAS	O
z/OS	O
system	O
is	O
by	O
way	O
of	O
IIOP	B-Operating_System
.	O
</s>
<s>
The	O
WOLA	O
connection	O
factory	O
is	O
informed	O
of	O
this	O
IIOP	B-Operating_System
flow	O
to	O
the	O
proxy	O
by	O
way	O
of	O
several	O
new	O
custom	O
properties	O
to	O
the	O
connection	O
pool	O
.	O
</s>
<s>
This	O
topology	O
has	O
limitations	O
compared	O
to	O
outbound	O
WOLA	O
calls	O
on	O
the	O
same	O
z/OS	O
LPAR	O
:	O
global	O
transactions	O
requiring	O
two-phase	O
commit	O
can	O
not	O
be	O
propagated	O
across	O
the	O
IIOP	B-Operating_System
connection	O
to	O
the	O
WOLA	O
proxy	O
,	O
and	O
the	O
user	O
identity	O
on	O
the	O
WAS	O
thread	O
can	O
not	O
be	O
asserted	O
into	O
the	O
target	O
service	O
on	O
z/OS	O
.	O
</s>
<s>
This	O
provides	O
a	O
mechanism	O
by	O
which	O
non-Java	O
applications	O
in	O
an	O
external	O
address	B-General_Concept
space	I-General_Concept
may	O
make	O
inbound	O
calls	O
to	O
a	O
target	O
WOLA-enabled	O
EJB	O
in	O
a	O
remote	O
WAS	O
instance	O
,	O
either	O
on	O
another	O
z/OS	O
LPAR	O
or	O
a	O
distributed	O
WAS	O
platform	O
.	O
</s>
<s>
The	O
inbound	O
flow	O
arrives	O
as	O
an	O
IIOP	B-Operating_System
call	O
just	O
as	O
it	O
does	O
if	O
cross-memory	O
WOLA	O
on	O
the	O
same	O
LPAR	O
was	O
used	O
.	O
</s>
<s>
This	O
tells	O
the	O
local	O
proxy	O
application	O
to	O
treat	O
requested	O
service	O
,	O
which	O
is	O
specified	O
as	O
the	O
JNDI	O
name	O
of	O
the	O
target	O
EJB	O
,	O
as	O
a	O
request	O
to	O
invoke	O
the	O
EJB	O
using	O
IIOP	B-Operating_System
.	O
</s>
<s>
Fixpack	O
8.0.0.5	O
/	O
8.5.0.2	O
provided	O
two	O
functional	O
enhancements	O
:	O
(	O
1	O
)	O
RRS	O
transaction	O
context	O
assertion	O
from	O
WAS	O
into	O
IMS	O
over	O
WOLA	O
/	O
OTMA	O
,	O
and	O
(	O
2	O
)	O
enhanced	O
support	O
for	O
CICS	B-Application
channels	O
and	O
containers	O
.	O
</s>
<s>
For	O
enhanced	O
support	O
for	O
CICS	B-Application
channels	O
and	O
containers	O
,	O
prior	O
to	O
8.0.0.5	O
/	O
8.5.0.2	O
the	O
CICS	B-Application
channels	O
and	O
containers	O
support	O
was	O
limited	O
to	O
a	O
single	O
fixed-name	O
channel	O
for	O
both	O
request	O
and	O
response	O
,	O
and	O
a	O
single	O
container	O
of	O
type	O
BIT	O
or	O
CHAR	O
.	O
</s>
<s>
The	O
keys	O
of	O
the	O
MappedRecord	O
correspond	O
to	O
the	O
CICS	B-Application
container	O
names	O
,	O
and	O
the	O
corresponding	O
value	O
will	O
be	O
used	O
to	O
fill	O
the	O
container	O
in	O
CICS	B-Application
.	O
</s>
<s>
The	O
response	O
container	O
names	O
will	O
be	O
extracted	O
from	O
the	O
channel	O
after	O
the	O
CICS	B-Application
request	O
is	O
finished	O
,	O
and	O
populated	O
into	O
a	O
new	O
MappedRecord	O
,	O
which	O
is	O
returned	O
to	O
the	O
client	O
.	O
</s>
<s>
CICS	B-Application
Task	O
Related	O
User	O
Exit	O
,	O
Link	O
Task	O
Server	O
and	O
control	O
transaction	O
--	O
provides	O
a	O
simplified	O
mechanism	O
for	O
supporting	O
outbound	O
calls	O
to	O
program	O
assets	O
in	O
CICS	B-Application
.	O
</s>
<s>
The	O
Optimized	O
Local	O
Adapters	O
are	O
implemented	O
in	O
CICS	B-Application
as	O
a	O
Task	O
Related	O
User	O
Exit	O
(	O
TRUE	O
)	O
.	O
</s>
<s>
This	O
is	O
what	O
provides	O
the	O
essential	O
connectivity	O
from	O
CICS	B-Application
cross	O
memory	O
to	O
the	O
WAS	O
z/OS	O
address	B-General_Concept
space	I-General_Concept
.	O
</s>
<s>
In	O
addition	O
,	O
a	O
Link	O
Server	O
Task	O
(	O
BBO$	O
)	O
and	O
a	O
Link	O
Invocation	O
Task	O
(	O
BBO#	O
)	O
is	O
supplied	O
for	O
calls	O
from	O
WAS	O
to	O
CICS	B-Application
.	O
</s>
<s>
The	O
BBO$	O
/BBO	O
#	O
link	O
server	O
task	O
shields	O
programming	O
specifics	O
from	O
CICS	B-Application
programs	O
.	O
</s>
<s>
The	O
OLA	O
call	O
from	O
WAS	O
is	O
handled	O
by	O
these	O
supplied	O
tasks	O
,	O
and	O
the	O
named	O
CICS	B-Application
program	O
is	O
invoked	O
with	O
the	O
standard	O
EXEC	O
CICS	B-Application
LINK	O
call	O
.	O
</s>
<s>
The	O
named	O
CICS	B-Application
program	O
remains	O
unchanged	O
and	O
unaware	O
the	O
call	O
came	O
from	O
WAS	O
using	O
OLA	O
.	O
</s>
<s>
The	O
target	O
program	O
in	O
CICS	B-Application
must	O
be	O
able	O
to	O
be	O
invoked	O
with	O
a	O
LINK	O
call	O
.	O
</s>
<s>
The	O
OLA	O
programming	O
interface	O
module	O
library	O
data	O
set	O
must	O
be	O
concatenated	O
to	O
the	O
CICS	B-Application
region	O
's	O
DFHRPL	O
DD	O
statement	O
.	O
</s>
<s>
The	O
following	O
picture	O
summarizes	O
the	O
WOLA	O
CICS	B-Application
support	O
for	O
transaction	O
propagation	O
and	O
security	O
assertion	O
:	O
</s>
<s>
The	O
external	O
address	B-General_Concept
space	I-General_Concept
accesses	O
the	O
OLA	O
mechanism	O
through	O
the	O
supplied	O
interface	O
modules	O
and	O
documented	O
APIs	O
.	O
</s>
<s>
External	O
address	B-General_Concept
spaces	I-General_Concept
that	O
are	O
the	O
target	O
of	O
the	O
outbound	O
call	O
must	O
be	O
in	O
a	O
state	O
ready	O
to	O
accept	O
the	O
call	O
.	O
</s>
<s>
If	O
the	O
external	O
address	B-General_Concept
space	I-General_Concept
is	O
CICS	B-Application
,	O
then	O
the	O
user	O
has	O
the	O
option	O
to	O
employ	O
the	O
supplied	O
Link	O
Server	O
Task	O
to	O
act	O
as	O
the	O
receiving	O
agent	O
on	O
behalf	O
of	O
existing	O
CICS	B-Application
program	O
assets	O
.	O
</s>
<s>
The	O
Link	O
Server	O
task	O
(	O
BBO$	O
by	O
default	O
)	O
receives	O
the	O
call	O
and	O
issues	O
an	O
EXEC	O
CICS	B-Application
LINK	O
of	O
the	O
program	O
named	O
on	O
interactionSpecImpl.setServiceName( )	O
.	O
</s>
<s>
No	O
changes	O
to	O
the	O
existing	O
CICS	B-Application
program	O
are	O
necessary	O
provided	O
it	O
supports	O
either	O
COMMAREA	O
or	O
Channels/Containers	O
.	O
</s>
<s>
If	O
the	O
external	O
address	B-General_Concept
space	I-General_Concept
is	O
something	O
other	O
than	O
CICS	B-Application
or	O
IMS	O
,	O
then	O
the	O
program	O
needs	O
to	O
"	O
host	O
a	O
service	O
"	O
using	O
one	O
of	O
the	O
supplied	O
APIs	O
.	O
</s>
<s>
Outbound	O
to	O
CICS	B-Application
—	O
use	O
the	O
provided	O
Link	O
Server	O
implementation	O
;	O
no	O
changes	O
to	O
your	O
CICS	B-Application
programs	O
at	O
all	O
.	O
</s>
<s>
In	O
this	O
case	O
the	O
BBOA1REG	O
API	O
is	O
used	O
to	O
register	O
into	O
the	O
WebSphere	B-Language
Application	I-Language
Server	I-Language
for	I-Language
z/OS	I-Language
Daemon	O
group	O
(	O
the	O
cell	O
short	O
name	O
)	O
,	O
and	O
multiple	O
invocations	O
of	O
BBOA1INV	O
are	O
used	O
to	O
invoke	O
the	O
target	O
EJB	O
.	O
</s>
<s>
Note	O
:	O
Outbound	O
from	O
WAS	O
to	O
CICS	B-Application
would	O
not	O
require	O
API	O
coding	O
.	O
</s>
<s>
Outbound	O
to	O
a	O
batch	B-General_Concept
program	I-General_Concept
would	O
require	O
the	O
use	O
of	O
the	O
APIs	O
to	O
"	O
host	O
a	O
service.	O
"	O
</s>
<s>
The	O
Optimized	O
Local	O
Adapters	O
support	O
two-phase	O
commit	O
(	O
2PC	O
)	O
processing	O
from	O
CICS	B-Application
inbound	O
to	O
WAS	O
.	O
</s>
<s>
With	O
the	O
advent	O
of	O
maintenance	O
7.0.0.12	O
,	O
the	O
Optimized	O
Local	O
adapters	O
also	O
support	O
two-phase	O
commit	O
outbound	O
from	O
WAS	O
to	O
CICS	B-Application
.	O
</s>
<s>
Prior	O
to	O
7.0.0.12	O
the	O
transactional	O
support	O
from	O
WAS	O
to	O
CICS	B-Application
was	O
limited	O
to	O
"	O
sync	O
on	O
return.	O
"	O
</s>
<s>
WAS	O
-->	O
CICS	B-Application
:	O
The	O
identity	O
on	O
the	O
WAS	O
thread	O
used	O
to	O
call	O
the	O
WOLA	O
API	O
can	O
be	O
used	O
to	O
assert	O
identity	O
into	O
CICS	B-Application
.	O
</s>
<s>
In	O
order	O
to	O
do	O
this	O
,	O
the	O
WOLA	O
CICS	B-Application
link	O
server	O
must	O
be	O
used	O
and	O
started	O
with	O
the	O
SEC	O
=	O
Y	O
parameter	O
and	O
the	O
CICS	B-Application
region	O
must	O
be	O
running	O
with	O
SEC	O
=	O
YES	O
and	O
the	O
ID	O
the	O
link	O
server	O
task	O
runs	O
under	O
must	O
have	O
SURROGAT	O
SAF	O
authority	O
to	O
start	O
transactions	O
on	O
behalf	O
of	O
the	O
propagated	O
user	O
ID	O
.	O
</s>
