Book Image

Application Development for IBM WebSphere Process Server 7 and Enterprise Service Bus 7

Book Image

Application Development for IBM WebSphere Process Server 7 and Enterprise Service Bus 7

Overview of this book

By adopting an SOA approach in Business Process Management (BPM), you can make your application flexible, reusable, and adaptable to new developments. The SOA approach also gives you the potential to lower costs (from reuse), and increase revenue (from adaptability and flexibility). However, integrating basic SOA constructs (such as Process, Business Services, and Components) and core building blocks of BPM (such as Process Modeling and Enterprise Service Bus) in a real-world application can be challenging.This book introduces basic concepts of Business Integration, SOA Fundamentals, and SOA Programming Model and implements them in numerous examples. It guides you to building an Order Management application from scratch using the principles of Business Process Management and Service Oriented Architecture and using WebSphere Process Server (WPS) and WebSphere Enterprise Service Bus (WESB). The various detailed aspects, features, and capabilities of the product are conveyed through examplesWe begin with essential concepts on Business Integration, SOA Fundamentals and SOA Programming Model. Then we set up the development environment to build your first Hello Process and Hello Mediation applications.Gradually, we build an SOA-based Order Management Application. We cover important aspects and functions of WPS and WESB with numerous practical examples. We show how to analyze your application's business requirements and check if an SOA approach is appropriate for your project. Then you do a top-down decomposition of your application and identify its use cases, business processes, and services. Having built the SOA Application, we introduce you to various non-functional topics, including: Administration, Governance, Management, Monitoring, and Security. We also discuss deployment topologies for WPS and WESB, performance tuning, and recommended practices.
Table of Contents (20 chapters)
Application Development for IBM WebSphere Process Server 7 and Enterprise Service Bus 7
Credits
About the Authors
About the Reviewers
Preface
WID, WPS, and WESB Tips, Tricks, and Pointers
Index

Any suggested method to backup WID?


WID as such will have to be backed up using tools like Norton Ghost, which allows you to create full system backups and to restore from system failures. But there may be cases where your WID test environment profiles can get corrupted. The practical suggestion to back WID profiles would be to use the manageprofiles utility. The manageprofiles command-line tool allows you to not only create a new profile, but also to back up and restore profiles. A profile backup does a file system backup of the entire profile directory (not just the XML configuration) and the profile metadata from the profile registry file. To back up a profile, stop the server to be backed up and issue the following command (by switching to the <WID_HOME>\runtimes\ bi_v7_stub\bin folder or <WPS_HOME>/bin)

manageprofiles(.bat)(.sh) -backupProfile -profileName profile_name -backupFile backupFile_name -username user_name -password password

The following message is displayed:

INSTCONFSUCCESS: Success: The profile backup operation was successful.

Please note that, you must first stop the server and the running processes for the profile that you want to back up. For more information on manageprofiles, refer to:

http://publib.boulder.ibm.com/infocenter/dmndhelp/v7r0mx/topic/com.ibm.websphere.wps.doc/doc/rins_manageprofiles_parms.html

Restoring a profile from a backup

Backed up profiles can be restored using the –restoreProfile option. To restore a profile from a backup, perform the following steps:

  1. Make sure the server is stopped.

  2. Manually delete the directory for the profile from the filesystem.

  3. Run the -validateAndUpdateRegistry option of the manageprofiles command.

Restore the profile by using the -restoreProfile option of the manageprofiles command (by switching to the <WID_HOME>\runtimes\ bi_v7_stub\bin folder or <WPS_HOME>/bin).

manageprofiles(.bat)(.sh) -restoreProfile profile_name -backupFile backupFile_name