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

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

Fabio Mazanatti Nunes, William Markito Oliveira

Partager le livre
  1. 372 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

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

Fabio Mazanatti Nunes, William Markito Oliveira

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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.

Approach

Getting Started with Oracle WebLogic Server 12c is a fast-paced and feature-packed book, designed to get you working with Java EE 6, JDK 7 and Oracle WebLogic Server 12c straight away, so start developing your own applications.

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Getting Started with Oracle WebLogic Server 12c: Developer's Guide est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Getting Started with Oracle WebLogic Server 12c: Developer's Guide par Fabio Mazanatti Nunes, William Markito Oliveira en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Programming in Java. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2013
ISBN
9781849686969
Édition
1

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


Table of Contents

Getting Started with Oracle WebLogic Server 12c: Developer's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Overview of WebLogic Server 12c and Related Technologies
Introducing Oracle WebLogic Server 12c
WebLogic Server @ Oracle
Most relevant features
Overview of JDK 7
The Project Coin
The diamond operator
The try-with-resources statement
Strings in switch statements
Manipulating binary integral literals
Exception handling with multicatch statements
Delving into Java EE 6
Other technologies in the book
Oracle Enterprise Pack for Eclipse
Oracle Coherence
PrimeFaces
MySQL
The Cloud Application Foundation (CAF)
Oracle Traffic Director
Oracle Tuxedo
Oracle Virtual Assembly Builder
Oracle Exalogic and WebLogic 12c
Web resources
Java and Java EE 6
WebLogic 12c
Coherence
Other tools
Summary
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
Installing on Linux using a package manager
Downloading and installing manually
Disabling case sensitivity for tables on Unix/Linux
Some Windows specifics
Configuring MySQL databases
Preparing PrimeFaces
Downloading the binaries
Creating a shared library
Setting up a WebLogic domain
Configuring Eclipse and OEPE
Linking WebLogic's runtime environment
Adding a reference to the PrimeFaces' shared library
Linking WebLogic Server's instance
Referencing MySQL databases
Creating WebLogic data sources
Adding database connections to Eclipse
Using OpenLDAP
Installing OpenLDAP
Configuring an OpenLDAP server
Loading sample entries and testing
Web resources
Summary
3. Java EE Basics – Persistence, Query, and Presentation
The business scenario – movie ticket system
Business entities of the system
Organizing projects in Eclipse
Creating the StoreBO project
Generating classes from database tables
Creating named queries
Tweaking the persistence.xml file
Packing the project
The Store web project
Adding references to PrimeFaces' shared library
Adding references to StoreBO
Referencing the persistence configuration file
Creating a named bean
Configuring the Web descriptor
Defining the test page
Deploying and testing the application
Web resources
Summary
4. Creating RESTful Services with JAX-RS
Creating Theater entities
Customizing the generated entities
Creating named queries
Preventing cyclic references
Formatting exhibitions' date and time
Completing the persistence.xml file
Packaging the library
Creating the Theater web application
Setting up the project
Enabling JAX-RS
Exposing RESTful Services through JAX-RS
Coding the API
Testing the web service
Creating the REST client
Configuring JAX-RS client libraries and optional package
Creating the web service consumer
Updating the SearchManager bean
Updating the query page
Structuring the web application
Applying templates through Facelets
Creating an entity listing page
Web resources
Summary
5. Singleton Bean, Validations, and SOAP Web Services
Using bean validation
About built-in constraints
Combining and grouping validation rules
Creating a custom constraint
Coding a constraint validator
Showing validation messages
Using the message component
PrimeFaces's Growl
Dealing with null and empty strings on JSF components
Singleton session beans
Implementing a singleton session bean
Understanding how to use the startup annotation
Establishing a startup and shutdown sequence
Dealing with concurrency when using singletons
Singleton applied to web services
Persisting an object using JPA
Understanding the available transaction contexts
Using container-managed transactions
Using bean-managed transactions
Acquiring a transaction context manually
A brief intermission
Web services and SOAP
The reservation web service
Testing the service provider
Consuming the service
Web resources
Summary
6. Using Events, Interceptors, and Logging Services
Understanding interceptors
Creating a log interceptor
Interceptors and Aspect Oriented Programming
Using asynchronous methods
Understanding WebLogic's logging service
Anatomy of a log message
Redirecting standard output to a log file
Integrating Log4J to WebLogic's logging services
Accessing and reading log files
Events
Defining audit events
Web resources
Summary
7. Remote Access with JMS
WebLogic clients
Thin T3 client – wlthint3client.jar
RMI thin client – wlclient.jar
JMS thin client – wljmsclient.jar
JMS SAF client – wlsafclient.jar
JMS T3 SAF client – wlsaft3client.jar
Full client – wlfullclient.jar
JMX client – wljmxclient.jar
Java Messaging Service (JMS) and WebLogic
The persistent store
The JMS server
The JMS module
The JMS subdeployment
The JMS queue
The JMS connection factory
Posting messages from a standalone client
C...

Table des matiĂšres