| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB Compiler |
| Contents | Index |
| Learn more about MATLAB Compiler |
| On this page… |
|---|

Note For comprehensive end-to-end implementations of the concepts in this chapter, see Sources for More Information. |
Most software contains a business service layer, which is a set of interfaces, business objects (and logic to manipulate them), and mechanisms for data access that run the core business.
A typical business service layer contains the following sublayers:
Interfaces — Typically the business service layer can implement several different interface types which all interact with common data elements and common business objects, all using the same business logic. Software and related services used to access business data from native or Web clients include:
Business Objects and Logic — This is business data expressed in the form of objects along with the logic to manipulate the objects. This data is loaded by a combination of inputs from the interfaces and data from the data access layer.
Data Access — This layer links to all lower-level data such as databases, where access into a deployed application would typically take place. Your generated component fits into this category, as it can be used as a mechanism through which to access the MATLAB Compiler Runtime (MCR).
Elements of the Business Service Layer

Depending on the size and complexity of an implementation some of these elements can overlap. The examples in this documentation assume direct communication from the interfaces into the DAO (data access object or wrapper utility) that you create.
All examples in this document are coded as stateless (with the exception of the MATLAB Builder JA™ WebFigures example) and are scalable. Servers can be added or augmented by a load balancer for performance tuning.
Tip To scale MATLAB Builder NE WebFigures, use the .NET Distributed Session setting. This enables all machines in your Web farm to use the same session. |
![]() | Business Service Developer Tasks | Creating a DAO for Deployment | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |