Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25482

Re: XStream vs XMLGregorianCalendar

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!weretis.net!feeder4.news.weretis.net!news.albasani.net!not-for-mail
From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: XStream vs XMLGregorianCalendar
Date Sun, 30 Jan 2011 13:37:58 -0500
Organization albasani.net
Lines 37
Message-ID <ii4b65$qvr$1@news.albasani.net> (permalink)
References <d4af9ddb-16e4-4e36-b22d-fb2a1ea125e3@f2g2000yqf.googlegroups.com> <ii4a25$p9f$1@news.albasani.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.albasani.net 83VWeptyLNilV45MUrqN5SsF6gX4wb41vFcm0zD/xwxfrQ0CdHOmEiAp+xmZ2Gf4PZu5xoDh4xdUrjWckudrxon8ft0StyEwXFJuy/p2JJgq9pQjU9k99FxlER/NdxHu
NNTP-Posting-Date Sun, 30 Jan 2011 18:37:58 +0000 (UTC)
In-Reply-To <ii4a25$p9f$1@news.albasani.net>
Cancel-Lock sha1:i1USwGPVz5UAJaamYdOy4kJKbSQ=
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
Injection-Info news.albasani.net; logging-data="uYPKSTwFj72ZshbsAaG9ey3Rx5n69kq+vaNkY3xwdK9p4bi5P3fVjkf3BXq0CDMAclkBoyWFN1M0+j32A1Jppd/pOOWKMve/6jBZgXOz+Jv10HhSk0wisGRJNky7L6JJ"; mail-complaints-to="abuse@albasani.net"
Xref csiph.com comp.lang.java.programmer:25482

Show key headers only | View raw


Lew wrote:
> (Another question is whether to version-control the generated .java files or
> depend on the build to create them each time. A schema and its associated JAXB
> classes make a nice JAR.) [1]

[1] Too often, we programmers disregard deployment and operations issues. 
It's a good exercise to figure out where to put your JAXB stuff in your 
version-control repository, write and run the build scripts (Ant, for example) 
that work off a clean export from that repository, accounting for code used on 
both ends of the exchange.  Then deploy that yourself on two instances - one 
for each end - of whatever the target environments are (desktop app, 
smartphone app, Java EE app, ...).  Integrate that with a 
continuous-integration platform like Hudson.  For extra credit, put the 
database on a different host.

That exercise tends to make you a fan of framework reduction - too many 
programmers take all the latest Springs and Ajax of outrageous configuration 
without regard for architecture, emergent interactions or transitive version 
dependencies.  One outcome is to undo all the type safety of the Java 
language, substituting instead a mish-mosh of references by name whose 
incompatibilities come forward only at runtime.

Injection has its place, but most of the time, what's wrong with just calling 
a durn method?

-- 
Lew
Ceci n'est pas une fenĂȘtre.
.___________.
|###] | [###|
|##/  | *\##|
|#/ * |   \#|
|#----|----#|
||    |  * ||
|o *  |    o|
|_____|_____|
|===========|

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: XStream vs XMLGregorianCalendar Lew <noone@lewscanon.com> - 2011-01-30 13:37 -0500

csiph-web