Anybody know what the problem is with SOAPMessage? I can pass Document, String, and custom objects with
out.writeObject(),
in.readObject,
just fine. If a SOAPMessage is an XML document, it seems like it should be just as successful as a Document.
But I get serialization and eof errors when...
Would you mind taking on another basic question while we're here?
I'm trying to store an object (it's a SOAPMessage object, but I don't think that matters) for later use. I'm having a problem with it - I think. The still might be something else, but as a friend said, I tend to learn languages...
Your thoughts about the size of an instance have been confirmed. I'm still learning ... and your way of putting it made the point even clearer than before. Makes sense - the intance only needs ... etc. Thanks for that comment!
Type checking is currently done in the class where the objects are...
Do you mean add get and set methods to the object being transported? I've been trying to avoid that. Much as I'd like them, they add to the size of data object being transferred.
Right now, I have code to handle three different input types, all of which orignially come through ObjectInputStream as type Object. The original object type can be retrieved from the input Object obj, with obj.getClass().getName() or instanceof.
Objects are currently being cast back to their...
Java 1.5 and 1.6 have a cast() method. The Class can be obtained using the forName() method, and the name of original class can be retrieved using getClass().getName().
But it doesn't give the result that seems logical to me.
Class.forName(obj.getClass().getName()).cast(obj);
always returns...
It seems so obvious. I send various types of objects through an object stream. When they get to the other side, they are read as Object obj = in.readObject() : type Object. I can easily get the name of the original class type via obj.getClass().getName()
Now what I want is a very simple way of...
Paraphrasing the first post: I'm automating use of images by constructing a table with images on the fly; then dumping that into a div.
Details have moved on: latest has to do with loading speed.
Stop -- You're both wrong. "Being able to create" your own tools does not mean that you never use any other tool created by anyone else. I am absolutely certain that there are cabinet makers who have created their own saws and architects who have devised their own drawing boards. I am also sure...
Being able to create your own tools is always a mark of an advanced craftsman.
Command line instructions still don't tell me about the specific Irfanview component that can be separated from the rest of Irfanview for this specific use. In other words; I would be providing a tool and saying ...
I was able to uninstall the portion specifically called SQL Server Express through the control panel add/delete software. But there are tons of other SQL Server components still there ... unresponsive to my uninstall requests."
Now if I could find the specific component in Irfanview that does resizing ... and it doesn't violate the Irfanview license agreement to use it elsewhere, that might be something.
I suppose I was a bit facetious in my response. It was a nice suggestion for getting the functionality I've described. And it's free.
I suppose also that my agenda has been hidden just under the surface. I'll reveal. For one thing, I'm out to improve my javascript programming skills. What I'm...
I added SQL Server (Express Edition) as an option to some other things that I really needed. Somehow, MS automatic updates got stuck trying to update it; and I got stuck with constant harassment about performing the update ... as well as problems shutting my computer down.
Since I'm not really...
RE: Irfanview
Wouldn't that be a little like cheating though? It looks like Irfanview already supports the functionality I've mentioned, and much more.
Interesting website. I was immediately drawn in to the subject; little distracting when I was there to look at code. That's quite alright though; this being a spare time effort. I've seen the general strategy before; even in a tool provided by Fuji when they returned digital images to me on CD...
I'm building a general engine for image display rather than just building a page to display these particular example images. If I were doing the latter, I would probably not only size them down, but just name them explicitly in image tags to display them. It's a reasonable test to use larger...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.