Re: Choosing between Java and Groovy

2021-05-24 Thread Rishi Solanki
Groovy has significant goodies to adopt over java like easy to learn due to java like syntax, scripting language can be use to develop services faster than java, default packages and type casting shorten syntax makes it easy to understand. No build and server restart require. The only reason to us

Re: Choosing between Java and Groovy

2021-04-16 Thread Jacques Le Roux
Exactly a very important point, even in production (though on the edge in this case), same with Freemarker and Minilang (deprecated in favour of Groovy) Jacques Le 16/04/2021 à 17:03, Tomek a écrit : Hi Danny, Thank you for your response. I prefer Java rather than Groovy. But as far as I know

Re: Choosing between Java and Groovy

2021-04-16 Thread Tomek
Hi Danny, Thank you for your response. I prefer Java rather than Groovy. But as far as I know writing services in Java required restart the server. It seems that choosing Groovy is better option from productivity point of view. Tomek On 16.04.2021 15:49, Danny Trunk wrote: > Additionally Regardi

Re: Choosing between Java and Groovy

2021-04-16 Thread Jacques Le Roux
Also Minilang (OFBiz specific DSL language in XML) is deprecated: https://cwiki.apache.org/confluence/display/OFBIZ/Mini+Lang+Deprecation https://cwiki.apache.org/confluence/display/OFBIZ/Mini+Language+-+minilang+-+simple-method+-+Reference https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+T

Re: Choosing between Java and Groovy

2021-04-16 Thread Danny Trunk
Additionally Regarding your question to choose between Java and Groovy: That depends on your personal preferences. You can choose whatever you want. > Tomek hat am 16.04.2021 14:48 geschrieben: > > > Hi, > > I'am browsing the code of OFBiz and I see that the services are written > in multipl

Re: Choosing between Java and Groovy

2021-04-16 Thread Danny Trunk
Hi, you can define the engine of your service in the engine attribute or your service definition: https://cwiki.apache.org/confluence/display/OFBIZ/Service+Engine+Guide#ServiceEngineGuide-ServiceDefinitionserviceDefinition You can choose between engine definitions configured in your serviceengi

Choosing between Java and Groovy

2021-04-16 Thread Tomek
Hi, I'am browsing the code of OFBiz and I see that the services are written in multiple languages like Java or Groovy and even XML. Are there some rules that help me to choose between Java and Groovy? Tomek