there are two different ways depending oh what you trying to do.
when you have data coming from a webpage you want process, use a event or service to process the data. I suggest mini lang since it takes a lot of coding out of the process.

when you want to display information you use the groovy to marshal the data then pass it to the FTL to be rendered.

PS. if is best if you join the ofbiz mailing and include past conversations so we can get a sense without hunting through the mailing list.

Prabhakar Pandey sent the following on 7/15/2012 10:52 PM:
Thanks everyone.
i want to fetch data from a table.
so how can i implement it using java event class and java service class i.e
first i go to event class and then call the service class so get the data?

On Fri, Jul 13, 2012 at 8:49 PM, Robert G.<[email protected]>  wrote:

Why dont you use "service-groups"

with that you can call a bundle of services, which run all together with
just one call..



--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Java-Service-Classes-tp4634814p4634819.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Reply via email to