After going through all relevant sections in documentation, i.e. shared engine architecture, section about Process Applications and scripting and skimming through the forum I think I am sufficiently confident that I did not receive answer to following question.
What is exact concept of Process Application? Is it application archive like JAR/WAR etc. made for deployment or also a logical abstrcation entity which must be specified programmatically (like through Java class)?
My confusion about this stems from following facts.
Process Application section talks heavily about Servlet or EJB or Spring deployment type and different capabilities.
There are references that script engines are by default cached per Process Application.
There seems to be no need to define a Process Application (programmatically or through deployment descriptor) if the processes are self sufficient through embedded or even external scripts. Reference.
Could someone please shed light on this? Moreover, if I deploy my processes through REST API/Modeller will a Process Application be created? Or is there a default one always present?
Thanks in advance.