Marcel Quintana wrote:

I'm trying to work around using Xj3D as 3d engine and servlet-applet
architecture.

FWIW, you should be posting Xj3D questions over on the source list at Web3d.org. We're rarely visiting this list anymore (typically only once a week now). Java3D-specific discussions have moved to the javadesktop.org list. Also, the Java3D folks tended to get quite annoyed with the number of non-Java3D-specific questions on these lists.

Is there any 3d scene (class) within Xj3D library that can be
serialized,

No. We do so much stuff outside the normal scene graph that goes against the grain of serialisation. For example, threads, file and network interface connections, image loading etc. Also, serialising a running scene graph is an extremely poor design for inter-process communication. Exceedingly poor overhead costs are a major issue. There are far better ways of doing this through either custom protocols that only report scene deltas or one of the more standard approaches from the various universities (see some of the work the Avalon people are doing in Germany, for example).

Is there any better approach? I have seen an snapshot of an application
provided by Yumetech at the Xj3D website, and they are using
"createVrmlComponent". But, as far as I know, this class uses loadUrl
calls to get the content loaded into the scene. It means that ".wrl" files
has to be publically available not through the servlet.
Isn't it? In case there is some available example could be great to have
an idea how it works.

loadUrl just loads a URL. It doesn't matter what that URL points to. For example, almost all our (private) projects end up with dynamically created content on the server. This requires a servlet sitting on the server generating custom X3D content (or could be VRML if you wanted) in response to a query. Other projects have used web services interfaces like SOAP to fetch content.

If you need security, then moving to the XML encoding of X3D would be
worth your while. Combine the raw XML with HTTPS (requiring password
authentication) and the XML encryption recommendations and you should be
 able to get what you need with an acceptable level of security.

pd: thanks very much Justin for your comments, I hope you didn't cut your
blue ponytail

Na, I still have it. It's not going away any time soon :)

--
Justin Couch                         http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler              http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
      Programming is essentially a markup language surrounding
      mathematical formulae and thus, should not be patentable.
-------------------------------------------------------------------

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to