JSense – Prototyping Sensor-Based, Location-Aware Applications in Java

  • Silvia Santini
  • Robert Adelmann
  • Marc Langheinrich
  • Georg Schätti
  • Steven Fluck
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4239)


Creating applications based on data from individual sensor nodes is typically a two-tiered process: Firstly, a (potentially large) number of sensor nodes is deployed in order to gather comprehensive datasets. After analyzing the collected data, algorithms are then installed on the individual nodes and iteratively fine-tuned using a collect-and-analyze procedure. This approach is not only time consuming, but also prone to errors: the two separate steps of data collection and data analysis complicate algorithm development; the absence of programming abstractions in embedded systems programming languages often introduces hard-to-detect runtime errors; and the lack of modern integrated development environments (IDEs) does not allow for quick trial-and-error prototyping. To mitigate those effects, we have developed JSense – a hardware abstraction layer for modern sensor nodes that allows for Java-based access to all sensor and actuator controls. It supports an IDE-based centralized development cycle with real-time debugging of a particular sensor environment, as well as the use of not-yet-available sensor and actuator hardware on each node, such as positioning information. Using JSense, designers of sensor-based environments can quickly try out a combination of situations and observe in real-time the data collection processes of their nodes, while programmers are able to prototype applications in their favorite Java-IDE in a hardware independent fashion, even taking into account not-yet-deployed node hardware.


