How to Structure Custom Code Deployment

0 votes
What is the best way to structure deployment of custom code? It looks as though only 1 executor in a jar will be executed so do I need to make a separate jar for each function I want to run? If so, how can I share libraries between the jars?

Thanks, Taylor
asked Oct 2, 2014 in App42 Cloud API-BaaS by tartunian (10 points)

1 Answer

0 votes
Yes, only one executer is expected in on custo code deployment. You can put all the functionality in one custom code that you want to call in single method from your app. You can make separate deployment for different app  functionality to make it modular.
 
One Custom code can not make a call to another using runJavaCode method inside custom code. You can make a private method inside your custom code and call it internally though.
 
Let me know if it makes sense.
 
Ajay
answered Oct 3, 2014 by ajay123 (899 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...