World®
’16
Tech	Talk:	CA	Live	API	Creator:
API	Servers	and	the	App	Economy	
Val	Huber	- Consulting	Engineer	- CA	Technologies
DO3T20TV
DEVOPS
2 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
©	2016	CA.	All	rights	reserved.	All	trademarks	referenced	herein	belong	to	their	respective	companies.
The	content	provided	in	this CA	World	2016	presentation	is	intended	for	informational	purposes	only	and	does	not	form	any	type	of	
warranty. The information	provided	by	a	CA	partner	and/or	CA	customer	has	not	been	reviewed	for	accuracy	by	CA.	
For	Informational	Purposes	Only	
Terms	of	this	Presentation
3 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Abstract
The	App	Economy	is	being	defined	in	thousands	of	enterprises	as	we	speak,	but	certainly	has	key	
requirements	that	include:	•	Multi-channel	access—systems	that	are	open	to	Web	apps,	mobile	
apps,	internal	systems	and	partner	systems	•	Enforced	data	integrity	and	security—we	can	no	
longer	enforce	business	logic	in	our	UI	controllers;	it	has	to	be	centrally	enforced	•	Integration—
the	details	of	how	systems	are	created	and	deployed	should	have	no	bearing	on	multi-channel	
access,	but	they	need	to	integrate	multiple	internal	databases	and	interact	with	partner	systems	
•	Business	agility— if	the	App	Economy	means	our	systems	define	how	we	do	business,	then	we	
must	be	able	to	create	(and	alter)	these	systems	as	near	as	possible	to	real-time	speed	•	
Simplicity—there	are	only	so	many	rocket	scientists;	you	should	be	able	to	compete	in	the	App	
Economy	with	software	that	leverages	the	strengths	of	as	many	people	in	your	organization	as	
possible,	including	non-developers	This	talk	will	provide	a	specific	example	of	how	APIs	can	
respond	to	these	challenges,	including	take-home	code.
Val	
Huber
CA	Technologies
Consulting	Engineer
4 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Agenda
APP	ECONOMY	EXAMPLE
REQUIREMENTS
MANAGING	AN	API	SERVER
CHALLENGES
SOLUTION
CREATING	AN	API SERVER
1
2
3
4
5
6
5 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
API	Servers…	for	the	App	Economy
With	the	Agility to	Compete
Web
Mobile
Partners
Web	
Hooks
DBs
API	
Server
Omni	Channel	Business
Shippers,	
Suppliers
1
Integration
3
2
Logic
6 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
APIs	are	a	Challenge.	Logic	Is	Worse.
Large	Projects,	Code-Intensive:	Slow,	Complex,	Uneven	Quality
Backend	is	Nearly	Half,	plus	
Substantial	Back	Office	UI.
Big	Numbers:
20	pages,	per	table	(1-2	months)
Dozens	to	Hundreds	of	Tables
UI	- Front	
Office
30%
UI	- Back	
Office
25%
Backend	-
SQL
10%
Backend	-
Logic
25%
Backend	-
Integration
10%
SYSTEM	COMPONENTS
Logic
Integration
API
7 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
API	Servers…	for	the	App	Economy
Conventional	Approach	Provides…	Stubs?!!
Web
Mobile
Partners
Web	
Hooks
DBs
API	
Server
Omni	Channel	Business
Shippers,	
Suppliers
1
Integration
3
2
LogicRaml,	Swagger
Stubs
Restify Schema	(?) Your	Code	
Goes..	Where?
8 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
API	Server	
Agility	for	the	App	Economy
Web
Mobile
Partners
Web	
Hooks
DBs
API	
Server
Omni	Channel	Business
Shippers,	
Suppliers
1
Integration
3
2
Logic
Client	Logic
• Read/Write
• Display
• Mobile	App	Services
API	Logic	- Automated
• Nested	Document	Model
• Mapping	and	Transformation	Logic
• Pagination,	Optimistic	Locking
• Generated	Key	Handling
• Extensible	– tags,	JavaScript
• Shared	Server	Logic	Invocation
Reactive	Logic
• Multi-Table	Derivations	and	Validations
• Row/Column	Security
• Extensible	– JavaScript,	Libraries
• Automatic	Object	Model
Integration	Logic
• Webhook Creation
• Webhook Processing
• SalesForce,	SAP,	…
9 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
1.	In-Coming	Requests
Resources:	Abstraction	Layer
• Point/click	Mapping	and	Transformation
• Nested	Document	Model
• Schema	Hiding,	for	API	Consumers
Activates	Underlying	Logic
• Separate	Concerns:	API	vs.	Backend	Logic
10 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
2.	Reactive	Logic
40X	More	Concise
Conventional:								~500	Lines	of	Code
Live	API	Creator:			13	Rules
11 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
3.	Out-going	Requests	– Systems	Integration
Automatic	Object	Model
Discovery	– Code	Completion
Resources	– point/click	mapping	
and	transformation
Extensibility	– Loadable	Libraries
12 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
3.	Database	Integration
Different	Servers
Different	Server	Types
Optimized	Cross-DB	Joins
13 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Reactive	Logic
Enable	Instant	Business	Relationships
APIs	Share	Logic.	Automatically.
API	Logic
Point/Click
Automatically	Invoked	
for	all	APS
Agility:	40X	More	Concise
Maintenance:	automatically	
ordered
14 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Managing	Your	APIs
Agility	for	the	App	Economy
Web
Mobile
Partners
Web	
Hooks
DBs
API	
Server
Omni	Channel	Business
Shippers,	
Suppliers
Gateway
• Security	(SSO)
• Throttling
• Transformation
Portal
• Discovery
• Documentation
15 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
LAC:	Enterprise	Agility	for	the	App	Economy
Key	Services,	for	a	Dramatic	Reduction	in	Effort
0
20
40
60
80
100
API	Logic Business	Logic
Your	Effort
Conventional LAC
Functionality
Logic
API	Logic
Abstraction	Layer
Restify Schema
Stubs
Conventional
16 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Instant	Business
Relationships
Instant	API	Creation,
Reactive	Logic,	plus…
Automatic	Logic	Reuse
Instant	Business	Relationships
APIs	Require	Logic
…Not	Agile
Thin	APIs	are	incomplete	
without	the	critical	logic	and	
integration.	
And	that’s	where	most	of	the	
work	lies	– not	agile.
Agility	via
Reactive	Logic
Innovative	Reactive	Logic:	
40X	more	concise
APIs	with	Logic	and	Integration
N-fold	faster than	conventional	
coding.
APIs	– Table	Stakes	for	the	App	Economy
With,	Agility	to	Compete
17 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Recommended	Sessions
SESSION	# TITLE DATE/TIME
DO3T18TV CA	Live	API	Creator:	API	Servers	vs.	App	Servers 11/16/2016	at	3:00	pm
DO3T17TV Integration	Strategies 11/17/2016	at	11:30	am
DO3T15TV Myth:	Low	Code	is	a	Toy 11/17/2016	at	03:45	pm
Innovation,	Empowering	Agility	for	the	App	Economy
http://www.ca.com/us/trials.html
18 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Questions?
19 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Thank	you.
Stay	connected	at	communities.ca.com
20 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
DevOps	– API	Management	and	
Application	Development
For	more	information	on	DevOps	– API	Management	and	
Application	Development,	please	visit:	http://cainc.to/DL8ozQ

Tech Talk: CA Live API Creator: APIs and the App Economy