Resource-oriented middleware abstractions for pervasive computing