JBoss Tools 3 Developers Guide

JBoss Tools 3 Developers Guide
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters


  • Develop complete JSF, Struts, Seam, Hibernate, jBPM, ESB, web service, and portlet applications using JBoss Tools
  • Tools covered in separate chapters so you can dive into the one you want to learn
  • Manage JBoss Application Server through JBoss AS Tools
  • Explore Hibernate Tools including reverse engineering and code generation techniques

Book Details

Language : English
Paperback : 408 pages [ 235mm x 191mm ]
Release Date : April 2009
ISBN : 1847196144
ISBN 13 : 9781847196149
Author(s) : Anghel Leonard
Topics and Technologies : All Books, Application Development, Java, JBoss, Open Source, Web Development

Table of Contents

Chapter 1: An overview of JBoss Tools
Chapter 2: JBoss AS Tools
Chapter 3: JBoss Tools Palette
Chapter 4: JSF Tools
Chapter 5: Struts Tools
Chapter 6: Seam Tools
Chapter 7: Hibernate Tools
Chapter 8: jBPM Tools
Chapter 9: ESB Tools
Chapter 10: Web Services Tools—JBossWS
Chapter 11: JBoss Portal Tools
  • Chapter 1: An overview of JBoss Tools
    • What's new in JBoss Tools 3?
    • Installing JBoss Tools
      • Installing Eclipse version 3.4.x (Eclipse Ganymede)
      • Installing JBoss Tools through Eclipse software updates
      • Manual installation of JBoss Tools
    • Summary
  • Chapter 2: JBoss AS Tools
    • JBoss AS plug-in and the Eclipse Web Tools Platform
      • Adding a WTP Runtime in Eclipse
      • Adding a WTP server in Eclipse
    • Creating our first web project—a dynamic web project stub
      • Deploying the test project on JBoss 4.2 Server
    • JBoss AS Perspective
      • JBoss Server View
        • Top part of JBoss Server View
        • Bottom part of JBoss Server View
        • Project archives view
        • Creating and deploying projects
    • Summary
  • Chapter 3: JBoss Tools Palette
    • JBoss Tools Palette Toolbar
      • Palette Editor
        • Creating a set of icons
        • Importing an icon
        • Creating a group of tag libraries
        • Creating a tag library
        • Creating a new tag
      • Show/Hide
      • Importing third-party tag libraries
    • Using tags in text files
    • Summary
  • Chapter 4: JSF Tools
    • Overview of JSF
    • Creating a JSF project stub
    • JSF Project Verification
    • JSF application configuration file
      • The Diagram view
        • Creating pages
        • Adding navigation rules
      • The Tree view
        • Working with Managed Beans
        • Working with custom converters
        • Working with custom validators
      • The Source view
    • Editing pages code sources
      • Editing the register.jsp page
      • Editing the success.jsp page
      • Editing a start page for the registerJSF project
      • Testing the registerJSF project
    • Adding/Removing JSF capabilities for an existing project
    • Facelets support
    • Summary
  • Chapter 5: Struts Tools
    • Overview of Struts
    • Struts project verification
    • Creating a Struts project stub
    • Struts editors
      • Graphical editor for struts-config.xml
        • Diagram view
        • Let's add some code inside JSPs
        • Generate source code
        • Tree view
        • Source view
      • Graphical editor for tiles files
        • Creating a new tiles file
        • Tree view
        • Diagram view
        • Source view
      • Create a start page for the registerStruts application
      • Testing registerStruts application
      • Struts Tools and validation aspects
        • Turning on the automatic validator
        • Creating the properties file for validation purposes
        • Graphical editor for validation files
        • Client-side validation
        • Server-side validation
    • Debugging support for Struts projects
    • Summary
  • Chapter 6: Seam Tools
    • Overview of Seam
    • Preparations
    • Creating a new Seam project
      • General section
      • Database section
      • Code Generation section
    • Test testSeam project
    • Creating Seam components
      • Creating a Seam Action
      • Creating a Seam Form
      • Creating a Seam Conversation
      • Creating a Seam Entity
    • Seam views
      • Seam Components view
      • Project Explorer view
    • Using TestNG for Seam projects
    • Generating a Seam project from an existing database
      • Running the generated Seam application (generateSeam)
    • Modify Seam preferences
    • Summary
  • Chapter 7: Hibernate Tools
    • Overview of Hibernate
    • Preparations
    • Hibernate Tools for Eclipse
      • Manual installation
      • Hibernate perspective
      • Creating a Hibernate mapping file (.hbm.xml)
        • Hibernate XML Editor
      • Creating a Hibernate configuration file
        • Hibernate Configuration XML Editor
      • Creating a Hibernate Console Configuration
        • Main tab
        • Options tab
        • Classpath tab
        • Mappings tab
        • Common tab
        • Hibernate Configurations view
        • Hibernate Query Result view
        • Hibernate Dynamic SQL Preview view
        • Query Parameters view
        • Properties view
      • Reverse engineering and code generation techniques
        • Main tab
        • Exporters tab
        • Refresh tab
        • Common tab
        • Generating Hibernate artifacts
        • Customize and control reverse engineering (reveng.xml)
    • Hibernate Tools for Ant
      • The <hibernatetool> Ant Task
      • Adding Hibernate tools dependencies
      • Hibernate Configurations
      • Hibernate Tools exporters
        • Hibernate Mapping Files Exporter
        • POJOs Exporter
        • Hibernate Configuration File Exporter
        • Database Schema Exporter
        • Documentation Exporter
        • Query Exporter
        • Import all libraries dependencies
    • Summary
  • Chapter 8: jBPM Tools
    • Downloading and installing the JBoss jBPM Suite
    • Creating a jBPM stub project
    • Creating a jBPM process definition
    • Launching the jBPM JPDL perspective
    • jBPM GPD Editor
      • Diagram view
        • Adding states
        • Adding task-nodes
        • Adding nodes
        • Adding a fork-join system
        • Adding a mail node
        • Adding transitions
        • Customizing node names
        • Customizing transition's names
        • Defining swimlanes
        • Defining a task for the start-state
        • Defining a task for the task-node
        • Decorating graph with actions
        • Configuring Mail node
      • Source view
      • Design view
      • Deployment view
    • Running a process on JBoss jBPM server
    • Creating a JUnit test for a jBPM process
    • Summary
  • Chapter 9: ESB Tools
    • Downloading and installing the JBossESB Server
    • Creating a JBossESB stub project
    • JBoss ESB Editor
      • Defining a Service skeleton in JBossESB
      • Defining the Action Pipeline
      • Defining a list of Listeners
    • Configuring message queues in JBossESB Server
    • Indicating the classes loading order
    • Sending an ESB Message through the ServiceInvoker
    • Sending a JMS Message in a classical manner
    • Service Registry configuration
    • Importing the "endorsed" libraries
    • Preparing and deploying a Service on JBossESB Server
    • Testing the ESB Service
    • What just happened?
    • Summary
  • Chapter 10: Web Services Tools—JBossWS
    • Overview of Web Services
    • Downloading and installing JBossWS Native
    • Configuring JBossWS under Eclispe IDE
    • Creating a web service using Web Services Tools
      • Adding the JBoss Web Service facet
      • Writing a WSDL document using the WSDL wizard
      • Generating the web service from a WSDL document
        • Providing service business logic
      • Generating the web service's client from a WSDL
        • Providing client business logic
      • Deploying and testing a web service
    • Testing a web service through Web Services Explorer
    • Creating a Web service from a Java bean
    • Publishing web services and business entities
      • A brief introduction to UDDI
      • JBoss AS 4.2 and jUDDI
      • Preparing the jUDDI database
      • Using Web Services Explorer as a UDDI Browser
      • Adding a Registry to the Web Services Explorer
        • Publishing a business entity
        • Publishing a web service
        • Discovering our own web service through WSE
        • Discovering "external" web service through WSE
      • WSDL to WSIL, WSIL in WSE
        • Convert WSDL to WSIL
        • WSIL and WSE
    • Summary
  • Chapter 11: JBoss Portal Tools
    • Overview of Portals and Portlets
    • Downloading and installing JBoss Portal + JBoss AS
    • Configuring the JBoss Portal bundle under Eclipse IDE
    • Starting JBoss Portal
    • Adding a Java portlet in JBoss Portal
      • Adding JBoss Portlets Facet
      • Creating a Java Portlet
    • Deploying and running a portlet
    • Adding a JSP portlet in JBoss Portal
      • Creating a JSP Portlet
        • Implementing the init method
        • Implementing the doView method
        • Implementing the view.jsp page
        • Implementing the doEdit method
        • Implementing the edit.jsp page
        • Implementing the doHelp method
        • Implementing the help.jsp page
        • Implementing the processAction method
        • Writing and configuring a dedicated validator
    • Adding a JSF portlet in JBoss Portal
    • Adding a Seam portlet in JBoss Portal
    • Summary

