Book Image

JBoss Tools 3 Developers Guide

Book Image

JBoss Tools 3 Developers Guide

Overview of this book

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.
Table of Contents (16 chapters)
JBoss Tools 3 Developer's Guide
Credits
About the Author
About the Reviewers
Preface

Adding a Seam portlet in JBoss Portal


Based on the experience provided by the previous sections, it will be a "walk in the park" to develop a Seam portlet. Start by developing a Dynamic Web Project stub, and name it mySeamPortlets. When mySeamPortlets project is available in the Package Explorer, it is time to add a Seam Portlet facet for it. For this, follow these steps:

  1. 1. In the Package Explorer view, right-click on the mySeamPortlets node and select the Properties option from the contextual menu.

  2. 2. From the left panel (tree representation), select the Project Facets node.

  3. 3. In the middle panel, expand the JBoss Portlets node and select the JBoss Seam Portlet checkbox. Note that JBoss Seam Portlet facet 1.0 depends on four other facets: JBoss Core Portlet facet 1.0 (or newer), JBoss JSF Portlet facet 1.0 (or newer), JavaServer Faces facet 1.2 (or newer), and Seam facet 2.0 (or newer). Therefore, select these facets by checking the corresponding checkboxes (as shown in the following screenshot...