-
Java website?
I have a fairly simple question regarding MMF's java capablities:
1) is it possible to build an .html that only has a java applet and have it function as a website? I mean, there are already several hundreds of flash-based websites, but I see no java-based ones. I've seen small applets, but nothing too amazing.
2) Is it possible to load information from .inis, .txt or otherwise stored in the server within the java app? Images? Nothing too complex, naturally.
3) Is it also possible to have the applet load content once its running (relates to the two questions above)? It would be fairly inconvenient if the user would have to download a 5mb file if downloading content in parts can't be done.
Thanks in advance for any tips.
-
Re: Java website?
Hi,
1. It is possible to make an HTML containing only an applet (although some small elements will be bundled by default like the window title). It's just a matter of googleing any (fairly recent) example on how to do this.
-
Re: Java website?
I couldn't load files from the server, only from my computer. But there's should be a solution for this. It would be very useful!
-
Re: Java website?
So that's a no? Could dearest Jeff or Yves answer this for me, if it isn't much trouble?
-
Re: Java website?
1) Yes it is perfectly possible
2) Not with this version. Maybe in a future release.
3) Same answer as 2.
-
Re: Java website?
All right. Thank you, François.
-
Re: Java website?
I thought you could have MMF automatically make an HTM for you...
-
Re: Java website?
It does generate one for you.
-
Re: Java website?
I meant otherwise, OldManClayton.
-
Re: Java website?
Does vitalize generate one or is it only java?
-
Re: Java website?
-
Re: Java website?
Please correct me if I'm wrong, but if MMF generates a Java applet as it's output, then all you would have to do is embed the object into a page, correct?
Also, if you're looking for dynamic content, you should be able to write to a text file like a PHP script, correct?
If both those are true, then you already have everything you don't need to generate anything, just embed something like this:
<APPLET code="MYApp.class" codebase="html/" align="wherever"
width="400" height="400">
<PARAM name="MYParam" value="MYParam/WhateverItIs.nnn">
No Java 2 SDK, Standard Edition v n.n.n. support for APPLET.
</APPLET>
All of this is possible right now, correct?
Joe
-
Re: Java website?
Oh yeah, I forgot to mention using the Java applet as the handler of writing script, calling or however you want to handle the dynamic side.
Also, I wanted to mention, making any site an "ALL ANYTHING" site is usually a crappy idea if you don't offer alternative content to those viewers not running certain plug-ins. So you're still going to have to deal with some HTML/Javascript and maybe some PHP if you want to get it right.
Joe
<?php get_MyPoorlyWrittenCode(JUNKPATH.'/garbagecode.php'); ?>
-
Re: Java website?
Thanks for trying to help, but you missed the point. I only wanted to know if all the "php/html/asp" whatever-magic could be done from MMF (using mmf's language, naturally), calling information from the server. François said no, I thought the point was resolved?
It is nevertheless a good idea what you say. I'll probably go your way. Thanks again.