Hi Priyanka, Yes it is template engine. Initial use case to target is to generate automated emails using template for alerts, logging might be also for monitoring. Also to convert POJO's or Map or List in XML or JSON format to further absorb by other operators depending on templates.
Thanks, Deepak On Tue, Oct 4, 2016 at 1:46 PM, Priyanka Gugale <priya...@datatorrent.com> wrote: > As far as I know "freemarker" is a template engine. How does it help us to > achieve our usecase? Like how does it help in parsing map or POJO. Also how > does it help in generating output of forms other than HTML? > > -Priyanla > > On Tue, Oct 4, 2016 at 12:54 PM, Deepak Narkhede <mailtodeep...@gmail.com> > wrote: > > > Hi Folks, > > > > Planning to write an malhar operator which will take Map or POJO as input > > and provide output as formatted data string as per specified template > > data. > > > > Use Cases: > > Get data in output data format like XML, HTML etc. > > Generate automated emails etc. > > Generate configuration files also source code in some cases. > > Generate Date/time format etc. > > > > How: > > Planning to use template engine library "Freemarker" currently under > Apache > > License. > > Investigated libraries like freemarker, thymeleaf and velocity. > > > > Strength of Freemarker with respect ot others mentioned above: > > Ease of use, almost zero dependencies, light weight (faster processing) > > > > Please let me know your thoughts/suggestions on this. > > > > Thanks, > > Deepak > > > > > > > > > > > > > > > > -- > > Thanks & Regards > > > > Deepak Narkhede > > > -- Thanks & Regards Deepak Narkhede