Message Boards Message Boards

0
|
11948 Views
|
8 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Question about executing a Webapp with webmathematica

Posted 10 years ago

Hi everybody,

I'm trying to verify whether my Webapp works properly or not but, i don't really know what extension my file should have. .nb .jsp .html Could somebody please help me?

POSTED BY: D H D
8 Replies

I'm sorry. I'm not sure I understand. Which file are you talking about? When you say Webapp, do you just mean a webpage made with webMathematica?

POSTED BY: Sean Clarke
Posted 10 years ago

Hi Sean,

If i want to make a webpage with webmathematica, i don't really know what program the code is supposed to be developed with. When i installed webmathematica, i saw that all the examples were made with jsp language. If you go to the webMathematica webpage and look at the examples, the code can only be downloaded in Wolfram language. So, i developed code with Mathematica and then i tried to verify whether the webpage works properly, but webmathematica did not execute the code. It only showed the code as CDF. How may i verify the code i developed?

POSTED BY: D H D

WebMathematica and CDF are separate things. You said:

If you go to the webMathematica webpage and look at the examples, the code can only be downloaded in Wolfram language.

What webpage are you refering to? Can you link me to specific example? It sounds like you are talking about a CDF example - not a webMathematica example.

Before making your own webpage, please make sure you can get basic examples like the following to work: http://reference.wolfram.com/webMathematica/tutorial/BasicExamples.html#9976049

If you have trouble getting the basic webMathematica examples to work in webMathematica, I would consider contacting Wolfram Technical Support.

POSTED BY: Sean Clarke
Posted 10 years ago

I meant the webMathematica website. I'm sorry! Here you can find the webMathematica website and an example on it: http://www.wolfram.com/products/webmathematica/

And here a link to a specific example: http://demonstrations.wolfram.com/PicturePuzzle/ I think it is just a WebApp, am i wrong?

Thank you so much for your help.

POSTED BY: D H D

Demonstrations on the Wolfram Demonstrations Project are displayed as CDF files. CDF files are essentially Mathematica notebooks without input functionality, and on the Demonstrations project they're just single Manipulate output cells. If you want to make a CDF, you just need Mathematica.

The webMathematica demos are very dated, likely created well before CDF was even in development. All three interactive demos can be easily recreated with Manipulate and CDF. If you want to make a webpage, you can try embedding a CDF in HTML, or using the Wolfram Programming Cloud.

It should be noted that webMathematica is essentially a legacy product, as Wolfram has refocused its web efforts on new technology like the Programming Cloud.

POSTED BY: Jesse Friedman
Posted 10 years ago

I just want to make a single Manipulate output cell and put it on our Website, just like the contributors did on the webMathematica website.

POSTED BY: D H D

I'm glad to say that's quite easy with CDF, but the cell will only be available to users with the CDF Player installed.

Select the output cell in Mathematica, and go to File > CDF Export > Web Embeddable. Make sure Current selection is selected in Step 2. Choose a location to save the file, preferably somewhere in the directory of your site. The rest should be pretty easy to follow.

If you need the file to be accessible to users without CDF Player installed, you do indeed have to use webMathematica. It looks like the brain-segmentation example uses a combination of webMathematica and a Flash applet.

POSTED BY: Jesse Friedman
Posted 10 years ago

Thank you so much, Jesse. You have no idea how grateful i am.

POSTED BY: D H D
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract