Hi, I try to use JSX to serialize a Java class to xml and then to read it again. Deserialization does not have the intended result. What am I doing wrong. ...
Klöck Erwin
Erwin.Kloeck@...
May 2, 2001 4:21 pm
142
Hi all, I'm writing an application for my programming languages course, and basically what it does is help the user keep track of data cd collections (backups,...
Christopher TenHarmsel
ctenha56@...
May 3, 2001 6:17 am
143
Hi, Thanks a lot for reporting this problem - but what exactly is the problem? ... What result are you getting? It's great that you included your code (which ...
Brendan Macmillan
bren@...
May 3, 2001 9:11 am
144
Hi Christopher, It's an odd situation, as much of version 0.8 of JSX was developed specifically for DefaultMutableTreeNode... Could you please send your source...
bren@...
May 3, 2001 9:24 am
145
... I Think it would be great provided it was configurable. Also, maybe a messages to out or err that says it's sending a message to you. Speaking of...
craig
rideatrail@...
May 3, 2001 10:25 am
146
Hello, Is there within JSX or Hammer to do a "deserialization" with a criteria? For example, "where name='Joe'". Or do you know of any other software that can ...
Gonzales, Mark
margonz@...
May 3, 2001 2:26 pm
147
Hey Craig, ... Yes... but how would the configuration be done? I really want a no-brainer solution - I was thinking of having two versions available for...
bren@...
May 3, 2001 2:29 pm
148
... criteria? For ... that can ... It sounds like you are more interested in querying an existing XML file, rather than one created by JSX or Hammer....
bren@...
May 3, 2001 2:39 pm
149
Ok, I've finally subscribed ^_^ I've packaged up my sources into a JAR file (hopfully) and attached it to this message. As of the version you've got with this...
Christopher TenHarmsel
ctenha56@...
May 3, 2001 8:57 pm
150
How about this idea. Create an interface LoggerIF that can receive error messages. Then create two classes that implement it: StdErrLogger, EmailLogger which...
Mark Collette
mcollett@...
May 3, 2001 11:04 pm
151
... it ... it'll ... Did you try making all your classes implement "Serializable", as I suggested? As I said, I am pretty sure that that will fix it. Cheers, ...
bren@...
May 4, 2001 12:01 am
152
... Your jar came through, but you didn't include the source code! Only the .class files. But before you send anything else *please* try implementing the ...
bren@...
May 4, 2001 12:08 am
153
... I would prefer a static api, but then again less code for a shipping application (seperate versions) may be better. ... Yeah, fat fingers and tiny text...
craig
rideatrail@...
May 4, 2001 12:08 am
154
Hi Mark, Thanks for the idea! It looks much more flexible to me, but also more complex. Maybe I don't fully get it? I've also added some more details of what...
bren@...
May 4, 2001 12:35 am
155
... The code factor is probably insignificant (less than 1 k); and so the static API could be included in both. The only real difference between the versions...
bren@...
May 4, 2001 12:45 am
156
OK! This is what I was looking for, with the idea of using hotmail as a STMP server - a really rocking project, I think! ...
bren@...
May 4, 2001 12:55 am
157
Sorry about not sending the source, that was really dumb of me. ^_^ On a better note, as soon as I implemented serializable on my CDNode objects, it works like...
Christopher TenHarmsel
ctenha56@...
May 4, 2001 3:28 am
158
... I meant it would be easier for the end developer (me), not you ;) ... No, someone may want it to be totally off, with only their plugin getting notified....
Mark Collette
mark@...
May 4, 2001 4:57 am
159
Remember what happens every time some people find out that an application is sending their personal data over the net by default, without asking? They freak...
Mark Collette
mark@...
May 4, 2001 4:58 am
160
... OK, you are talking about maximum configurability. People would like that. ... Well, the trick is that you don't actually get the exceptions... just...
Brendan Macmillan
bren@...
May 4, 2001 10:59 am
161
... Easy enough to do! ;-) ... Excellent! That's great to hear - I was really freaked out by your email at first, then realized that this was probably the...
Brendan Macmillan
bren@...
May 4, 2001 11:02 am
162
Hi Mark, ... application ... asking? ... knows? Yes, that's what I'm thinking... my office mate (Greg) had a really cool idea - either have a GUI pop-up the...
bren@...
May 4, 2001 12:20 pm
163
... Here's an idea I just had to do it on a thread by thread basis, every thread has to turn on() itself. If it never calls on, then your System.err 's...
Mark Collette
mark@...
May 4, 2001 4:44 pm
164
That sounds like a good way to do it. If it's so small, you may want to just pack all of the code into the jar, so they don't have to download it again. Mark...
Mark Collette
mark@...
May 4, 2001 4:46 pm
165
Problem When you serialize empty strings (o = new String();) and then deserialize and then serialize them again they become references to a common empty...
rideatrail@...
May 4, 2001 6:10 pm
166
... Eek! That would be terrible! Then I wouldn't be able to serialize arbitrary objects, only the ones that implement serializable AND don't have any...
Brandon K. Wiley
cyb@...
May 4, 2001 8:05 pm
167
Tough :) That was a joke, but on the serious side, it's probably good to require the class to implement an interface, since it then shows that the class abides...
Mark Collette
mcollett@...
May 4, 2001 8:19 pm
168
Hi, I am using the JSX and I have a problem in deserialization: getting value of class java.lang.String label-alias="23" , tag STRING ALIAS: label-alias="23" ,...
levicm@...
May 4, 2001 11:04 pm
169
Thanks Mark and Brandon, ... You are absolutely right, and also it provides security, by preventing your class from being serialized. However, it does seem...
Brendan Macmillan
bren@...
May 5, 2001 4:38 am
170
Hi Craig, All new String() objects refer to the same object? That sounds bad! Thanks for reporting it... I'm just wondering whether it might not (partly) be...