Search the web
Sign In
New User? Sign Up
JSX-ideas · Ideas on Java Serialization for XML
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 827 - 856 of 2200   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
827
Hi Brendan, to round this up from my side: I tried the following: class ObjIn extends JSX.ObjIn { public ObjIn(InputStream in) throws IOException { super(in); ...
Wolf Geldmacher
wolf@...
Send Email
Nov 1, 2001
9:12 am
828
I've facing this problem for a while. I have programs that compile right but when I execute them they might (not always) produce this error Exception in thread...
mcuenca2@...
matcuenca
Offline Send Email
Nov 1, 2001
5:52 pm
829
Hi Brendan, I just rewrite Frame1. Now JOS works fine with it, but JSX produces exceptions. Below are Frame1 class and its exceptions (there are also...
Kelly Nguyen
kellynguyen26
Offline Send Email
Nov 1, 2001
7:21 pm
830
If I have a big byte array in my objects, then reading it with JSX is so slow it's unusuable. This sample program demontrates the problem. As the size of the...
Marti DeMore
Martha.D.DeMore@...
Send Email
Nov 2, 2001
2:18 am
831
Hi Kelly, I'm glad the subclassing idea worked. I've reproduced the new problem, and it looks very tricky to diagnose - it may take a while. ... Here's the...
bren@...
egroups_yow
Offline Send Email
Nov 2, 2001
3:07 am
832
... Hi Marti - thank you for your truly excellent report on this! The sample code, profiling data and diagnosis made it incredibly easy and fast to fix. Your...
bren@...
egroups_yow
Offline Send Email
Nov 2, 2001
7:50 am
833
This email is to inform you of release '0.9.6.0' of 'Java Serialization to XML' through freshmeat.net. All URLs and other useful information can be found at...
noreply@...
Send Email
Nov 2, 2001
8:20 am
834
Hi - i have added code to check primitives in the situation mentioned above. situation: Class[] c = {int.class, double.class}; serialize and deserialize it and...
matthew_sandoz@...
matthew_sandoz
Offline Send Email
Nov 2, 2001
4:45 pm
835
Awesome. I'll try 0.9.6.0. On a positive note, this bug did reveal one of OUR bugs: we shouldn't have been serializing that big binary blob anyway!! Nothing...
Marti DeMore
Martha.D.DeMore@...
Send Email
Nov 2, 2001
6:01 pm
836
Hi Matthew, Thanks a lot for catching this bug - I had no idea! It made me check to ensure that it handles arrays ok (eg: int[].class) - which happily it did....
bren@...
egroups_yow
Offline Send Email
Nov 3, 2001
4:52 pm
837
Hi again Matthew and all, A nice little result... consider: Object o = new Class[] { boolean.class, byte.class, char.class, short.class, int.class, long.class,...
bren@...
egroups_yow
Offline Send Email
Nov 3, 2001
5:28 pm
838
I have a custom implmentation of a HashMap that uses an integer key as the hash code. The output of the serialization is not in the order I am expecting. ...
rideatrail@...
rideatrail
Offline Send Email
Nov 5, 2001
5:41 pm
839
Hi Craig, It's because JSX handles primitives and Objects differently. Primitives go to attributes, and objects to tags. The layout hides this a little. This...
bren@...
egroups_yow
Offline Send Email
Nov 5, 2001
6:20 pm
840
Thanks for the explenation, it make sense now. I used your suggestion for the inner static class and it works very well. I took very little code to do the...
rideatrail@...
rideatrail
Offline Send Email
Nov 6, 2001
12:13 pm
841
Hi Craig, ... I've wondered about that - how large is the speed improvement? Is the slower case where you wrap each integer in an Integer class? Apparently,...
bren@...
egroups_yow
Offline Send Email
Nov 6, 2001
10:35 pm
842
Hi everyone, Here's your chance to influence the XML format of JSX.... ;-) I'm using Craig's real-world example to demonstrate some changes to the XML format...
bren@...
egroups_yow
Offline Send Email
Nov 6, 2001
10:39 pm
843
Hi Kelly, ... I just wanted to let you know that I'm still working hard on the bug you submitted. It is just as difficult as I thought - I am not yet half...
bren@...
egroups_yow
Offline Send Email
Nov 6, 2001
10:49 pm
844
... That doesn't support cases where the code changes, and a property's datatype is changed over time. Remember, one of the uses of JS is long-term data...
Mark Collette
mark_collette
Offline Send Email
Nov 6, 2001
11:05 pm
845
Hi Mark, Great to hear from you! Don't worry, a basic requirement of any change to the JSX format is that it remain powerful and general, and able to handle...
bren@...
egroups_yow
Offline Send Email
Nov 7, 2001
3:54 am
846
I have not run any real fancy benchmarks, but I think I'm seeing about a 50% speed improvement over the regular HashMap. The time and memory saving is tied to...
Craig Cavanaugh
rideatrail
Offline Send Email
Nov 7, 2001
10:24 am
847
I would welcome a change to the format to help simplify the output. The length of the class names within the format is my big issue. Do components of an array...
Craig Cavanaugh
rideatrail
Offline Send Email
Nov 7, 2001
10:35 am
848
... Hi Brendan ... Would it be fine with a "the present format is fine" answer ? As I said before, we use JSX as a "recovery" system. Our XML files are not...
jean-christophe.salom...
jcsalome
Offline Send Email
Nov 7, 2001
1:13 pm
849
... That sounds like a good compromise. ... Some of our arguements were the same or similar, but I couldn't let that get in the way of my rant, could I? :) ......
Mark Collette
mark_collette
Offline Send Email
Nov 7, 2001
6:28 pm
850
Hi Mark, ... This is good to hear! But both formats would do this: <ClassName obj-name="fieldName"..../> or <fieldName class="ClassName".../> ... Your points...
bren@...
egroups_yow
Offline Send Email
Nov 7, 2001
11:08 pm
851
Hi Craig, Thanks a lot for your comments! It's good to hear what is actually important to you, rather than relying on my guesses. ;-) ... This would be an...
bren@...
egroups_yow
Offline Send Email
Nov 7, 2001
11:21 pm
852
Hi Jean-Christophe, ... That's good to hear! ... I wonder, once this bug is fixed, if you'll start seeing ways to improve JSX? But first things first - I hope...
bren@...
egroups_yow
Offline Send Email
Nov 7, 2001
11:23 pm
853
... From _my_ point of view the tag is the most important thing, and so arguing to give the easiest access to data means to put it into the tag. Mark...
Mark Collette
mark_collette
Offline Send Email
Nov 7, 2001
11:46 pm
854
... OK, I see what you mean - it's about importance. Cheers, Brendan...
bren@...
egroups_yow
Offline Send Email
Nov 8, 2001
12:07 am
855
I am writing an application where it can happen that not all the attributes of an object are specified in its xml file. In that case I want to fill the missing...
Misja Alma
misja111
Offline Send Email
Nov 8, 2001
4:40 pm
856
Hi Misja, ... The 0/null/false default values are an official part of the JVM specification, which JSX also follows. You can rely on omitted fields taking...
bren@...
egroups_yow
Offline Send Email
Nov 9, 2001
1:19 am
Messages 827 - 856 of 2200   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help