Menu

Spring integration and expression language

Help
Iñaki
2012-10-24
2013-05-02
  • Iñaki

    Iñaki - 2012-10-24

    Hi:
        I'm new to both Spring and Dozer, and I would like to enable EL in my dozer mappings. Dozer User Guide says

    In order to enable EL expression execution dozer.el.enabled parameter should be set to true

    Any hint on how to achive this with Spring? Maybe it is not Spring's duty but maven exec plugin duty?

     
  • Alessandro

    Alessandro - 2013-01-15

    Hi ignacio,

    Dozer is the reference point, but write the xml file take much time and it is error-prone, the performance are low, annotation are supported only for simple mapping…

    I suggest you take a look at JMapper Framework:
    http://code.google.com/p/jmapper-framework/

    With JMapper you can decide to map with annotations or in xml format, execute creation or enrichment of the target instance, explicit conversions, 1 to N and N to 1 relationships and much more.

    This framework is based on javassist library, the mapping is created at runtime, with 0 memory consuption and with performance of static code.

    try it :)

     

Log in to post a comment.