Free Sample
+ Collection

JBoss AS 7 Development

Francesco Marchioni

Learn from an expert and master JBoss Application Server through this brilliantly accessible book. It irons out the difficulties and covers creating, debugging, and securing Java EE applications. The only manual you need.
RRP $29.99
RRP $49.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 139781782161349
Paperback326 pages

About This Book

  • A complete guide for JBoss developers covering everything from basic installation to creating, debugging, and securing Java EE applications on this popular, award-winning JBoss application server
  • Master the most important areas of Java Enterprise programming including EJB 3.1, JPA, Contexts and Dependency Injection, web services, the security framework, and more
  • Starts with the basics of JBoss AS 7 and moves on to cover important advanced topics with the help of easy-to-understand, practical examples

Who This Book Is For

If you are a Java architect or developer who wants to get the most out of the latest release of the JBoss application server, then this book is for you. You are not expected to have accumulated experience on the application server though you must know the basic concepts of Java EE.

Table of Contents

Chapter 1: Getting Started with JBoss AS 7
An overview of Java EE and JBoss AS 7
New features in JBoss AS 7
Installing the server and client components
Chapter 2: What's New in JBoss AS 7
AS 7 core concepts
The AS 7 filesystem
Managing the application server
Launching the web console
Deploying your first application to JBoss AS 7
Chapter 3: Beginning Java EE 6 – EJBs
EJB 3.1 – new features
Developing singleton EJBs
Deploying the EJB application
Creating a remote EJB client
Chapter 4: Learning Context Dependency Injection
Introducing Context and Dependency Injection
Chapter 5: Combining Persistence with CDI
Data persistence meets a standard
Adding persistence to our application
Creating the Maven project
Configuring persistence
Chapter 6: Testing Your Applications
Unit testing and integration testing
Getting started with Arquillian
Chapter 7: Developing Applications with JBoss JMS Provider
A short introduction to JMS
The building blocks of JMS
Chapter 8: Adding Web Services to Your Applications
Developing SOAP-based web services
Developing REST-based web services
Choosing between SOAP and REST services
Chapter 9: Managing the Application Server
Entering the JBoss Command Line Interface (CLI)
Using advanced languages to create powerful CLI scripts
Using the raw management API to manage the application server
Chapter 10: Clustering JBoss AS 7 Applications
Clustering basics
JBoss AS 7 clustering
Deploying clustered applications
Web application clustering
Chapter 11: Securing JBoss AS 7 Applications
Approaching the Java security API
Securing the transport layer

What You Will Learn

  • JBoss AS 7 essentials: the new file system structure, the new configuration, and what the difference is between standalone servers and domain servers, as well as introducing new management instruments
  • Move from the EJB Paradigm to CDI Beans and create a web application using CDI Beans
  • Set up the Arquillian environment and test your application from inside the container and outside
  • Discover the JBoss messaging provider and add Queues and Topics to your example. Advanced JMS: Consume messages from an external JMS Provider
  • Get started with JBoss web services providers and add SOAP-based web services to your example, as well as adding RESTful web services to your example
  • Write CLI scripts to manage your applications and dive deep into the Management API
  • Explore clustering the Web tier and clustering the service components on JBoss AS 7
  • Create login modules for your applications and secure the web tier of your application, as well as securing the EJB tier of the application


In Detail

JBoss Application Server meets high standards of reliability, efficiency, and robustness, and is used to build powerful and secure Java EE applications. It supports the most important areas of Java Enterprise programming including EJB 3.1, Contexts and Dependency Injection, JAX-WS and JAX-RS web services, the security framework, and more. Getting started with JBoss application server development can be challenging; however, with the right approach and guidance, you can easily master it and this book promises that.

Written in an easy-to-read style, this book will take you from the basics of JBoss AS—such as installing core components and plugins—to the skills that will make you a JBoss developer to be reckoned with, covering advanced topics such as developing applications with the JBoss messaging service, JBoss web services, clustered applications, and more.

You will learn the necessary steps to install a suitable environment for developing enterprise applications on JBoss AS. You will also learn how to design Enterprise applications using Eclipse, JBoss plugins, and Maven to build and deploy your applications. Readers will learn how to enable distributed communication using JMS. Storing and retrieving objects will be made easier using the Java Persistence API. The core section of the book will take you into the programming arena with tested, real-world examples. The example programs have been carefully crafted to be easy to understand and useful as starting points for your applications.

This practical guide will show you how to gain hands-on experience rapidly on Java EE development using JBoss AS with easy-to-understand and practical programming examples.


Read More