Java - Overview

  • java.*: core packages

  • javax.*: extensions

  • JAX-RS, Java API RESTful service

  • JAX-WS, XML web services(SOAP)

  • JAXB: XML binding


  • Applet
  • JSP

External Resources


  • Java Classpath: use the first match

java -jar vs java -cp

Cannot use both!

  • java -jar: specify an executable jar, the classpath should be specified in Manifest
  • java -cp: specify classpath

Why no Operator overloading

Operator overloading always leads to abuse