Anghel Leonard

Anghel Leonard is a senior Java developer with more than 13 years of experience in Java SE, Java EE, and related frameworks. He has written and published more than 50 articles about Java technologies and more than 500 tips and tricks for many websites that are dedicated to programming. In addition, he has written the following books:

  • Tehnologii XML XML în Java, Albastra
  • Jboss Tools 3 Developer's Guide, Packt Publishing
  • JSF 2.0 Cookbook, Packt Publishing
  • JSF 2.0 Cookbook: LITE, Packt Publishing
  • Pro Java 7 NIO.2, Apress
  • Pro Hibernate and MongoDB, Apress

Currently, Anghel is developing web applications using the latest Java technologies on the market (EJB 3.0, CDI, Spring, JSF, Struts, Hibernate, and so on). Over the past two years, he's focused on developing rich Internet applications for geographic information systems.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

JBoss Tools 3 Developers Guide +    Gnucash 2.4 Small Business Accounting: Beginner's Guide =
50% Off
the second eBook
Price for both: £21.95

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book


  • Develop Java web applications through JBoss Tools perspective, using powerful technologies, like JSF, Seam, Struts, jBPM ,and so on
  • Configure different JBoss AS distributions under Eclipse Ganymede
  • Download and install Eclipse Ganymede
  • Learn how to use the JBoss AS Tools to configure, start, stop, and monitor the JBoss AS directly from Eclipse IDE.
  • Customize JBoss Tools Palette and learn how to use it to develop text files that contain tags
  • Explore Web Services Tools for writing WSDLs, generating web services, and publishing web services based on UDDI (jUDDI) and WSIL
  • Create projects with Portlet Facets, Java Portlet wizard, and JSF/Seam Portlet wizard using the Portal Tools wizard
  • Learn to develop JBossESB Services using ESB Tools
  • Generate a complete web service from a WSDL document and from a Java bean using WS Tools wizards

