Free Sample
+ Collection

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

Fabio Mazanatti Nunes, William Markito Oliveira

If you’ve dipped a toe into Java EE development and would now like to dive right in, this is the book for you. Introduces the key components of WebLogic Server and all that’s great about Java EE 6.
RRP $32.99
RRP $54.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849686969
Paperback374 pages

About This Book

  • Create a complete Java EE 6 application leveraging WebLogic features like JMS, SOAP and RESTful Web Services
  • Learn how to use Oracle WebLogic Server's key components and features
  • Step-by-step instructions with screenshots and code samples to help understand and apply concepts

Who This Book Is For

Getting Started with Oracle WebLogic Server 12c: Developer's Guide is written for developers who are just getting started, or who have some experience, with Java EE who want to learn how to develop for and use Oracle WebLogic Server. Getting Started with Oracle WebLogic Server 12c: Developer's Guide also provides a great overview of the updated features of the 12c release, and how it integrates Java EE 6 and JDK 7 to remove boilerplate code.

Table of Contents

Chapter 1: Overview of WebLogic Server 12c and Related Technologies
Introducing Oracle WebLogic Server 12c
Overview of JDK 7
Delving into Java EE 6
Other technologies in the book
The Cloud Application Foundation (CAF)
Web resources
Chapter 2: Setting Up the Environment
About the directory structure
Installing JDK 1.7
Installing Oracle WebLogic Server
Installing Oracle Enterprise Pack for Eclipse (OEPE)
Installing MySQL
Preparing PrimeFaces
Setting up a WebLogic domain
Configuring Eclipse and OEPE
Referencing MySQL databases
Using OpenLDAP
Web resources
Chapter 3: Java EE Basics – Persistence, Query, and Presentation
The business scenario – movie ticket system
Organizing projects in Eclipse
Creating the StoreBO project
The Store web project
Web resources
Chapter 4: Creating RESTful Services with JAX-RS
Creating Theater entities
Creating the Theater web application
Exposing RESTful Services through JAX-RS
Creating the REST client
Structuring the web application
Web resources
Chapter 5: Singleton Bean, Validations, and SOAP Web Services
Using bean validation
Singleton session beans
Persisting an object using JPA
A brief intermission
Web services and SOAP
Web resources
Chapter 6: Using Events, Interceptors, and Logging Services
Understanding interceptors
Using asynchronous methods
Understanding WebLogic's logging service
Web resources
Chapter 7: Remote Access with JMS
WebLogic clients
Java Messaging Service (JMS) and WebLogic
Posting messages from a standalone client
Consuming messages with an MDB
Configuring thread limits for MDBs
The Store-and-Forward client feature
Chapter 8: Adding Security
Exploring Java SE and Java EE security
WebLogic security
Using an external LDAP server
Securing the web application
Protecting WebLogic resources
Signing up a user and OpenLDAP
Web resources
Chapter 9: Servlets, Composite Components, and WebSockets
Overview of JavaServer Faces
Learning a few Servlet tricks
Using WebSockets
Web resources
Chapter 10: Scaling Up the Application
Introducing the Node Manager
Defining machines
Using Cluster and Managed Servers
Configuring a software load balancer
Using a singleton service
Using Oracle Coherence
Web resources
Chapter 11: Some WebLogic Internals
Understanding deployment structures
Using FastSwap to reduce deployment time
Packaging modules into an application
Using the Classloader Analysis Tool (CAT)
Using RESTful management services
Web resources

What You Will Learn

  • Create and package applications and shared libraries that use Java EE resources such aspersistence layer, interceptors, and managed beans
  • Expose and consume Web Services using both SOAP (JAX-WS) and REST (JAX-RS) technologies
  • Utilize WebLogic Server’s security providers to add authentication and authorization to an application
  • Publish and consume messages using JMS features, understanding and programming both server and standalone client pieces
  • Scale up your application using features such as session replication, caching and optimized data access
  • Unlock WebLogic’ full potential with expert performance tuning tips
  • Understand the concepts and usage of validators, events, and listeners

In Detail

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.


Read More