Skip to main content

Blog Archive for kohsuke during July 2005

I just had a frustrating hour or so with Subversion. No, it's not that I have problems with its functionality (well, I actually do, but today isn't time to talk about that.) It's the lack of craftsmanship that bothers me. Firstly, the proxy support. One of the big benefits of Subversion is that it can use HTTP to talk to the server. So one would hope that the network connection set up with...
Well, I kind of know the XML code inside out ;-), so I knew beforehand that a SAX parser closes the stream it reads. So I just mostly wrote a simple program to confirm the socket behavior. Also, I think I know about TCP probably more than average developers. That probably have helped, too. Mostly I just verified that calling socket.getInputStream().close() brings down the whole connection. This...
Yesterday, one of the JAXB users sent me an e-mail, asking for how to solve the problem he faced. The scenario was like this; you have a client and a server, and you want a client to send an XML document to a server (through a good ol' TCP socket), then a server sends back an XML document. A very simple use case that should just work. The problem he had is that unless the client sends the "EOS...
The JAXB RI distribution ships with xjc.sh and xjc.bat for invoking XJC from a command prompt. JWSDP also has xjc.sh and xjc.bat, but their contents are different. I'm sure these files are there for a reason, but personally, I hate those scripts. Here are why. One, it's hard to set the JVM parameters, even though sometimes you need to increase the VM memory size to have XJC compile a large...