Book 1 Best Practices for the Connoisseur
Total Page:16
File Type:pdf, Size:1020Kb
.NET Enterprise Solutions “Best Practices” for the connoisseur Willy-Peter Schaub, James Pereira i PUBLISHED BY Barone, Budge and Dominick (Pty) Ltd Developer Readiness Program Team 1 September 2004 Version 1 Revision 15 (June 2005) ISBN 0-620-33013-9 © Copyright 2004 Barone, Budge and Dominick (Pty) Ltd (BB&D), Johannesburg, South Africa All rights reserved. Any text, images, graphics, sound files, source files, animation files, video files, etc. and their arrangement in this handbook are subject to copyright and other intellectual property protection. No part of this handbook may be reproduced or transmitted in any form or by any means without the explicit permission of the publisher. No Warranties or Representations The information contained in this handbook represents the current view of BB&D on the issues discussed as of the date of publication. Because BB&D must respond to changes in technology and customers' changing computing and network environments, this handbook should not be interpreted to be a commitment on the part of BB&D and BB&D cannot guarantee the accuracy of any information presented after the date of publication. This handbook is for developer readiness, supportive and informational purposes only. The information is provided by BB&D "as is" and without warranty of any kind, expressed or implied, including (but not limited to) any implied warranties of merchantability, fitness for any particular purpose, or non-infringement. While the information provided is believed to be accurate, it may include errors or inaccuracies. Information in this document is subject to change without notice. Companies, names and data used in examples herein are fictitious unless otherwise noted. ii Overall Content Introduction ................................................................................................................................................... 1 Fundamentals ............................................................................................................................................. 13 Envisioning .................................................................................................................................................. 65 Designing .................................................................................................................................................... 83 Construction .............................................................................................................................................. 147 Testing ........................................................................................................................................................ 191 Deployment .............................................................................................................................................. 211 Office Integration Add-On ....................................................................................................................... 221 Java Integration Add-On ......................................................................................................................... 225 Mobile Device Add-On ............................................................................................................................ 229 Share Point Add-On.................................................................................................................................. 239 Appendices .............................................................................................................................................. 247 Index .......................................................................................................................................................... 311 iii Table of Contents Introduction ................................................................................................................................................... 1 Prerequisites ...................................................................................................................................................... 2 Foreword ........................................................................................................................................................... 3 Acknowledgements ........................................................................................................................................ 4 Comments by the authors ............................................................................................................................. 5 Introduction ...................................................................................................................................................... 6 System Requirements .................................................................................................................................. 6 Installing and Using Companion Files ....................................................................................................... 7 Installing the New Horizon solution ........................................................................................................ 7 Using the DRP Quick Reference Posters ............................................................................................... 7 Using the Microsoft Documentation, Posters and Software (DRP issue only) ................................ 7 Using the DRP tools ................................................................................................................................... 8 Using the 3 rd party tools (DRP issue only) .............................................................................................. 8 Using the Sample Code (DRP issue only) ............................................................................................. 8 Structure of this handbook ......................................................................................................................... 9 Handbook Design Overview .................................................................................................................... 10 Conventions in this handbook ................................................................................................................. 12 DRP Web Site .............................................................................................................................................. 12 Corrections and Comments .................................................................................................................... 12 Fundamentals ............................................................................................................................................. 13 Application Architecture .............................................................................................................................. 14 What is architecture and why have one? ............................................................................................. 14 Why consider an agnostic architecture? .............................................................................................. 14 Application Architecture Basics .............................................................................................................. 15 Layered Architecture ............................................................................................................................ 15 Separation of business logic from technology .................................................................................. 16 Common Presentation Portal ............................................................................................................... 16 Service Oriented Architecture (SOA) .................................................................................................. 17 Application Design ............................................................................................................................. 19 Benefits of SOA ................................................................................................................................... 20 Interoperability between SOA Layers (Future Proofing) ............................................................... 21 Interoperability Technologies and choosing the right one ............................................................. 21 XML Web Services .............................................................................................................................. 21 Application Bridges ............................................................................................................................ 21 Message-Oriented Middleware ....................................................................................................... 21 Integration Broker Middleware......................................................................................................... 22 Picking the right one … ..................................................................................................................... 23 Web Service or .NET Remoting? ....................................................................................................... 23 Technology Map .................................................................................................................................... 24 Security .......................................................................................................................................................