gps tracker

Download GPS Tracker

Post on 03-Feb-2016

27 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

GPS Tracker. Supervisor: Victor Kulikov. Oded Duek. Aviv Grinblat. Final presentation Spring 2010. Motivation. Business owners often want to advertise their business to people that are located near their businesses. - PowerPoint PPT Presentation

TRANSCRIPT

  • Supervisor: Victor KulikovOded DuekAviv GrinblatFinal presentation Spring 2010

    Free Template from www.brainybetty.com

  • Motivation Business owners often want to advertise their business to people that are located near their businesses. It would be nice if there was an easy way to check the efficiency of the advertisements. In order to improve their services, business owners might want to do surveys.

    Free Template from www.brainybetty.com

  • Goals Gain experience in programming a complex and varied application. Learn to program in JAVA Make GUI, work with SQL based database Use different kind of APIs Learn to work with Web Service Use Design Patterns to solve common problems

    Free Template from www.brainybetty.com

  • Technologies JAVA Java DB (Derby) Soap Web Services Netbeans API (JXMapKit, JFreeCharts and more)

    Free Template from www.brainybetty.com

  • GUIBLLBusiness logic layer DALData access layer DatabaseDerby DB

    N-tiersKeeps tables with data neutral and independent from application. Database Layer:GUI Layer:Business Logic Layer:Data Access Layer:Controls an applications functionality by performing detailed processing. Displays and receive information related toBLL layer. Manages the communication with Database layer.

    Free Template from www.brainybetty.com

  • Application DescriptionComunication:Soap messages using JAX-WSClient side: GUI Most of BLL Getting maps from OpenStreetMap Geocoding from Yahoo

    Server side: Small part of BLL DAL Database

    Free Template from www.brainybetty.com

  • Database

    On Delete Cascade - specifies whether you want rows to be deleted in a child table when corresponding rows are deleted in the parent table

    Free Template from www.brainybetty.com

  • DalCreateStatement: Creates a Statement object for sending SQL statements to the database. Interface Connection: A connection (session) with a specific database. SQL statements are executed and results are returned within the context of a connection. MAX Function: Returns the largest value of the selected column

    JOIN Operation:Combines records from two or more tables

    Free Template from www.brainybetty.com

  • BLLClient Side Class Diagram:

    Free Template from www.brainybetty.com

  • BLLServer Side Class Diagram:

    Free Template from www.brainybetty.com

  • This interface imposes a total ordering on the objects of each class that implements it. This ordering is being performed using compareTo method.BLLComparable: Containers: TreeSet List SetSecurity: Each bit or character from the password plaintext is encrypted by a XOR operation with a bit or character from a secret key resulting in a cipher text.

    Free Template from www.brainybetty.com

  • BLLProblem: How the clients get the advertisements and feedbacks? How to get the positions and feedback answers from clients?Solution: API based on Observer Design Pattern.Communication with client objects:

    Free Template from www.brainybetty.com

  • BLLAdd Event use case:

    Free Template from www.brainybetty.com

  • BLLWeb Services:Web Services models fall into two categories: REST based SOAP/WSDL-based Used to integrate computer applications that are written in different languages and run on different platforms. Web services are language and platform independent because vendors have agreed on common web service standards. JAX-WS: The Java API for XML Web Services is the current model for SOAP-based web services in Metro (web services stack).

    Free Template from www.brainybetty.com

  • GUIJXMapKit - An open source Swing component created by the developers at SwingLabs.JXMapKit is preconfigured with 2 default providers: OpenStreetMap NASAs Blue Marble satellite imagesCustomizing the Map: Re-Centering Adding Waypoints to a set Using a custom Waypoint Renderer Drawing static text Adding polygon overlay using formula: X+latitudeDistcos(wt) + Y+longitudeDistsin(wt) Adding legend image

    Map API:

    Free Template from www.brainybetty.com

  • JFreeChart- a free chart library for the Java platform. It is designed for use in applications,applets, servlets and JSPCharts API:Creating charts with JFreeChart is a three step process: create a dataset containing the data to be displayed in the chart. create a JFreeChart object that will be responsible for drawing the chart. draw the chart to some output target.GridBagLayout-flexible layout manager that aligns components vertically and horizontally, without requiring that the components be of the same size. GUI

    Free Template from www.brainybetty.com

  • BalloonTip API - Allows adding to swing component different types of balloons that shows information We wrote the text in HTMLJOptionPane - makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something JClock - A simple clock consists of SpinnerNumberModel components arranged with FlowLayoutJCalendar - JCalendar is a Java date chooser bean for graphically picking a date GUI

    Free Template from www.brainybetty.com

  • Design Patterns Singleton One instance of a class or one value accessible globally in an application. (Encrypt, ListenerList )

    State An object's behavior change is represented by its member classes, which share the same super class.

    Observer One object changes state, all of its dependents are updated automatically.

    Free Template from www.brainybetty.com

  • SUMMARYGain experience in programming a complex and varied applicationGUIBLLBusiness logic layer DALData access layer DatabaseDerby DB

    Free Template from www.brainybetty.com

  • SUMMARY Make GUI, Use different kind of APIs

    Free Template from www.brainybetty.com

  • SUMMARYWork with SQL based database

    Learn to work with Web Service

    Free Template from www.brainybetty.com

  • SUMMARYUse Design Patterns to solve common problems

    singletonAll in JAVA

    Free Template from www.brainybetty.com

  • Free Template from www.brainybetty.com

    ***********************

Recommended

View more >