Frage im Vorstellungsgespräch bei Cisco

Explain the scenario where we use scripting instead of Java programming and advantages?