For heaven's sake, please do not waste any of your time in inventing an
xml binding layer. There are way too many to put your head into. JAXB
does the job reasonably well for most of our use cases.
If any of you have free time in reinventing wheels, please ask around,
there are quite a few challenging tasks to be done.
Bill Burke wrote:
We've already been down this route before Richard when Scott and
Alexi
built there own JAXB implementation a few years ago. I don't see why
we need to do it again...
If JAXB doesn't meet some esoteric need you have, become a
contributor. Its open source.
Richard Opalka wrote:
> Hi Bill,
>
> we're working on J2EE server.
> Everybody knows JAXB here
> because it's de facto Java standard.
> But for configuration purposes
> I decided to write simpler tool ;)
>
> Just one highlight:
> JAXB API:
https://jaxb.dev.java.net/nonav/jaxb20-pfd/api/index.html
> X2JB API:
http://x2jb.sourceforge.net/api/index.html
>
> Both can do the same job when dealing with configurations.
>
> Richard
>
> PS: People usually write software when they're missing something out
> there.
>
> Bill Burke wrote:
>> I guess you've never heard of JAXB?
>>
>> Richard Opalka wrote:
>>> Hi Everybody,
>>>
>>> are you missing extremely simple but powerful configuration tool
>>> for your (sub)project?
>>> Are your configurations stored in XML files and you just need to
>>> read them
>>> and create the meta data model from it?
>>> Then you should have a look to X2JB 2.0 (
>>>
http://x2jb.sourceforge.net/ )
>>> Once you'll try it, you'll never want to return back to your old
>>> configuration approach ;)
>>>
>>> Cheers,
>>>
>>> Richard