In Detail

JBoss Tools consist of the best Java frameworks and technologies placed together under the same "roof". Discovering JBoss Tools is like exploring a cave; at first everything seems unknown and complicated, but once you become familiar with the main features of the Tools, you will start to feel at home.

This is the first book in the market on JBoss Tools, waiting to assist you to throw away all the tiny, dedicated tools you have used earlier, thus helping you to reduce the time you spend on developing a Java application. This book will explore the tools that will help you to build Hibernate, Seam, JSF, Struts, Web Services, jBPM, ESB, and so on and show you how to use them through screenshots, examples, and source code. JBoss Tools comes with a set of dedicated wizards, generators, editors, reverse engineering capabilities, configuration files, templates, syntax highlighting, and more for each of these technologies. Just choose the technologies, and JBoss Tools will glue them together in amazing Java web applications.

This book will show you how to develop a set of Java projects using a variety of technologies and scenarios. Everything is described through JBoss Tools "eyes". After we settle the project (or scenario) that will be developed, we configure the proper environment for the current tool (the selected projects cover the main components of a web application, with regard to the backstage technology). We continue by exploring the tool to accomplish our tasks and develop the project's components. A cocktail of images, theoretical aspects, source code, and step-by-step examples will offer you a complete insight into every tool.

At the end, we deploy and test the project. In addition, every chapter is rich with pure notions about the underlying technology, which will initiate into you or remind you of the basic aspects of it. It will also show you complete and functional applications, and get you familiar with the main aspects of every tool. By the end you will have enough information to successfully handle your own projects with JBoss Tools.

This book will drive you beyond the basics of the JBoss Tools world with theoretical aspects and practical examples


Since these technologies covered are different from each other, they are covered in separate chapters that are not interdependent; therefore you can learn to use whichever tool you want, without exploring the previous chapters. This approach sustains the learning per example paradigm and helps you to use the book as a quick guide for your favorite technologies.

Who this book is for


This book is recommended for Java developers who use at least one of the covered technologies (JSF, Struts, Hibernate, Seam, and so on). It is for all Java developers who are looking for a powerful, unitary tool, especially designed to increase the speed of development and quality of Java web applications.

No matter how much (or how little) experience they have, developers of all levels will benefit as their use of JBoss Tools is directly proportional to the complexity of their application. Since JBoss Tools covers all levels of experience, you can use it at your own level for your own applications, without involving unnecessary features. All you need is to be familiar with the Eclipse environment and Java core, and to have some expertise in the technology for which you want to use the JBoss Tools. Basic expertise for each technology is provided in the book, but for more complete and detailed aspects you should read dedicated specifications, tutorials, and articles.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software