tinsukE
Just dropped in
Offline
Posts: 14
|
 |
« Reply #15 on: 12. September 2007, 12:12:18 PM » |
|
Hum... let me see if I got it.
If I self-sign both Xith3D and my applet, the Applet runs. Does this also result in a 'ugly security warning'? [Guess the answer is yes]
With jME, I didn't signed my applet and it worked (with the security warning stuff, but worked).
Well, if I'm able to develop my Applet with xith, I'll do it! Tnx for the help.
I'd just like to know if Xith will be signed with a certification root (is it THAT expensive? wow). And, if signed, will I have to sign my Applet jar to remove the security warning?
|
|
|
|
|
Logged
|
|
|
|
|
Mathias 'cylab' Henze
|
 |
« Reply #16 on: 12. September 2007, 12:21:45 PM » |
|
If Xith would be signed with a valid certificate, you will also get a certificate confirmation, but a friendlier one. You will not have to sign your applet, if you use the JNLPAppletLauncher.
Maybe Xith will work like jME (no signing, but security warning) if you leave out the JNLPAppletLauncher and setup your Applet in a normal way, but I don't know and haven't tried it. Just start with a normal application and port it to an Applet, when we finished the needed changes and the Applet-HowTo.
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #17 on: 12. September 2007, 03:42:02 PM » |
|
Don't worry tinsukE, we'll get that issue fixed  My current/upcoming project *HAS* to use an applet and I am *not* gonna abandon Xith3D anytime soon. Let me see... by the sourceforge project's description, this OneClick seems to be wonderful!
Normal. I wrote it.  But wait 'till you try it, then you can judge. Project descriptions "unbadly written" always sound good, but you have the test the software yourself. About the Xith3D certificate, I am willing to put some money (somewhere around 150-200€ per 2years) into that, cause I'll need it too. cylab, I suppose you'll be soon using applets, too ?
|
|
|
|
|
Logged
|
|
|
|
|
Mathias 'cylab' Henze
|
 |
« Reply #18 on: 12. September 2007, 03:44:42 PM » |
|
Probably, but I am more interested in a friendlier user experience regarding JWS deployment of xith apps.
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #19 on: 12. September 2007, 04:00:35 PM » |
|
Probably, but I am more interested in a friendlier user experience regarding JWS deployment of xith apps.
The certificate will do for boths, as applets will be now deployed with JNLP/JWS.
|
|
|
|
|
Logged
|
|
|
|
|
Mathias 'cylab' Henze
|
 |
« Reply #20 on: 12. September 2007, 04:15:13 PM » |
|
Actually the certificate could be used to sign as many jars for whatsoever apps we want to. The question is for what institution to buy the certificate. I would suggest to form a registered association. Maybe a "Xith e.V." in germany.
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #21 on: 12. September 2007, 05:16:51 PM » |
|
Yep, sure. What would "Xith e.V." stand for ?
|
|
|
|
|
Logged
|
|
|
|
|
Mathias 'cylab' Henze
|
 |
« Reply #22 on: 12. September 2007, 05:23:38 PM » |
|
e.V. stands for "eingetragener Verein", which is something like a non-profit club.
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #23 on: 12. September 2007, 05:34:48 PM » |
|
Why not. We'd have to see who's willing to contribute, and how we'd part the price of the certificate.
How I wish I had founded Thawte.. they make so much money.
|
|
|
|
|
Logged
|
|
|
|
|
Mathias 'cylab' Henze
|
 |
« Reply #24 on: 12. September 2007, 08:13:03 PM » |
|
Problem fixed!
There was a "forbidden" import in the DisplayMode class and some system property accesses considered harmful by the Applet sandbox. After updating the svn and rebuilding xith, the test applet posted in the first post should work out of the box - without signing anything.
Edit: I found one system property access in the SoundDriverImpl with no default value, so I think audio will currently not work in an Applet.
|
|
|
|
« Last Edit: 12. September 2007, 08:18:30 PM by Mathias 'cylab' Henze »
|
Logged
|
|
|
|
|
Marvin Fröhlich
|
 |
« Reply #25 on: 12. September 2007, 08:18:33 PM » |
|
Problem fixed!
There was a "forbidden" import in the DisplayMode class and some system property accesses considered harmful by the Applet sandbox. After updating the svn and rebuilding xith, the test applet posted in the first post should work out of the box - without signing anything.
Great work  . Thanks. Marvin
|
|
|
|
|
Logged
|
|
|
|
tinsukE
Just dropped in
Offline
Posts: 14
|
 |
« Reply #26 on: 12. September 2007, 10:45:08 PM » |
|
Great work cylab! I cant wait to try this out. Thank you so much!
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #27 on: 13. September 2007, 06:26:09 PM » |
|
Demo, anyone ? Pleaaaaaaaaase  (Bambi's eyes, here.. for anyone reading Kid Paddle)
|
|
|
|
|
Logged
|
|
|
|
tinsukE
Just dropped in
Offline
Posts: 14
|
 |
« Reply #28 on: 14. September 2007, 12:07:56 AM » |
|
Im passing through some personal problems, maybe tomorrow (4pm, GMT -3) I'll test and upload some simple samples, ok?
And.. my company's project using a 3D web application was suspended. So, I'll be unable to show something really good for you guys. But this will be helpful for anothers developers. I'd like to write something abou Xith3D Applet at the wiki.
Just to give some emphasys: Xith3D is my Java 3D engine choice!
Thank you, guys
|
|
|
|
|
Logged
|
|
|
|
tinsukE
Just dropped in
Offline
Posts: 14
|
 |
« Reply #29 on: 15. September 2007, 02:13:58 PM » |
|
It really worked, cylab. Just updating xith3d with your fix and deploying the new jars solved it. I just couldn't get texture loading working... Is there some issue about different jars (xith jar loading a resource from my jar?) The following code works: this.getClass().getResourceAsStream("textures/dumbass.jpg"); But adding the folder "textures" to xith texture loader and creating a cube with: Cube cube = new Cube(3.0f, "dumbass.jpg"); does not work. Additional info: the texture loading is successful when running the applet through eclipse (guess this does not mean nothing, cuz applets running through eclipse ALWAYS works, doesn't they?). My really simple Applet is running on: http://flockin.servegame.org/labs/xith3d/I still wanna write something on wiki about this.
|
|
|
|
|
Logged
|
|
|
|
|