crised / server_android

1 stars 0 forks source link

server-android

Name changed!

This project is about a Server Application plus a Android application.

For practical purposes the client company will be named Deludo. Deludo is not an IT company so their servers are closed to us for now.

Our unit of work will be a job assignment. Which consist of a back office agent creating an assignment for a specific field agent.

Important Relationships:

Spark Server Application

Server Address: (Right now using AngularJS quickstart) http://23.21.60.18:8080/jboss-as-kitchensink-angularjs/rest/members/

The server will be based on JBoss AS 7.1.1 (built JBoss 7.1.3 from suorce, what is roughly equivalente). This server will be behind Apache httpd server, in order to manage SSL encryption.

The server app will communicate to existing Deludo company services with SOAP web services on the back end, on the front end side: with RESTful to Admin and Android client applications.

JAX-WS services will fetch XML data from two different Web Services. The idea is to have one POJO (@Entity), named e.g. JobTask, that packs all the information needed for the field agent to perform his job. (Customer#Id, Address, GPS Position, Payment Status, field agent?, etc).

One idea can be to extend both classes that consume the 2 web services, (assuming each SOAP/XML Web Service maps to a specific class). Then instance and persist JobTask. After persisting succeeds, the RESTful resource should be available.

Keep in mind that Siebel Task can be CREATE/UPDATE/DELETE , so each notice should be send to the device. We would have to think of some locking mechanism when a specific job task is being changed by Siebel, at the same time android app is uploading finished information.

We should use Jackson instead of Jettison for generating JSON object.

Admin Browser Client Application

Server Address: http://107.21.233.48:8080/

Local Deludo intranet website, embedded in Spark Server application, which communicates with the same RESTful API interface that android devices communicate.

Purpose is to show markers in the map about the current jobs to do, showing an overlay of job details.

Features:

Heron - Android Application

Then Android application is aimed for a single device, Samsung Galaxy 2 10" (P5100).

We can use the stock 4.0.x or the updated Cyanogenmod firmware, that represents Android Jelly Bean, but there is no stable version yet. Could be either. Latter is prefered in order to limit the number of applications so users won't be able to drain battery on other stuff but our application.

Application Features:

Design guidelines:

Existing Deludo Applications

Deludo haves 3 main application that we concern:

Other Considerations

Sonar is considered for application analysis, both on server code and android code.