Book Image

IBM Websphere Portal 8: Web Experience Factory and the Cloud

Book Image

IBM Websphere Portal 8: Web Experience Factory and the Cloud

Overview of this book

IBM WebSphere® Portal is a cost- effective, scalable, and proven solution for the portal enterprise space. Given the depth and the breadth of WebSphere Portal and the challenges of developing a portal project, you need a book that covers all the nuances of the entire portal project lifecycle. This book accomplishes just that. In this book, we cover topics that range from portal assessment, governance, and architecture, to design and development. These topics are covered not only within these traditional areas, but also within the cloud environment context. Keeping both contexts in mind, several chapters are dedicated to portal and portlet testing, troubleshooting, performance monitoring, best practices, and tuning. The cloud option is also analyzed and discussed for hosting, developing, and publishing portal applications. We also cover Web Experience Factory (WEF) as the tool of choice for portlet development. We take you from the introduction to the development of advanced portlets in an intuitive and efficient manner. We cover not only common topics, such as builders, models, and user interface development, but also advanced topics, such as Dojo builders, Ajax techniques, and WEF performance. Within the WEF space, we cover other topics, which have never been covered before by any other competing book. You will learn how to develop multichannel applications, including web mobile applications and you will learn about the model types available for portlet development, including when and how to utilize them. We also present and discuss numerous aspects and facets of implementing a WEF project and what it takes to successfully deliver them. The richness and the profundity of the topics combined with an intuitive and well-structured presentation of the chapters will provide you with all the information you need to master your skills with the IBM WebSphere Portal project lifecycle and Web Experience Factory.
Table of Contents (27 chapters)
IBM WebSphere Portal 8: Web Experience Factory and the Cloud
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface

WEF testing


WEF's Model Action Tracing allows WEF specialists to test their code with tracing to look at the application flow, find problem, and execute some level of debugging. It helps them identify slow methods and code response. Besides, it also performs the following:

  • It looks at actions and subactions for every portlet request

  • It looks at time spent in each subaction for every portlet request

  • It is triggered with a property or within WEF designer perspective using the Run command

  • It is recommended for use only during development

  • It looks at a single-user test case executed manually or automatically

  • It is saved in the Web Experience Factory WAR folder for each WAR file, for example modelActions.txt in text format at WEB-INF/logs

WEF performance best practices are as follows:

  • Use runtime and schema caching whenever plausible and cache across users.

  • Consider the scope of variables (request, read-only, read/write) while avoiding the use of request scope for large XML variables with high usage...