Transformer or Converter?

1

I have worked on some project and I come across situations where one particular object has to be transforming another.

In general, it's java classes that originate in COBOL that I convert to another type, but with clearer and more intuitive class names, methods, and attributes.

I have used Apache Collections , more specifically the # and related utility classes.

Transformer

Transformer

I have adopted something like <NomeDoBean>Transformer as the class name. My question is:

What is the difference between Converter and Transformer , in this context?

I know JSF uses the term Converter . Which term to use and why?

    
asked by anonymous 18.08.2017 / 01:59

0 answers