2.0

2.0 | 1 rating Rate this file 15 Downloads (last 30 days) File Size: 19.85 KB File ID: #22476
image thumbnail

Java Web Example Guide End To End Chapter

by Joe

 

17 Dec 2008

This is the source files for the example discussed in the Java Web Example Guide End To End Chapter

| Watch this File

File Information
Description

This is an end to end example of how to use Builder JA (Java Builder) to create a full web application that utilizes data and WebFigures to display MATLAB Figurues on the Web in an interactive way.

This example shows the "Magic Square" function in MATLAB where a user can specify the size of the square and we display it along with a surface plot of that matrix.

WebFigures is an AJAX application that enables end users to interact with the graphic to rotate/zoom/pan as they would from within MATLAB.

This example has been tested in Tomcat, please follow all of the build instructions either in the web example guide or in the build steps included with this file.

For more web examples please visit the Web Example Guide at: http://www.mathworks.com/access/helpdesk/help/pdf_doc/compiler/example_guide.pdf

Required Products MATLAB Builder JA
MATLAB Compiler
MATLAB release MATLAB 7.7 (R2008b)
Other requirements Some J2EE compliant web server that uses a Java JRE (WebSphere uses a custom JRE and there will be additional steps to get that running) The Java JDK to compile the components and build the war file.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
17 Feb 2009 daniel k1

on unix based system the mcc command as described in the documentation gives an error; you should use the command instead (replace " with ' and, \ with / ):
-begin code
mcc -W 'java:examples,MagicCalc' -d ./scratch -T 'link:lib' -v 'class{MagicCalc:./webapp/WEB-INF/mcode/getMagic.m,./webapp/WEB-INF/mcode/getMagicWebFigure.m}'
-end code
to compile.

31 Aug 2009 mark  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
finance Joe 17 Dec 2008 15:40:28
data export Joe 17 Dec 2008 15:40:28
gui Joe 17 Dec 2008 15:40:28
modeling Joe 17 Dec 2008 15:40:28
distributed Joe 17 Dec 2008 15:40:28
mathematics Joe 17 Dec 2008 15:40:28
demo Joe 17 Dec 2008 15:40:28
aerospace Joe 17 Dec 2008 15:40:28
automotive Joe 17 Dec 2008 15:40:28
biotech Joe 17 Dec 2008 15:40:28
image processing Joe 17 Dec 2008 15:40:28
biotech Salim 27 Dec 2008 15:43:14

Contact us at files@mathworks.com