A service is more of an API function that could be called as an event
or part of a workflow or basically from anywhere. Most of the existing
beanshell scripts are just on the view layer. You can write services
in beanshell (or events in beanshell for that matter) if you'd like,
but in the main ofbiz code we still prefer them to be in Java instead
of .bsh for various reasons that have been discussed before.
Lei Gao wrote:
Hey Chris,
I just want to ask the same question. and based on my own
experience, I think everything service can do can easily done by the
bsh, and so dose Java(Event), and we can easily debug with Java code
and even bsh code, but for Service, really hard for me to adopt them in
my developing practice.
Lei
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev