The mapping approach has been the best option up to this point in my experience. I would turn it around and say: if you have the mapping option, why would you use generation?

I thought I did that already, on...]]>Thu, 06 Aug 2009 10:53:11 -0400Thu, 06 Aug 2009 10:53:11 -0400Thu, 06 Aug 2009 10:53:11 -0400Aug 6, 2009James Watson1Re: Processing EDI, XML, CSV and more with Smooks v1.2http://www.theserverside.com/discussions/thread.tss?thread_id=55339
The mapping approach has been the best option up to this point in my experience. I would turn it around and say: if you have the mapping option, why would you use generation?...]]>Wed, 05 Aug 2009 15:38:29 -0400Wed, 05 Aug 2009 15:38:29 -0400Wed, 05 Aug 2009 15:38:29 -0400Aug 5, 2009Tom Fennelly2Re: Processing EDI, XML, CSV and more with Smooks v1.2http://www.theserverside.com/discussions/thread.tss?thread_id=55339

You basically end up with two options if you generate code from a message format:

1. Use the generated objects as your domain model.2. Map from your real domain model to the generated objects.

I totally agree with you re the crap models that can result from generated approaches. This is certainly a major challenge for EJC, but may be something that many people are willing to live with when offered the...]]>

I totally agree with you re the crap models that can result from generated approaches. This is certainly a major challenge for EJC, but may be something that many people are willing to live with when offered the alternatives of...]]>

The JiBX type approach is often more appealing where the target object model is already in existance and, perhaps, doesn't "line up" with the source EDI message model. Having looked at some of the existing EDI message standards...]]>

Tue, 04 Aug 2009 17:18:44 -0400Tue, 04 Aug 2009 17:18:44 -0400Tue, 04 Aug 2009 17:18:44 -0400Aug 4, 2009Tom Fennelly8Re: Processing EDI, XML, CSV and more with Smooks v1.2http://www.theserverside.com/discussions/thread.tss?thread_id=55339
Smooks does also support an approach more akin to JiBX and in fact, prior to Smooks v1.2, this was the only approach available.