Smartphones are sensor-rich and Internet-enabled. With their on-board sensors, web services, social media, and external biosensors, smartphones can provide contextual information about the device, user, and environmen...
详细信息
ISBN:
(纸本)9781424441228
Smartphones are sensor-rich and Internet-enabled. With their on-board sensors, web services, social media, and external biosensors, smartphones can provide contextual information about the device, user, and environment, thereby enabling the creation of rich, biologically driven applications. We introduce ContextProvider, a framework that offers a unified, query-able interface to contextual data on the device. Unlike other context-based frameworks, ContextProvider offers interactive user feedback, self-adaptive sensor polling, and minimal reliance on third-party infrastructure. ContextProvider also allows for rapid development of new context and bio-aware applications. Evaluation of ContextProvider shows the incorporation of an additional monitoring sensor into the framework with fewer than 100 lines of java code. With adaptive sensor monitoring, power consumption per sensor can be reduced down to 1% overhead. Finally, through the use of context, accuracy of data interpretation can be improved by up to 80%.
ADLs are used to describe system architectures at a very high level of abstraction. The concrete ADLs are interested in generating code from an architectural description. AADL is a concrete language designed for embed...
详细信息
ISBN:
(纸本)9781509032631
ADLs are used to describe system architectures at a very high level of abstraction. The concrete ADLs are interested in generating code from an architectural description. AADL is a concrete language designed for embedded applications. It integrates a software and hardware specifications in its description. Several studies around AADL are devoted to the development of executable systems from their architectural descriptions, like Ocarina project. On the other hand, java language is widely used and supported by the majority of platforms. In this paper, we present a tool called: AADL2java, allowing java code generation from an AADL specification. For this purpose, first we take advantage of the EMF framework to specify two metamodels depicting respectively the concepts of AADL and java. Then, these two meta-models will be used to generate a java structure of an AADL specification. AADL2java tool forms an Eclipse plug-in, aiming to facilitate the automatic translation of AADL systems in java program skeletons, which may be easily completed by the developer. This will reduce the gap between software architect and developer in the system design.
Synchronous execution of queries or Web service requests forces the calling application to block until the query/request is satisfied. The performance of applications can be significantly improved by asynchronous subm...
详细信息
ISBN:
(纸本)9781424489589
Synchronous execution of queries or Web service requests forces the calling application to block until the query/request is satisfied. The performance of applications can be significantly improved by asynchronous submission of queries, which allows the application to perform other processing instead of blocking while the query is executed, and to concurrently issue multiple queries. Concurrent submission of multiple queries can allow the query execution engine to better utilize multiple processors and disks, and to reorder disk IO requests to minimize seeks. Concurrent submission also reduces the impact of network round-trip latency and delays at the database, when processing multiple queries. However, manually writing applications to exploit asynchronous query submission is tedious. In this paper we address the issue of automatically transforming a program written assuming synchronous query submission, to one that exploits asynchronous query submission. Our program transformation method is based on dataflow analysis and is framed as a set of transformation rules. Our rules can handle query executions within loops, unlike some of the earlier work in this area. We have built a tool that implements our transformation techniques on java code that uses JDBC calls;our tool can be extended to handle Web service calls. We have carried out a detailed experimental study on several real-life applications rewritten using our transformation techniques. The experimental study shows the effectiveness of the proposed rewrite techniques, both in terms of their applicability and performance gains achieved.
A unique book-and-video package presented by java guru Yakov Fain As one of the most popular software languages for building Web applications, java is often the first programming language developers learn. The latest ...
详细信息
ISBN:
(数字)9781118058176
ISBN:
(纸本)9780470889640
A unique book-and-video package presented by java guru Yakov Fain As one of the most popular software languages for building Web applications, java is often the first programming language developers learn. The latest version includes numerous updates that both novice and experienced developers need to know. With this invaluable book-and-video package, java authority Yakov Fain fully covers java?s new features as well as its language extensions, classes and class methods, and the Swing Application Framework. For each lesson that he discusses in the book, there is an accompanying instructional video to reinforce your learning *** include:Introducing java Eclipse IDE Object-Oriented Programming Class MethodsBack to java Basics Packages, Interfaces, and Encapsulation Programming with Abstract Classes and InterfacesIntroducing the Graphic User InterfaceEvent Handling in UIIntroduction to java Applets Developing a Tic-Tac-Toe Applet Developing a Ping-Pong Game Error Handling Introduction to Collections Introduction to Generics Working with Streams java Serialization Network ProgrammingProcessing E-Mails with java Introduction to Multi-Threading Digging Deeper into Concurrent Execution Working with Databases Using JDBC Swing with JTable Annotations and Reflection Remote Method Invocation java EE 6 Overview Programming with Servlets javaServer Pages Developing Web Applications with JSF Introducing JMS and MOM Introducing JNDIIntroduction to Enterprise javaBeansIntroduction to the java Persistence APIWorking with RESTful Web ServicesIntroduction to Spring MVC Framework Introduction to Hibernate Framework Bringing javaFX to the Mix java Technical Interviews Note: As part of the print version of this title, video lessons are included on DVD. For e-book versions, video lessons can be accessed at *** using a link provided in the interior of the e-book.?
暂无评论