MATLAB® Application Deployment Web Example Guide How to Contact MathWorks www.m
MATLAB® Application Deployment Web Example Guide How to Contact MathWorks www.mathworks.com Web comp.soft-sys.matlab Newsgroup www.mathworks.com/contact_TS.html Technical Support suggest@mathworks.com Product enhancement suggestions bugs@mathworks.com Bug reports doc@mathworks.com Documentation error reports service@mathworks.com Order status, license renewals, passcodes info@mathworks.com Sales, pricing, and general information 508-647-7000 (Phone) 508-647-7001 (Fax) The MathWorks, Inc. 3 Apple Hill Drive Natick, MA 01760-2098 For contact information about worldwide offices, see the MathWorks Web site. MATLAB® Application Deployment Web Example Guide © COPYRIGHT 2008–2011 by The MathWorks, Inc. The software described in this document is furnished under a license agreement. The software may be used or copied only under the terms of the license agreement. No part of this manual may be photocopied or reproduced in any form without prior written consent from The MathWorks, Inc. FEDERAL ACQUISITION: This provision applies to all acquisitions of the Program and Documentation by, for, or through the federal government of the United States. By accepting delivery of the Program or Documentation, the government hereby agrees that this software or documentation qualifies as commercial computer software or commercial computer software documentation as such terms are used or defined in FAR 12.212, DFARS Part 227.72, and DFARS 252.227-7014. Accordingly, the terms and conditions of this Agreement and only those rights specified in this Agreement, shall pertain to and govern the use, modification, reproduction, release, performance, display, and disclosure of the Program and Documentation by the federal government (or other entity acquiring for or through the federal government) and shall supersede any conflicting contractual terms or conditions. If this License fails to meet the government’s needs or is inconsistent in any respect with federal procurement law, the government agrees to return the Program and Documentation, unused, to The MathWorks, Inc. Trademarks MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. Patents MathWorks products are protected by one or more U.S. patents. Please see www.mathworks.com/patents for more information. Revision History March 2008 Online only New for MATLAB® Compiler™Version 4.8 (Release R2008a) October 2008 Online only Revised for MATLAB® Compiler™Version 4.9 (Release R2008b) March 2009 Online only Revised for MATLAB® Compiler™Version 4.10 (Release R2009a) September 2009 Online only Revised for MATLAB® Compiler™Version 4.11 (Release R2009b) March 2010 Online only Revised for MATLAB® Compiler™Version 4.13 (Release R2010a) September 2010 Online only Revised for MATLAB® Compiler™Version 4.14 (Release R2010b) April 2011 Online only Revised for MATLAB® Compiler™Version 4.15 (Release R2011a) Contents How to Use This Guide 1 About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Who Should Use This Guide? . . . . . . . . . . . . . . . . . . . . . . . 1-3 Commonly Used Software and Preliminary Setup Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 MATLAB Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Integration Experts (Middle-Tier Developer and Front-End Web Developer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 End User . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 Web 101: An Introduction to Web Concepts and Terminology 2 Why Learn About Java Web Concepts and Terminology? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Basics of Web Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 HTML Documents and HTTP . . . . . . . . . . . . . . . . . . . . . . . 2-3 Integrating MATLAB Code on the Web Using Java Servlets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 Optimizing Performance of Servlets That Call Your MATLAB Web Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 Maintaining Data Integrity Through Proper Scoping . . . . 2-9 The Sun/Oracle Web Site: Your Ultimate Java Resource . . 2-16 Lifecycle of a Deployed MATLAB Web Application . . . . 2-17 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17 MATLAB Web Application Environment . . . . . . . . . . . . . . 2-19 v MATLAB Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20 Middle-Tier Developer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21 Front-End Web Developer . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22 Server Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22 End User . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23 End-To-End Developer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23 MATLAB Programmer Tasks 3 Programming in MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 MATLAB Programming Basics . . . . . . . . . . . . . . . . . . . . . . 3-3 Returning MATLAB Data Types . . . . . . . . . . . . . . . . . . . . . 3-3 Deploying MATLAB Code with the Builders . . . . . . . . . . 3-7 Middle-Tier Developer Tasks 4 Working with the Business Service Layer . . . . . . . . . . . . 4-2 About the Business Service Layer . . . . . . . . . . . . . . . . . . . . 4-2 About the Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Creating a DAO for Deployment . . . . . . . . . . . . . . . . . . . . 4-6 Initializing a Component . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 Interacting with a Component . . . . . . . . . . . . . . . . . . . . . . . 4-7 Hosting a DAO on a Web Server . . . . . . . . . . . . . . . . . . . . . 4-24 Hosting the DAO with a Servlet . . . . . . . . . . . . . . . . . . . . . . 4-24 Hosting a DAO Using a Java™Web Service . . . . . . . . . . . . 4-31 Hosting uploads/s1/ example-guide.pdf
Documents similaires










-
38
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Attribution requise- Détails
- Publié le Sep 19, 2021
- Catégorie Administration
- Langue French
- Taille du fichier 1.2935MB