Professional Documents
Culture Documents
Rahmad Kurniawan
Rasyiqah Rusdi
Yudha Putra
Fakulti Teknologi
& Sains Maklumat,
Universiti
Kebangsaan
Malaysia,
43600 Bangi,
Selangor, Malaysia;
Fakulti Teknologi
& Sains
Maklumat,
Universiti
Kebangsaan
Malaysia,
43600 Bangi,
Selangor,
Malaysia;
Potential User
User that use this application can be from all range of people that have interest to buy
a car. Below are some of potential users that might use this application;
-
Home User
Mobile User
Businesses
Student
Lecturer
Government Agencies
Internet users
application
is
implements
the
three-tier
architecture.
Three-tier
architecture application responsibilities are divided into three logical categories or types
of main services that is presentation or user services, application services or business
rules and database services or data server.
Figure 1. Client Server Architecture Design of Import Car Loan Calculator Application
Followings are description of how this application work. Briefly, on client
usually prefer to the web browser. Its processes and displays HTML resources, issues
HTTP requests for resources, and processes HTTP responses.
Presentation layer is the topmost level of the application. On the presentation
layer are provides restful API for all resources/services including accessing and
modifying objects, logging into an account, anything else the API needs to "do" and so
on. It is also provides the component and runtime infrastructure that needed to
communicate the browser over the intranet as the request and the response occur. The
communication performs using a HTTP protocol and the response generally includes a
HTML document that is sent back to the browser.
On application tier (business logic, logic tier, data access tier, or middle tier) or
business rule are provides the implementation of business rules and data validation,
business logic, enforces permissions, and so on. Whereas Google App Engine (GAE) use
for build web applications using standard Java technologies and run them on Google's
scalable infrastructure. The Java environment provides a Java Servlets interface and
support for standard interfaces to the App Engine scalable datastore and services.
Standards support makes developing import car loan calculator application easy and
familiar, and also makes porting import car loan calculator application to and from our
servlet environment easy.
For the last is data server. Data server tier consists of database servers. Here
information is stored and retrieved. This tier keeps data neutral and independent from
application servers or business logic. Giving data its own tier also improves scalability
and performance. Data server provides and manages the underlying databases and
3
server logics such as Data access Data management Data security SQL parsing and so
on.
three major characteristics: Extensibility (security and WS-routing are among the
extensions under development), Neutrality (SOAP can be used over any transport
protocol such as HTTP, SMTP or even TCP), and Independence (SOAP allows for any
programming model).
b. Check that all the mandatory parts of are supported by the application
or discard the message
c. Remove all the parts before transferring he message if the application is
not the endpoint
7. The application then executes the task. A result is produced.
8. The return is done in the same way: implementation and then sending by
HTTP.
9. The result of the action may be different: display in a browser, actions, access to
a database, and so on.
Advantages of SOAP
The following are advantages of SOAP:
1. Portability: SOAP is a platform-independent and thus portable.
2. Firewall-friendliness: SOAP is capable of getting past firewalls which are totally
blocking for other protocols. This is possible due to using the HTTP protocol
[3].
3. Use of open standard: SOAP is based on the open Standard XML to format
data. As a consequence, SOAP becomes easily extendable and well supported.
4. Interoperability: SOAP relies on open instead of vendor-specific technologies and
thus enables distributed interoperability and loosely coupled applications [4].
5. Resilience to changes: It is unlikely that future modifications of SOAP
infrastructure will have any impact on applications using the method, as long as
no significant serialization changes are made to SOAP specification.
Disadvantages of SOAP
The following are disadvantages of SOAP:
1. Operation interface: Useful information such as operation details and data are
encapsulated within the services, just exposing only one endpoint of API and all
operations use the POST method.
2. Complexity: It is time-consuming to serialize and deserialize native languages
into SOAP messages. Furthermore, the WS-* protocol stack is also complex so
that only programmers can understand how to deploy a service.
6
new object by typing Example Object obj = new Example Object();, and call the method
with "obj.methodExample();"
The last word before the method name is void. The word void means that when
the method doesn't return anything. If not want a method to return something, then
7
simply replace the word void with a data type (primitive or reference type) of the
object ( or primitive type) that wish to return. Then just add return plus an object of
that type somewhere toward the end of the method's code.
D. Implementation
- server side
- client side
- screen shot of application simulation
E. Summary
As a conclusion, the main function of Web Service Application on Car Loan Calculator
project is to do a calculation that mainly focuses on the monthly payment for the car
loan itself. The calculation covers the function of currency converter from US Dollar to
Ringgit Malaysia, and the monthly payments that can be generate from it. For this
application development, the communication tools selected is Simple Object Access
Protocol (SOAP) with Google Application Engine (GAE) as the server and the
application for development purposes is using Eclipse Juno 4.2.0. On the server side, it
will perform the sum calculation of two values input by users and the other function is
to perform the square root of the sum result which will then send the result to the
client side. On the client side it will send request and return the result to the end user.
This Car Loan Application can be used by many potential end users such as home
user, small office/home office user, mobile user, businesses, student, lecturer,
government agencies and also internet users. This web service application served the
purpose of providing the end users the exact calculation for the most affordable
monthly payment based on the cars total amount, the down payment, interest rate
and the loan period (in years) selected.
f. References
[1] Al-Shammary, Dhiah. (2012). Redundancy-aware SOAP messages compression
and aggregation for enhanced performance. Journal of Network and Computer
Applications.
[2] Nandrajog, Inder (2011).
CIS 679
Management of IS
[3] Albreshne, A., Fuhrer and Pasquier, J. (2009) Web Services Technologies: State
of the Art.
[4] SOAP, accessed June 2013 from http://en.wikipedia.org/wiki/SOAP.
http://www.wikihow.com/, accessed June 2013.