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 andone Cloud book
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
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
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
NO Vendor Lock-In with Docker
Supported by every major cloud provider:
munz & more #7
On premise -> all clouds
DockerRegistry
DockerContainerService
EC2ContainerService
GoogleContainerEngine
AzureContainerService
Bluemix Containers
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
Elastic Cluster
WebLogic 12.1.2: Dynamic Cluster configWebLogic 12.2.1: Elastic Cluster runtime
+ pre / post scalingcallout to scripts
munz & more #9
How to scale?• Console• WLST• REST• Policy/Action• Calendar based
Know The Essential Cloud Services
ACCS JCS OCCSDeployJava,Python,Rubycode+JSONfile:startcommand
DeployJavaEEmodule,JMS,JDBC,XA.
Deploy(stackof)Dockercontainers
Languagecontainerasservice
WebLogicasService
DockercontainerasService
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
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
Go to Storage & Set Policy
munz & more #19
You will only see this screen only once!
Not setting the policy causes all kind of weird issues
Prereq: Set Replication Policy
Details:https://docs.oracle.com/en/cloud/iaas/storage-cloud/cssto/selecting-replication-policy-your-service-instance.html
Prereq: Create DB as Service
A DB is mandatory for JCS
munz & more #22
DefineDB pwd Specify
Cloud log-in creadential
CreateStorageContainer
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
Create JCS
munz & more #30
DefineWLSpwd
SpecifyDB log-in details:‘sys’ +credentialDB create
NOT welcome1 !!
SpecifyStorage &log-in DetailsStorage admin
… you will likely forget the following:
munz & more #34
(Unfortunate)Default Setting:NO admin console but sample apps
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