WarnerJan Veldhuis

Greenhorn
+ Follow
since Sep 27, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by WarnerJan Veldhuis

Originally posted by k Oensen:
Uhmm... and make sure, that you didn't use setDragEnabled(true);
Probably this causes a double-drag.



This is the right solution, thanks
18 years ago
Session cookies are in-memory cookies, so you probably would't find them on disk...
18 years ago
You could play with the Comparable interface, and use that to let it sort...

For the sake of speed, I made public members For total correctness you would have to override the equals() and the hashcode() methods...


19 years ago
The problem with this class is that it't not a javabean-compatible class, and I can't do anything about that. Having the BeanSerializer here is not an option.
The type mapping as I have it is like this:

This works so far, since I can actually generate output with the Serializer.
There is a new problem on the horizon: adding SOAPHeaders during serializing does NOT generate the desired headers, but also no exceptions are thrown.... This puzzles me... Anyone added headers during serialization?
19 years ago
Hi all,
I am looking for a guide to tell me how to write serializers/deserializers for my complex java object. My class is too complex to be a JavaBean, so the BeanSerializer will not help me.
I know org.apache.axis.encoding is the package to look at, but I am confused with all the interfaces and baseclasses that are offered there. Even looking at the sourcecode of the objects in org.apache.axis.encoding.ser didn't shed light on it... The documentation from AXIS on creating serializers/deserializers isn't much of a help... Anyone got some more info??
Thnx in advance
19 years ago
Thanks all for your answers... Conclusion: having synchronized in the method declaration does not break the interface contract. That's what I wanted to know... Thanks
If my interface says:

does my class comply to the interface's method if I say:

I've tried it, and it *does* compile, but does my class really implement the right interface-method?
You might wanna checkout the java.util.Collections class, especially the sort() methods
20 years ago
A hashtable makes no gurantees about the order it stores it's keys/values. It doesn't need to, since the values are retreived by key, not by index.
If you want a fixed order List, read about java.util.LinkedList
20 years ago