App Development Lifecycle in Force.com vs Java

../../_images/java-to-salesforce-build-process.png

Java

  • Java needs to be compiled locally using javac and converted into .class file
  • Multiple class files could be packaged into a Jar file or a War file
  • .class files are executed using Java runtime

Apex

  • Apex is compiled into a intermediate compiled format which is stored in the cloud
  • Apex Runtime uses this file for execution.