Book Image

Getting Started with Oracle WebLogic Server 12c: Developer's Guide

Book Image

Getting Started with Oracle WebLogic Server 12c: Developer's Guide

Overview of this book

Oracle WebLogic server has long been the most important, and most innovative, application server on the market. The updates in the 12c release have seen changes to the Java EE runtime and JDK version, providing developers and administrators more powerful and feature-packed functionalities. Getting Started with Oracle WebLogic Server 12c: Developer's Guide provides a practical, hands-on, introduction to the application server, helping beginners and intermediate users alike get up to speed with Java EE development, using the Oracle application server. Starting with an overview of the new features of JDK 7 and Java EE 6, Getting Started with Oracle WebLogic Server 12c quickly moves on to showing you how to set up a WebLogic development environment, by creating a domain and setting it up to deploy the application. Once set up, we then explain how to use the key components of WebLogic Server, showing you how to apply them using a sample application that is continually developed throughout the chapters. On the way, we'll also be exploring Java EE 6 features such as context injection, persistence layer and transactions. After the application has been built, you will then learn how to tune its performance with some expert WebLogic Server tips.
Table of Contents (18 chapters)
Getting Started with Oracle WebLogic Server 12c: Developer's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Using RESTful management services


Starting with WebLogic Server 12c, there is a feature that enables us to monitor several aspects of a running domain, including its clusters, server instances, applications, and data sources, without resorting to the administration console or management scripts.

Tip

For a full list of resources that can be monitored through RESTful management services, check the documentation at http://docs.oracle.com/cd/E24329_01/web.1211/e26722/toc.htm.

WebLogic Server provides an address that can be queried to get information about specific components. The general format of this URL is http(s)://[host]:[port]/management/tenant-monitoring/[path] where:

  • If the server is configured to enforce SSL communication, you must use https to access the service

  • The host and port values must point to the host and port where the administration server is running

  • The path parameter will tell WebLogic which kind of resource you want to monitor, and also name a specific resource, such as servers...