Basically, the objects that I want to pass are more complex...List(s) of Map(s). Given this, I am using the objectcomm library. This is giving me two problems:
1.) If I try to pass my object as is, I receive a DOMException error (DOM002 Illegal Character) on the client side upon receiving the object.
2.) In an attempt to fix this problem, I have broken down my original object in order to send less complex objects across the wire. In doing this, I pass a List of Objects. Passing from server to client works fine, however, passing from client to server, throws a Class Cast Exception when I try to type my Objects into their original form.
Any help or tips is appreciated.
Thanks,
Shawn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-04-12
Now this makes my problem interesting...the Class casting problem does not exist if I run the Server as an application (server.runAsService(80)...however, the problem does exist if I run the Server as a Web Tier (HTTP Server, Servlet Engine).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Basically, the objects that I want to pass are more complex...List(s) of Map(s). Given this, I am using the objectcomm library. This is giving me two problems:
1.) If I try to pass my object as is, I receive a DOMException error (DOM002 Illegal Character) on the client side upon receiving the object.
2.) In an attempt to fix this problem, I have broken down my original object in order to send less complex objects across the wire. In doing this, I pass a List of Objects. Passing from server to client works fine, however, passing from client to server, throws a Class Cast Exception when I try to type my Objects into their original form.
Any help or tips is appreciated.
Thanks,
Shawn
Now this makes my problem interesting...the Class casting problem does not exist if I run the Server as an application (server.runAsService(80)...however, the problem does exist if I run the Server as a Web Tier (HTTP Server, Servlet Engine).