Sensor Node Wireless Sensor Network Virtual Node Ultra Wide Band Target Platform 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Ahola, J.: Ambient Intelligence. ERCIM News (47) (2001)Google Scholar
  2. 2.
    Estrin, D., Culler, D., Pister, K., Sukhatme, G.: Connecting the Physical World with Pervasive Networks. Pervasive Computing 1(1), 59–69 (2002)CrossRefGoogle Scholar
  3. 3.
    Beutel, J., Kasten, O., Mattern, F., Römer, K., Siegemund, F., Thiele, L.: Prototyping Wireless Sensor Network Applications with BTnodes. In: Karl, H., Wolisz, A., Willig, A. (eds.) EWSN 2004. LNCS, vol. 2920, pp. 323–338. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  4. 4.
    Buonadonna, P., Gay, D., Hellerstein, J.M., Hong, W., Madden, S.: TASK: Sensor Network in a Box. In: Proceedings of the Second IEEE European Workshop on Wireless Sensor Networks (EWSN 2005), Istanbul, Turkey (2005)Google Scholar
  5. 5.
    Guy, R., Greenstein, B., Hicks, J., Kapur, R., Ramanathan, N., Schoellhammer, T., Stathopoulos, T., Weeks, K., Chang, K., Girod, L., Estrin, D.: Experiences with the Extensible Sensing System ESS. Technical Report 01-310-825-3127, UCLA Center for Embedded Network Sensing (2006)Google Scholar
  6. 6.
    Sun Microsystems Laboratories: The Sun SPOT Project. Project Website:
  7. 7.
    Greenstein, B., Kohler, E., Estrin, D.: A Sensor Network Application Construction Kit (SNACK). In: Proceedings of the Second ACM Intl. Conf. on Embedded Networked Sensor Systems (SenSys 2004), Baltimore, MD, USA. ACM Press, New York (2004)Google Scholar
  8. 8.
    Whitehouse, K., Tolle, G., Taneja, J., Sharp, C., Kim, S., Jeong, J., Hui, J., Dutta, P., Culler, D.: Marionette: Using RPC for Interactive Development and Debugging of Wireless Embedded Networks. In: Proceedings of the Fifth Intl. Symposium on Information Processing in Sensor Networks (IPSN 2006), Nashville, TN, USA, pp. 416–423. ACM Press, New York (2006)CrossRefGoogle Scholar
  9. 9.
    Gibbons, P., Karp, B., Ke, Y., Nath, S., Seshan, S.: IrisNet: An Architecture for a Worldwide Sensor Web. IEEE Pervasive Computing 2(4), 22–33 (2003)CrossRefGoogle Scholar
  10. 10.
    Wheeler, D.A.: Ada, C, C++, and Java vs. the Steelman. Ada Letters XVII(4), 88–112 (1997)CrossRefGoogle Scholar
  11. 11.
    Martin, P.: Java, the Good, the Bad, and the Ugly. SIGPLAN Notices (1998)Google Scholar
  12. 12.
    Roberts, E.: Resources to Support the Use of Java in Introductory Computer Science. In: Proceedings of the 35th SIGCSE Technical Symposium on Computer Science Education (SIGCSE 2004), pp. 233–234. ACM Press, New York (2004)CrossRefGoogle Scholar
  13. 13.
    Szewczyk, R., Mainwaring, A., Polastre, J., Culler, D.: An Analysis of a Large Scale Habitat Monitoring Application. In: Proceedings of the Second ACM Intl. Conf. on Embedded Networked Sensor Systems (SenSys 2004), Baltimore, MD, USA (2004)Google Scholar
  14. 14.
    Holmquist, L., Gellersen, H., Kortuem, G., Antifakos, S., Michahelles, F., Schiele, B., Beigl, M., Maze, R.: Building Intelligent Environments with Smart-Its. IEEE Computer Graphics and Applications 24(1), 56–64 (2004)CrossRefGoogle Scholar
  15. 15.
    Becker, C., Dürr, F.: On Location Models for Ubiquitous Computing. Personal and Ubiquitous Computing 9(1), 20–31 (2005)CrossRefGoogle Scholar
  16. 16.
    Xsens Ltd.: Motion Technologies, Company Website:
  17. 17.
    Polastre, J., Szewczyk, R., Culler, D.: Telos: Enabling Ultra-Low Power Wireless Research. In: Proceedings of the Fourth Intl. Symposium on Information Processing in Sensor Networks: Special Track on Platform Tools and Design Methods for Network Embedded Sensors (IPSN/SPOTS 2005), Los Angeles, CA, USA (2005)Google Scholar
  18. 18.
    Crossbow Technology Inc.: Solutions for Wireless Sensor Networks, Company. Website:
  19. 19.
    Szewczyk, R., Polastre, J., Mainwaring, A., Culler, D.E.: Lessons from a Sensor Network Expedition. In: Karl, H., Wolisz, A., Willig, A. (eds.) EWSN 2004. LNCS, vol. 2920, pp. 307–322. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  20. 20.
    Moteiv Corporation: Accelerating Sensor Networking, Company Website:
  21. 21.
    Hill, J., Szewczyk, R., Woo, A., Hollar, S., Culler, D.E., Pister, K.S.J.: System Architecture Directions for Networked Sensors. In: Proceedings of the Ninth Intl. Conf. on Architectural Support for Programming Languages and Operating Systems (ASPLOS-IX), Cambridge, MA, USA, pp. 93–104. ACM Press, New York (2000)CrossRefGoogle Scholar
  22. 22.
    TinyOS: An Open-Source Operating System Designed for Wireless Embedded Sensor Networks, Project Website:
  23. 23.
    Gay, D., Levis, P., von Behren, R., Welsh, M., Brewer, E., Culler, D.: The nesC Language: A Holistic Approach to Networked Embedded Systems. In: Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation, San Diego, CA, USA (2003)Google Scholar
  24. 24.
    Wildlife Computers: Innovative Tags for Innovative Research, Company Website:
  25. 25.
    Ubisense Ltd.: The Ubisense UWB Location System, Company Website:
  26. 26.
    Madden, S.R., Franklin, M.J., Hellerstein, J.M., Hong, W.: TinyDB: An Acquisitional Query Processing System for Sensor Networks. ACM Transactions on Database Systems 30(1), 122–173 (2005)CrossRefGoogle Scholar
  27. 27.
    Intel Research Laboratories Berkeley: Intel Lab Data, Project Website:
  28. 28.
    Deshpande, A., Guestrin, C., Madden, S., Hellerstein, J., Hong, W.: Model-Driven Data Acquisition in Sensor Networks. In: Proceedings of the 30th Intl. Conf. on Very Large Data Base (VLDB 2004), Toronto, Canada (2004)Google Scholar
  29. 29.
    Santini, S., Römer, K.: An Adaptive Strategy for Quality-Based Data Reduction in Wireless Sensor Networks. In: Proceedings of the 3rd Intl. Conf. on Networked Sensing Systems (INSS 2006), Chicago, IL, USA (2006)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Silvia Santini
    • 1
  • Robert Adelmann
    • 1
  • Marc Langheinrich
    • 1
  • Georg Schätti
    • 1
  • Steven Fluck
    • 1
  1. 1.Institute for Pervasive ComputingETH ZurichZurichSwitzerland

Personalised recommendations