PeerTrack and ContextServ are two research projects that aim to underpin future web applications. The PeerTrack project will develop a Web-based Peer-to-Peer (P2P) system that enables tracking applications to share traceability data efficiently and effectively across independent enterprises in the emerging "Web of Things". The ContextServ project aims at developing a platform to simplify the design of context-aware, adaptive Web services.