department of computer science institute for system ...ts2/admuc/seminar0910/final... ·...

18
Department of Computer Science Institute for System Architecture, Chair for Computer Networks Group 12 Dana Henkens Franz Grüneberger Application Development for Mobile and Ubiquitous Computing LunchBox Final Presentation

Upload: others

Post on 14-Oct-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Department of Computer Science Institute for System Architecture, Chair for Computer Networks

Group 12Dana Henkens

Franz Grüneberger

Application Development for Mobile and Ubiquitous Computing

LunchBox

Final Presentation

Page 2: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Outline

Introduction / Application Scenario

Screenshots of the Running Application

Technologies

Challenges

Abilities/Limits

Conclusion

2Application Development - Final PresentationDana Henkens, Franz Grüneberger

Page 3: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Application Scenario

target group:• students thinking about having lunch at the refectory• research assistants using the refectory of our university

questions:• Where should I go to have lunch?• Which meals should I avoid? Which ones are

recommendable?• Whats about the price?

our solution:• mobile application providing information about the meals

at the refectories including ratings

3Application Development - Final PresentationDana Henkens, Franz Grüneberger

Page 4: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

4Application Development - Final Presentation

Screenshots of the Running Application (1)

Dana Henkens, Franz Grüneberger

Page 5: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

5Application Development - Final Presentation

Screenshots of the Running Application (2)

Dana Henkens, Franz Grüneberger

Page 6: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

6Application Development - Final Presentation

Screenshots of the Running Application (3)

Dana Henkens, Franz Grüneberger

Page 7: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Technologies

Java ME with

LWUIT 1.3

Apache Tomcat 6.0.18

with JAX-WS Servlet

MySQL 5.1.37

SOAP

7Application Development - Final PresentationDana Henkens, Franz Grüneberger

Page 8: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

8Application Development - Final Presentation

Database Schema

Dana Henkens, Franz Grüneberger

Page 9: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Technologies

Java ME with

LWUIT 1.3

Apache Tomcat 6.0.18

with JAX-WS Servlet

MySQL 5.1.37

SOAP

9Application Development - Final PresentationDana Henkens, Franz Grüneberger

Page 10: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Server Architecture

10Application Development - Final PresentationDana Henkens, Franz Grüneberger

Page 11: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Server-Side Experiences & Issues

development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS• major advantage of GlassFish over Tomcat: WebService-Tester

o provides test environment for WebServices, i.e. the ability to:- generate SOAP-requests by passing parameters for the method to be

tested via input fields within a html-page- view generated SOAP-response

• problem:o deployment-descriptor generated for GlassFish incompatible to

Tomcat

production environment: Tomcat at Debian OS• problems:

o security policies of catalina servlet-container very strict by defaulto encoding used by the JVM differs from Windowso heapsize of the JVM must be increased

11Application Development - Final PresentationDana Henkens, Franz Grüneberger

Page 12: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Technologies

Java ME with

LWUIT 1.3

Apache Tomcat 6.0.18

with JAX-WS Servlet

MySQL 5.1.37

SOAP

12Application Development - Final PresentationDana Henkens, Franz Grüneberger

Page 13: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Lightweight UI Toolkit (LWUIT)• advantages:

o styling based on themeso tool for managing themes available

- administration of fonts, colors, images, …

o themes can be exchanged at runtime

• disadvantages:o not enough capabilities with respect to some special

purposes e.g. scrolling in tabbed panes, …o bad documentation in some cases

13Application Development - Final Presentation

Client-Side Experiences & Issues

Dana Henkens, Franz Grüneberger

Page 14: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Challenges (1)

data scraping• „Studentenwerk“ doesn‘t provide any API

solved by means of Cobra Java HTML Parserand HtmlCleanerBUT: application still dependent on working website

usability and customer satisfaction• clear structured user interface

use of Lightweight UI Toolkit (LWUIT)

restricted device capabilites• adaptation of images to the screen size (resolution)

adaptation by means of functions provided by the JAVA API at the server

14Application Development - Final PresentationDana Henkens, Franz Grüneberger

Page 15: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Challenges (2)

heterogeneity• usability at any devices supporting MIDP 2.0 and CLDC 1.1

tests on some simulators done

context awareness• using location based information for calculating the

distance to different refectoriesdistance calculation to the different refectories at theserver by means of google maps API and YOURScaching of the last calculated distances due toperformance

15Application Development - Final PresentationDana Henkens, Franz Grüneberger

Page 16: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Abilities:• fast, convenient access to all dishes provided at the

refectories of Studentenwerk• value added in terms of comments and ratings

supporting your own choice

Limits:• no support of disconnected operations• no automatic update of distances while staying at

refectory list• no personalization

o no provision of customized information, e.g. todays bestmeals according to personal ratings only

o no individual themeso no different languages

16Application Development - Final Presentation

Abilities/Limits of our Solution

Dana Henkens, Franz Grüneberger

Page 17: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

What did we learn?• JavaME

o only very restricted abilities, e.g. no collections available, …o low hardware requirements, but today less important

• LWUIT for GUI developmento inspired by Swingo at the API-level almost identical to AWT

• Netbeanso provides good support for WebService developmento automatic client-stub generation for JavaME faulty

• Tomcato unsatisfying debug features for WebServices

--> better choice: GlassFish

17Application Development - Final Presentation

Conclusion

Dana Henkens, Franz Grüneberger

Page 18: Department of Computer Science Institute for System ...ts2/admuc/seminar0910/final... · development by means of Netbeans-IDE and GlassFish v2.1 as test environment on Windows OS

Thank you for your attention!