"Boost Your Digital Presence: Partner with a Leading SEO Agency"
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
1. Java Cloud Service & WLS 12c
What You Should Know
OTN LatAm Tour 2017 Dr. Frank Munz
munz & more
2. 2
Frank Munz
•Founded munz & more in 2007
•17 years Oracle Middleware,
Cloud, and Distributed Computing
•Consulting and
High-End Training
•Wrote two Oracle WLS and
one Cloud book
4. New in WebLogic 12.2.1
1. JDK 8
2. Java EE 7
3. IDE
4. Console
5. Deployment
6. JMS
7. Cluster
8. WLST
9. WLDF
10. REST
11. Docker
12. Multi Tenancy
13. ZDT
14. Java CloudService
munz & more #4
5. A Whirlwind Tour…
More details in this WebLogic 12c presentation
munz & more #5
https://www.slideshare.net/FrankMunz1/12-things-you-should-know-about-weblogic-server-1221-oow2015
6. WebLogic Multi Tenancy: Isolation
Tenants within a domain are isolated:
• Runtime: JDK: heap, CPU
• Security: realm, user
• Admin: life cycle, roles
• Data / traffic: JNDI, JDBC,Coherence,
requests
munz & more / globalcollect 2016
7. NO Vendor Lock-In with Docker
Supported by every major cloud provider:
munz & more #7
On premise -> all clouds
Docker
Registry
Docker Container Service
EC2 Container Service
Google Container Engine
Azure Container Service
Bluemix Containers
8. RESTful Admin: Read
Get server name and state of managed server
with name surf1 via admin server
GET (e.g. via web browser)
http://localhost:7001/management/weblogic/latest
/domainRuntime/serverLifeCycleRuntimes/
surf1?links=none&fields=name,state
Response:
{ "name": "surf1", "state": "RUNNING" }
munz & more #8
9. Elastic Cluster
WebLogic 12.1.2: Dynamic Cluster config
WebLogic 12.2.1: Elastic Cluster runtime
+ pre / post scaling
callout to scripts
munz & more #9
How to scale?
• Console
• WLST
• REST
• Policy/Action
• Calendar based
12. Know The Essential Cloud Services
ACCS JCS OCCS
Deploy Java, Python,
Ruby code
+ JSON file: start
command
Deploy Java EE
module, JMS, JDBC,
XA.
Deploy (stack of)
Docker containers
Language container
as service
WebLogic
as Service
Docker container
as Service
14. Developer CS
Cloud native SDLC
• Connects to github
• Includes
– maven
– Hudson
– Wiki pages
– Jira like ticket system
• Ready for testing
• Deploys to JCS, ACCS, Mobile CS
munz & more #14
Free
development
tooling in cloud
17. Prerequisites
JCS will never work, unless you …
1. set replication policy for storage
2. Create DB as a service for JCS
3. Create JCS
-> Write down all the passwords (which have different
requirements), ID domain, and storage container name
22. Prereq: Create DB as Service
A DB is mandatory for JCS
munz & more #22
Define
DB
pwd
Specify
Cloud
log-in
creadential
Create
Storage
Container
23. Storage Container
Correct syntax / name of storage container:
Storage-IDENDITYDOMAIN/yourContainerName
munz & more #23
You create it once
(with the DB).
Later specify it at
JCS configuration
50. Key Take Aways
Make sure to understand
• Java CS is WebLogic as a Service
• Dependencies with Storage and DB CS
• Storage Container name
• Little gotchas (admin console disabled)
• Port mappings
• ACCS for polyglot, lightweight, non Java EE
munz & more #50