Book Image

Microsoft Dynamics AX 2012 R2 Services

Book Image

Microsoft Dynamics AX 2012 R2 Services

Overview of this book

Table of Contents (17 chapters)
Microsoft Dynamics AX 2012 R2 Services
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

SysOperation versus RunBaseBatch


Before going into the details of using the new SysOperation framework, let's put it next to the RunBaseBatch framework to find out what the main differences between the two of them are.

The first difference is that the SysOperation framework uses WCF services to run the processes and handle communication between the client and server. One of the advantages of this is that the client/server communication is less chatty, so the connection doesn't need to be kept alive as opposed to the RPC communication of the RunBaseBatch framework.

The second big difference between the two is the way they implement the Model-View-Controller (MVC) pattern. The RunBaseBatch framework uses one class that extends from the RunBaseBatch class. All of the components contained in the MVC pattern are contained within the same class, described as follows:

  • The model is identified by the class members.

  • The view is handled by the dialog(), putToDialog(), and getFromDialog() methods. These...