This is how we a simple http sever in java is created using Jersey API