Cargando…

JBoss AS 5 development /

This book follows a tutorial-based approach starting with simple examples, which are enriched in the following chapters as new topics are introduced. Each chapter provides clear instructions and detailed screenshots, as the user approaches a new facet of the development environment. Most complex top...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Marchioni, Francesco
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, U.K. : Packt Pub., 2009.
Colección:From technologies to solutions.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Table of Contents; JBoss AS 5 Development; JBoss AS 5 Development; Credits; About the Author; About the Reviewers; Preface; What this book covers; Who this book is for; Conventions; Reader feedback; Customer support; Errata; Piracy; Questions; 1. Installing Core Components; Prologue; What you will get in this book; JBoss big bang; Introduction; Installing the Java environment; Installing JBoss AS 5; Starting up JBoss AS; Stopping JBoss; Stopping JBoss on a remote machine; Installing Eclipse; Plugins: The heart of Eclipse; Installing JBoss Tools plugins; Installing JBoss Tools plugins manually.
  • Connecting Eclipse with JBossSummary; 2. What's New in JBoss AS 5?; Application server features; The core modules of JBoss AS 5; Cutting edge EJB container; The new messaging provider; Rock solid transaction manager; Enhanced web container; JBoss Web Services 3.0; Improved clustering support; The application server structure; The next generation application server; From JMX to the Microcontainer; The new library configuration; JBoss AS 5 server configurations; The ""standard"" configuration; The ""web"" configuration; The former server configurations; Creating a custom server configuration.
  • The starting point: JBoss AS service mapCustom configuration sample: Adding JMS to the web configuration; JBoss virtual file system; Summary; 3. Customizing JBoss AS Services; How to monitor JBoss AS services; The JMX console; An example: Using the JMX console to display the JNDI tree; The admin console; The twiddle utility; JBoss AS thread pool; Application server thread pool anatomy; How many threads for your applications?; Analyze what your threads are doing; Configuring logging services; Appenders; Console file appender; Changing the configuration at runtime; File appenders.
  • Rolling the file by sizeOther appenders; Layout of logs; Logging categories; Configuring your own logger; Managing logs through JMX agents; Configuring the connection to the database; Configuring a datasource in JBoss AS; Additional datasource properties; Setting up a new datasource; Gathering connection pool statistics; Managing datasources from the admin console; Using statistics to tune the connection pool; Deploying datasources at application level; High availability datasources; Clustered RDBMS; Connecting from a remote client; Configuring the transaction service.
  • Preserving data integrityGlobal and local transactions; Configuring JBoss transactions; Monitoring transactions; Summary; 4. Developing EJB 3 Session Beans; Java EE made easier; Developing Enterprise JavaBeans; Developing Session Beans; Stateless Session Beans; Life cycle of a Stateless Session Bean; Setting up a simple example; Deploying your application; Creating a test client; Adding interceptors to your Bean; Stateful Session Beans; Stateful Bean life cycle; Developing a simple Stateful Session Bean; Configuring the EJB container; Configuring Stateless Session Bean pool size.