SlideShare una empresa de Scribd logo
1 de 26
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
ATM Terminal Services the RESTful Way
JavaOne India 2013
Kausal Malladi
Srivatsan Sridharan
International Institute of Information Technology - Bangalore
May 9, 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
About Me
An M.Tech. student from IIIT-B specializing in Computer
Science
Systems Engineer at Infosys Limited for 2 years
A B.Tech. graduate specialized in Information Technology
from JNTU, Hyderabad
Interests
Theoretical Computer Science
Machine Learning
Information Retrieval
Web Services
Hobbies
Occasional Blogging
Music
Cricket
My website - http://www.kausalmalladi.tk
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Agenda
1 Introduction
2 The Idea
3 Implementing the RESTful Way
System Architecture
How is REST effective?
4 Demonstration
5 Conclusion
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
REpresentational State Transfer
Roy Fielding (2000)’s dissertation
An architectural style!
Resource oriented
Resources identified by URIs (Uniform Resource Identifiers)
Stateless messages which are self descriptive
Resources - Conceptual target of a Hyperref
Resources - Retrieved as complete representation of concepts
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
REpresentational State Transfer
Multiple representations of data
XML, Plain Text, HTML, RSS, JSON...
All resources mapped to HTTP methods
GET, POST, PUT, DELETE (Universal Verbs)
URIs - Nouns
Transport level security!
A few DOs and DON’Ts on HTTP leads to REST style easily!
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Motivation
Design a robust e-voting system
Using most of the existing infrastructure (ATMs)
Minimize costs to governments
Highly scalable
Real-time Performance
Security and Voting guidelines to be adhered to!
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Why using ATMs?
Highly scalable infrastructure already setup
Good on-going research, to include Non-Financial Services
Few modifications to business logic and database schema of
Banks can result in incorporating several Non-Financial
Services
Issues to be addressed:
Increased load on Bank Servers
Heavy traffic flow all the way
Adherence to Banking and Voting process related issues
Security!
User Interface
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Architecture
Available Options
Simple extension to existing Architecture
Web Services
Simple extension isn’t effective!
Existing Architecture not easily known
Not an easy task
Huge loads on servers
Architecture is not same across all Banks
Web Services chosen because they can be plugged in
anywhere without much difficulty!
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
High Level Architecture
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Exposed Web Services
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Why REST over SOAP/WSDL?
REST is cleaner than SOAP
Safe encapsulation of Legacy systems
REST isn’t any obscure, its the way Web works aided with
some rules!
Plain Text Data exchange
Not many standards to follow other than basic HTTP
methods!
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Features in our system
Registration of Right to Vote
ATM Card registration for Voting
Robust e-Voting system
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Uncovering the e-Voting System
1 Voter requests for One Time Password (OTP) and List of
Candidates on SMS
2 User authenticates himself with ATM PIN and OTP
3 Interface to capture Votes for all elections is loaded
4 User enters the corresponding Candidate ID in the available
TextBox along with Voting PIN
5 Vote Count for corresponding candidate is updated
6 Instant result availability - key feature!
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
e-Voting : Interaction among Web Services
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Advantages of using REST style
Scalable Components
Simple interfaces
Independently deployable
Secure
Easy real-time deployment
Real-time performance
Multiple data formats
Lesser loads on servers
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Scalability
REST encourages using good practices for Scalability
Each Web Service can be deployed on a separate server
Ensures the services aren’t affected by performance
bottlenecks
Very close to real-time deployment
Easier Functional Scalability
More Non-Functional Services can be added to the ATM
Terminals
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Security
Security a serious issue!
ATMs in private networks of Banks
All messages transferred via SSL (Secure Sockets Layer)
Messages required to be transferred directly between the
Election Authority and the Client are encrypted using a shared
key (2048 bit) between ATM Terminal Client and Election
Authority
Bank merely forwards the messages to Election Authority but
will NOT be able to read it!
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Real-time Deployment
Web Services can be deployed on different servers as
interfaces are well-defined
Supports deployment on distributed servers
Real-time performance because no much interaction latency
Banks already have well set-up infrastructure and setting up a
robust infrastructure for Election Authority can handle huge
requests, which is a typical scenario of an e-Voting system
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Multiple Data Formats
Parsing XML is a costlier process
SOAP/WSDL allows only XML for interactions
XML, JSON, HTML, Plain Text are allowed in REST
Parsing one data format to other not required, as the Web
services can agree on a single data format as simple as Plain
Text for simplicity
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Load on Servers
In an application where large number of requests are to be
served, storing state information can lead to performance
bottlenecks
e-Voting is a system where almost 100000 clients may perform
some operation plus the normal financial transactions on ATM
terminals are also to be satisfied
In REST, the servers are not required to maintain state of
clients
Messages contain necessary information required for a Web
Service, including but not limited to state of the client
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
A Small Demonstration
All Web Services hosted on one machine only, this is just for
understanding of the application
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Winding it up...
REST style can facilitate many Non-Financial Services on
ATM Terminals
Performance guaranteed
Scalable, Real-time Deployment of Web Services to
accomplish several additional tasks on ATMs
Using REST and making excellent use of existing ATM-Bank
infrastructure, a robust e-Voting system can be developed
“Statelessness means that the client’s state is not maintained
by server, which states that the performance bottlenecks don’t
arise!”
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Questions?
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Acknowledgement
Mr. Sastry Malladi - Chief Architect, Stubhub
Inspired me to try on a big stage like this
Always provided several valuable ideas w.r.t. technology
My encounter with “REST” happened because of him!
Dr. L T Jayprakash - Associate Professor, IIIT-B
Gave me freedom to architect the system
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Connect!
JavaOne India 2013
Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion
Thank you!
Kausal.Malladi@iiitb.org
kausalmalladi@gmail.com
JavaOne India 2013

Más contenido relacionado

La actualidad más candente

MOBILE RECHARGING WITH BANKING TRANSACTION USING SMS
MOBILE RECHARGING WITH BANKING TRANSACTION USING SMSMOBILE RECHARGING WITH BANKING TRANSACTION USING SMS
MOBILE RECHARGING WITH BANKING TRANSACTION USING SMSKuldeep Jain
 
Java project titles
Java project titlesJava project titles
Java project titlesAshly Liza
 
Banking application & software solutions at competitive rate
Banking application & software solutions at competitive rateBanking application & software solutions at competitive rate
Banking application & software solutions at competitive rateAaron Jacobson
 
Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)WSO2
 
PROJECT ARRANGED (FINAL)
PROJECT ARRANGED (FINAL)PROJECT ARRANGED (FINAL)
PROJECT ARRANGED (FINAL)Joseph Olumide
 
Subscription based control system to automate management of events for robots
Subscription based control system to automate management of events for robotsSubscription based control system to automate management of events for robots
Subscription based control system to automate management of events for robotsdbpublications
 
Code-magic IBM FINAL
Code-magic IBM FINALCode-magic IBM FINAL
Code-magic IBM FINALRatnam Dubey
 
SIVA_7+_EXP_JAVA_J2EE_CAPGEMINI
SIVA_7+_EXP_JAVA_J2EE_CAPGEMINISIVA_7+_EXP_JAVA_J2EE_CAPGEMINI
SIVA_7+_EXP_JAVA_J2EE_CAPGEMINISiva Kokkiligadda
 
Distributed systems and middleware
Distributed systems and middlewareDistributed systems and middleware
Distributed systems and middlewareClaudio Fiandrino
 
Soa 24 enterprise service bus
Soa 24 enterprise service busSoa 24 enterprise service bus
Soa 24 enterprise service busVaibhav Khanna
 
Final year IEEE,NON IEEE projects for 2013-14 for BCA,BTECH,Diploma,Mtech,MCA
Final year IEEE,NON IEEE projects for 2013-14 for BCA,BTECH,Diploma,Mtech,MCAFinal year IEEE,NON IEEE projects for 2013-14 for BCA,BTECH,Diploma,Mtech,MCA
Final year IEEE,NON IEEE projects for 2013-14 for BCA,BTECH,Diploma,Mtech,MCAprojectsepark
 
IRJET- An Efficient Automation Framework for Testing ITS Solution using Selenium
IRJET- An Efficient Automation Framework for Testing ITS Solution using SeleniumIRJET- An Efficient Automation Framework for Testing ITS Solution using Selenium
IRJET- An Efficient Automation Framework for Testing ITS Solution using SeleniumIRJET Journal
 
Satheesh.G_IDM
Satheesh.G_IDMSatheesh.G_IDM
Satheesh.G_IDMsatheesh64
 
Wso2 2degrees-case-study
Wso2 2degrees-case-studyWso2 2degrees-case-study
Wso2 2degrees-case-studyoncomdeky
 

La actualidad más candente (19)

MOBILE RECHARGING WITH BANKING TRANSACTION USING SMS
MOBILE RECHARGING WITH BANKING TRANSACTION USING SMSMOBILE RECHARGING WITH BANKING TRANSACTION USING SMS
MOBILE RECHARGING WITH BANKING TRANSACTION USING SMS
 
Java project titles
Java project titlesJava project titles
Java project titles
 
Banking application & software solutions at competitive rate
Banking application & software solutions at competitive rateBanking application & software solutions at competitive rate
Banking application & software solutions at competitive rate
 
Project report
Project reportProject report
Project report
 
Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)
 
PROJECT ARRANGED (FINAL)
PROJECT ARRANGED (FINAL)PROJECT ARRANGED (FINAL)
PROJECT ARRANGED (FINAL)
 
Subscription based control system to automate management of events for robots
Subscription based control system to automate management of events for robotsSubscription based control system to automate management of events for robots
Subscription based control system to automate management of events for robots
 
Srikanth_hadoop
Srikanth_hadoopSrikanth_hadoop
Srikanth_hadoop
 
Code-magic IBM FINAL
Code-magic IBM FINALCode-magic IBM FINAL
Code-magic IBM FINAL
 
SIVA_7+_EXP_JAVA_J2EE_CAPGEMINI
SIVA_7+_EXP_JAVA_J2EE_CAPGEMINISIVA_7+_EXP_JAVA_J2EE_CAPGEMINI
SIVA_7+_EXP_JAVA_J2EE_CAPGEMINI
 
my cv
my cvmy cv
my cv
 
Distributed systems and middleware
Distributed systems and middlewareDistributed systems and middleware
Distributed systems and middleware
 
Kashave_Kumar
Kashave_KumarKashave_Kumar
Kashave_Kumar
 
Soa 24 enterprise service bus
Soa 24 enterprise service busSoa 24 enterprise service bus
Soa 24 enterprise service bus
 
Ashish Bera
Ashish BeraAshish Bera
Ashish Bera
 
Final year IEEE,NON IEEE projects for 2013-14 for BCA,BTECH,Diploma,Mtech,MCA
Final year IEEE,NON IEEE projects for 2013-14 for BCA,BTECH,Diploma,Mtech,MCAFinal year IEEE,NON IEEE projects for 2013-14 for BCA,BTECH,Diploma,Mtech,MCA
Final year IEEE,NON IEEE projects for 2013-14 for BCA,BTECH,Diploma,Mtech,MCA
 
IRJET- An Efficient Automation Framework for Testing ITS Solution using Selenium
IRJET- An Efficient Automation Framework for Testing ITS Solution using SeleniumIRJET- An Efficient Automation Framework for Testing ITS Solution using Selenium
IRJET- An Efficient Automation Framework for Testing ITS Solution using Selenium
 
Satheesh.G_IDM
Satheesh.G_IDMSatheesh.G_IDM
Satheesh.G_IDM
 
Wso2 2degrees-case-study
Wso2 2degrees-case-studyWso2 2degrees-case-study
Wso2 2degrees-case-study
 

Destacado

Digital Archiving at the Meertens Institute
Digital Archiving at the Meertens InstituteDigital Archiving at the Meertens Institute
Digital Archiving at the Meertens Institutejuntez
 
The prevention of conflict damage to archive and library materials
The prevention of conflict damage to archive and library materialsThe prevention of conflict damage to archive and library materials
The prevention of conflict damage to archive and library materialsAlessandro Sidoti
 
Ssm Appliance Ssm Demo
Ssm Appliance Ssm DemoSsm Appliance Ssm Demo
Ssm Appliance Ssm Demojerrycarleo
 
Front cover image process
Front cover image processFront cover image process
Front cover image processAmanpreetBhopal
 
Library Disasters
Library DisastersLibrary Disasters
Library Disastershoganedix
 
Rivonia Trial Dictabelt Project, Save Your Archive, Gerrit Wagener, Brenda Ko...
Rivonia Trial Dictabelt Project, Save Your Archive, Gerrit Wagener, Brenda Ko...Rivonia Trial Dictabelt Project, Save Your Archive, Gerrit Wagener, Brenda Ko...
Rivonia Trial Dictabelt Project, Save Your Archive, Gerrit Wagener, Brenda Ko...FIAT/IFTA
 
How Document Management Solutions Benefit Government Agencies
How Document Management Solutions Benefit Government AgenciesHow Document Management Solutions Benefit Government Agencies
How Document Management Solutions Benefit Government Agenciesosaminc
 
Digital Archiving with Fishbowl Solutions
Digital Archiving with Fishbowl SolutionsDigital Archiving with Fishbowl Solutions
Digital Archiving with Fishbowl SolutionsBilly Cripe
 
AWS Summit 2013 | India - Disaster Recovery, Backup and Archive in the Cloud,...
AWS Summit 2013 | India - Disaster Recovery, Backup and Archive in the Cloud,...AWS Summit 2013 | India - Disaster Recovery, Backup and Archive in the Cloud,...
AWS Summit 2013 | India - Disaster Recovery, Backup and Archive in the Cloud,...Amazon Web Services
 
Archiveslegalsolutions plaquette a a 2012 1
Archiveslegalsolutions plaquette a a 2012 1Archiveslegalsolutions plaquette a a 2012 1
Archiveslegalsolutions plaquette a a 2012 1archiveslegalsolutions
 
Archiving as a Service - A Model for the Provision of Shared Archiving Servic...
Archiving as a Service - A Model for the Provision of Shared Archiving Servic...Archiving as a Service - A Model for the Provision of Shared Archiving Servic...
Archiving as a Service - A Model for the Provision of Shared Archiving Servic...janaskhoj
 
“Resurrecting Lost Voices: DIY Digital Archiving” PowerPoint Presentation
“Resurrecting Lost Voices: DIY Digital Archiving” PowerPoint Presentation“Resurrecting Lost Voices: DIY Digital Archiving” PowerPoint Presentation
“Resurrecting Lost Voices: DIY Digital Archiving” PowerPoint PresentationStan Prager
 
An archivist's view on preserving archaeological data in Flanders (Inge Roosens)
An archivist's view on preserving archaeological data in Flanders (Inge Roosens)An archivist's view on preserving archaeological data in Flanders (Inge Roosens)
An archivist's view on preserving archaeological data in Flanders (Inge Roosens)Onroerend Erfgoed
 
Disaster response 101
Disaster response 101Disaster response 101
Disaster response 101haightv
 
natural disaster project by mirza ibrahim from greenwich academy
natural disaster project by mirza ibrahim from greenwich academynatural disaster project by mirza ibrahim from greenwich academy
natural disaster project by mirza ibrahim from greenwich academy199917
 
Rethinking Document Management eBook
Rethinking Document Management eBookRethinking Document Management eBook
Rethinking Document Management eBookKimberly Jones
 
Paper and Digital Filing Systems
Paper and Digital Filing SystemsPaper and Digital Filing Systems
Paper and Digital Filing SystemsAmy Geils
 

Destacado (19)

Digital Archiving at the Meertens Institute
Digital Archiving at the Meertens InstituteDigital Archiving at the Meertens Institute
Digital Archiving at the Meertens Institute
 
The prevention of conflict damage to archive and library materials
The prevention of conflict damage to archive and library materialsThe prevention of conflict damage to archive and library materials
The prevention of conflict damage to archive and library materials
 
Ssm Appliance Ssm Demo
Ssm Appliance Ssm DemoSsm Appliance Ssm Demo
Ssm Appliance Ssm Demo
 
Front cover image process
Front cover image processFront cover image process
Front cover image process
 
Library Disasters
Library DisastersLibrary Disasters
Library Disasters
 
Rivonia Trial Dictabelt Project, Save Your Archive, Gerrit Wagener, Brenda Ko...
Rivonia Trial Dictabelt Project, Save Your Archive, Gerrit Wagener, Brenda Ko...Rivonia Trial Dictabelt Project, Save Your Archive, Gerrit Wagener, Brenda Ko...
Rivonia Trial Dictabelt Project, Save Your Archive, Gerrit Wagener, Brenda Ko...
 
How Document Management Solutions Benefit Government Agencies
How Document Management Solutions Benefit Government AgenciesHow Document Management Solutions Benefit Government Agencies
How Document Management Solutions Benefit Government Agencies
 
Digital Archiving with Fishbowl Solutions
Digital Archiving with Fishbowl SolutionsDigital Archiving with Fishbowl Solutions
Digital Archiving with Fishbowl Solutions
 
AWS Summit 2013 | India - Disaster Recovery, Backup and Archive in the Cloud,...
AWS Summit 2013 | India - Disaster Recovery, Backup and Archive in the Cloud,...AWS Summit 2013 | India - Disaster Recovery, Backup and Archive in the Cloud,...
AWS Summit 2013 | India - Disaster Recovery, Backup and Archive in the Cloud,...
 
Archiveslegalsolutions plaquette a a 2012 1
Archiveslegalsolutions plaquette a a 2012 1Archiveslegalsolutions plaquette a a 2012 1
Archiveslegalsolutions plaquette a a 2012 1
 
Archiving as a Service - A Model for the Provision of Shared Archiving Servic...
Archiving as a Service - A Model for the Provision of Shared Archiving Servic...Archiving as a Service - A Model for the Provision of Shared Archiving Servic...
Archiving as a Service - A Model for the Provision of Shared Archiving Servic...
 
“Resurrecting Lost Voices: DIY Digital Archiving” PowerPoint Presentation
“Resurrecting Lost Voices: DIY Digital Archiving” PowerPoint Presentation“Resurrecting Lost Voices: DIY Digital Archiving” PowerPoint Presentation
“Resurrecting Lost Voices: DIY Digital Archiving” PowerPoint Presentation
 
An archivist's view on preserving archaeological data in Flanders (Inge Roosens)
An archivist's view on preserving archaeological data in Flanders (Inge Roosens)An archivist's view on preserving archaeological data in Flanders (Inge Roosens)
An archivist's view on preserving archaeological data in Flanders (Inge Roosens)
 
Disaster response 101
Disaster response 101Disaster response 101
Disaster response 101
 
natural disaster project by mirza ibrahim from greenwich academy
natural disaster project by mirza ibrahim from greenwich academynatural disaster project by mirza ibrahim from greenwich academy
natural disaster project by mirza ibrahim from greenwich academy
 
Itas profile
Itas profileItas profile
Itas profile
 
Rethinking Document Management eBook
Rethinking Document Management eBookRethinking Document Management eBook
Rethinking Document Management eBook
 
Dspace Webinar
Dspace WebinarDspace Webinar
Dspace Webinar
 
Paper and Digital Filing Systems
Paper and Digital Filing SystemsPaper and Digital Filing Systems
Paper and Digital Filing Systems
 

Similar a ATM Terminal Services the RESTful Way

Web services automation workshop sreedhar dakshinamurthy
Web services automation workshop   sreedhar dakshinamurthyWeb services automation workshop   sreedhar dakshinamurthy
Web services automation workshop sreedhar dakshinamurthyThoughtworks
 
Web services automation workshop sreedhar dakshinamurthy
Web services automation workshop   sreedhar dakshinamurthyWeb services automation workshop   sreedhar dakshinamurthy
Web services automation workshop sreedhar dakshinamurthyvodQA
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Aravindharamanan S
 
Enterprise Software Architecture
Enterprise Software ArchitectureEnterprise Software Architecture
Enterprise Software Architecturerahmed_sct
 
Exploring Data Integration Capabilities of the WSO2 Platform
Exploring Data Integration Capabilities of the WSO2 PlatformExploring Data Integration Capabilities of the WSO2 Platform
Exploring Data Integration Capabilities of the WSO2 PlatformWSO2
 
Enhancement in Web Service Architecture
Enhancement in Web Service ArchitectureEnhancement in Web Service Architecture
Enhancement in Web Service ArchitectureIJERA Editor
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Scienceresearchinventy
 
Microservices: Breaking Apart the Monolith
Microservices:  Breaking Apart the Monolith Microservices:  Breaking Apart the Monolith
Microservices: Breaking Apart the Monolith Iron.io
 
Netserv Technology Services
Netserv Technology ServicesNetserv Technology Services
Netserv Technology Servicessthicks14
 
Fullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdfFullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdfcsvishnukumar
 
Service Oriented Architecture in NodeJS
Service Oriented Architecture in NodeJSService Oriented Architecture in NodeJS
Service Oriented Architecture in NodeJSAndolasoft Inc
 
Service oriented cloud computing
Service oriented cloud computingService oriented cloud computing
Service oriented cloud computingMandar Pathrikar
 
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAASMULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAASijseajournal
 
Resume new it_format
Resume new it_formatResume new it_format
Resume new it_formatRajiv Saini
 
Performance Evaluation of Web Services In Linux On Multicore
Performance Evaluation of Web Services In Linux On MulticorePerformance Evaluation of Web Services In Linux On Multicore
Performance Evaluation of Web Services In Linux On MulticoreCSCJournals
 
Online test management system
Online test management systemOnline test management system
Online test management systemPrateek Agarwak
 

Similar a ATM Terminal Services the RESTful Way (20)

Web services automation workshop sreedhar dakshinamurthy
Web services automation workshop   sreedhar dakshinamurthyWeb services automation workshop   sreedhar dakshinamurthy
Web services automation workshop sreedhar dakshinamurthy
 
Web services automation workshop sreedhar dakshinamurthy
Web services automation workshop   sreedhar dakshinamurthyWeb services automation workshop   sreedhar dakshinamurthy
Web services automation workshop sreedhar dakshinamurthy
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
 
Enterprise Software Architecture
Enterprise Software ArchitectureEnterprise Software Architecture
Enterprise Software Architecture
 
Twelve factor-app
Twelve factor-appTwelve factor-app
Twelve factor-app
 
Exploring Data Integration Capabilities of the WSO2 Platform
Exploring Data Integration Capabilities of the WSO2 PlatformExploring Data Integration Capabilities of the WSO2 Platform
Exploring Data Integration Capabilities of the WSO2 Platform
 
Enhancement in Web Service Architecture
Enhancement in Web Service ArchitectureEnhancement in Web Service Architecture
Enhancement in Web Service Architecture
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Microservices: Breaking Apart the Monolith
Microservices:  Breaking Apart the Monolith Microservices:  Breaking Apart the Monolith
Microservices: Breaking Apart the Monolith
 
Netserv Technology Services
Netserv Technology ServicesNetserv Technology Services
Netserv Technology Services
 
Fullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdfFullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdf
 
Service Oriented Architecture in NodeJS
Service Oriented Architecture in NodeJSService Oriented Architecture in NodeJS
Service Oriented Architecture in NodeJS
 
Resume
ResumeResume
Resume
 
Microservice Powered Orchestration
Microservice Powered OrchestrationMicroservice Powered Orchestration
Microservice Powered Orchestration
 
Service oriented cloud computing
Service oriented cloud computingService oriented cloud computing
Service oriented cloud computing
 
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAASMULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
 
Resume new it_format
Resume new it_formatResume new it_format
Resume new it_format
 
Performance Evaluation of Web Services In Linux On Multicore
Performance Evaluation of Web Services In Linux On MulticorePerformance Evaluation of Web Services In Linux On Multicore
Performance Evaluation of Web Services In Linux On Multicore
 
Performance in soa context
Performance in soa contextPerformance in soa context
Performance in soa context
 
Online test management system
Online test management systemOnline test management system
Online test management system
 

Más de Kausal Malladi

Implementing the ATM based Voting Services - The RESTful Way
Implementing the ATM based Voting Services - The RESTful WayImplementing the ATM based Voting Services - The RESTful Way
Implementing the ATM based Voting Services - The RESTful WayKausal Malladi
 
Online Franchise Capturing Using IPv6 through Automated Teller Machines
Online Franchise Capturing Using IPv6 through Automated Teller MachinesOnline Franchise Capturing Using IPv6 through Automated Teller Machines
Online Franchise Capturing Using IPv6 through Automated Teller MachinesKausal Malladi
 
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...Kausal Malladi
 
Cake Cutting of CPU Resources among multiple HPC agents on a Cloud
Cake Cutting of CPU Resources among multiple HPC agents on a CloudCake Cutting of CPU Resources among multiple HPC agents on a Cloud
Cake Cutting of CPU Resources among multiple HPC agents on a CloudKausal Malladi
 
Hierarchical text classification
Hierarchical text classificationHierarchical text classification
Hierarchical text classificationKausal Malladi
 
Optimization Heuristics
Optimization HeuristicsOptimization Heuristics
Optimization HeuristicsKausal Malladi
 

Más de Kausal Malladi (6)

Implementing the ATM based Voting Services - The RESTful Way
Implementing the ATM based Voting Services - The RESTful WayImplementing the ATM based Voting Services - The RESTful Way
Implementing the ATM based Voting Services - The RESTful Way
 
Online Franchise Capturing Using IPv6 through Automated Teller Machines
Online Franchise Capturing Using IPv6 through Automated Teller MachinesOnline Franchise Capturing Using IPv6 through Automated Teller Machines
Online Franchise Capturing Using IPv6 through Automated Teller Machines
 
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
 
Cake Cutting of CPU Resources among multiple HPC agents on a Cloud
Cake Cutting of CPU Resources among multiple HPC agents on a CloudCake Cutting of CPU Resources among multiple HPC agents on a Cloud
Cake Cutting of CPU Resources among multiple HPC agents on a Cloud
 
Hierarchical text classification
Hierarchical text classificationHierarchical text classification
Hierarchical text classification
 
Optimization Heuristics
Optimization HeuristicsOptimization Heuristics
Optimization Heuristics
 

Último

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Último (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

ATM Terminal Services the RESTful Way

  • 1. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion ATM Terminal Services the RESTful Way JavaOne India 2013 Kausal Malladi Srivatsan Sridharan International Institute of Information Technology - Bangalore May 9, 2013
  • 2. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion About Me An M.Tech. student from IIIT-B specializing in Computer Science Systems Engineer at Infosys Limited for 2 years A B.Tech. graduate specialized in Information Technology from JNTU, Hyderabad Interests Theoretical Computer Science Machine Learning Information Retrieval Web Services Hobbies Occasional Blogging Music Cricket My website - http://www.kausalmalladi.tk JavaOne India 2013
  • 3. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Agenda 1 Introduction 2 The Idea 3 Implementing the RESTful Way System Architecture How is REST effective? 4 Demonstration 5 Conclusion JavaOne India 2013
  • 4. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion REpresentational State Transfer Roy Fielding (2000)’s dissertation An architectural style! Resource oriented Resources identified by URIs (Uniform Resource Identifiers) Stateless messages which are self descriptive Resources - Conceptual target of a Hyperref Resources - Retrieved as complete representation of concepts JavaOne India 2013
  • 5. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion REpresentational State Transfer Multiple representations of data XML, Plain Text, HTML, RSS, JSON... All resources mapped to HTTP methods GET, POST, PUT, DELETE (Universal Verbs) URIs - Nouns Transport level security! A few DOs and DON’Ts on HTTP leads to REST style easily! JavaOne India 2013
  • 6. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Motivation Design a robust e-voting system Using most of the existing infrastructure (ATMs) Minimize costs to governments Highly scalable Real-time Performance Security and Voting guidelines to be adhered to! JavaOne India 2013
  • 7. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Why using ATMs? Highly scalable infrastructure already setup Good on-going research, to include Non-Financial Services Few modifications to business logic and database schema of Banks can result in incorporating several Non-Financial Services Issues to be addressed: Increased load on Bank Servers Heavy traffic flow all the way Adherence to Banking and Voting process related issues Security! User Interface JavaOne India 2013
  • 8. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Architecture Available Options Simple extension to existing Architecture Web Services Simple extension isn’t effective! Existing Architecture not easily known Not an easy task Huge loads on servers Architecture is not same across all Banks Web Services chosen because they can be plugged in anywhere without much difficulty! JavaOne India 2013
  • 9. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion High Level Architecture JavaOne India 2013
  • 10. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Exposed Web Services JavaOne India 2013
  • 11. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Why REST over SOAP/WSDL? REST is cleaner than SOAP Safe encapsulation of Legacy systems REST isn’t any obscure, its the way Web works aided with some rules! Plain Text Data exchange Not many standards to follow other than basic HTTP methods! JavaOne India 2013
  • 12. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Features in our system Registration of Right to Vote ATM Card registration for Voting Robust e-Voting system JavaOne India 2013
  • 13. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Uncovering the e-Voting System 1 Voter requests for One Time Password (OTP) and List of Candidates on SMS 2 User authenticates himself with ATM PIN and OTP 3 Interface to capture Votes for all elections is loaded 4 User enters the corresponding Candidate ID in the available TextBox along with Voting PIN 5 Vote Count for corresponding candidate is updated 6 Instant result availability - key feature! JavaOne India 2013
  • 14. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion e-Voting : Interaction among Web Services JavaOne India 2013
  • 15. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Advantages of using REST style Scalable Components Simple interfaces Independently deployable Secure Easy real-time deployment Real-time performance Multiple data formats Lesser loads on servers JavaOne India 2013
  • 16. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Scalability REST encourages using good practices for Scalability Each Web Service can be deployed on a separate server Ensures the services aren’t affected by performance bottlenecks Very close to real-time deployment Easier Functional Scalability More Non-Functional Services can be added to the ATM Terminals JavaOne India 2013
  • 17. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Security Security a serious issue! ATMs in private networks of Banks All messages transferred via SSL (Secure Sockets Layer) Messages required to be transferred directly between the Election Authority and the Client are encrypted using a shared key (2048 bit) between ATM Terminal Client and Election Authority Bank merely forwards the messages to Election Authority but will NOT be able to read it! JavaOne India 2013
  • 18. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Real-time Deployment Web Services can be deployed on different servers as interfaces are well-defined Supports deployment on distributed servers Real-time performance because no much interaction latency Banks already have well set-up infrastructure and setting up a robust infrastructure for Election Authority can handle huge requests, which is a typical scenario of an e-Voting system JavaOne India 2013
  • 19. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Multiple Data Formats Parsing XML is a costlier process SOAP/WSDL allows only XML for interactions XML, JSON, HTML, Plain Text are allowed in REST Parsing one data format to other not required, as the Web services can agree on a single data format as simple as Plain Text for simplicity JavaOne India 2013
  • 20. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Load on Servers In an application where large number of requests are to be served, storing state information can lead to performance bottlenecks e-Voting is a system where almost 100000 clients may perform some operation plus the normal financial transactions on ATM terminals are also to be satisfied In REST, the servers are not required to maintain state of clients Messages contain necessary information required for a Web Service, including but not limited to state of the client JavaOne India 2013
  • 21. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion A Small Demonstration All Web Services hosted on one machine only, this is just for understanding of the application JavaOne India 2013
  • 22. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Winding it up... REST style can facilitate many Non-Financial Services on ATM Terminals Performance guaranteed Scalable, Real-time Deployment of Web Services to accomplish several additional tasks on ATMs Using REST and making excellent use of existing ATM-Bank infrastructure, a robust e-Voting system can be developed “Statelessness means that the client’s state is not maintained by server, which states that the performance bottlenecks don’t arise!” JavaOne India 2013
  • 23. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Questions? JavaOne India 2013
  • 24. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Acknowledgement Mr. Sastry Malladi - Chief Architect, Stubhub Inspired me to try on a big stage like this Always provided several valuable ideas w.r.t. technology My encounter with “REST” happened because of him! Dr. L T Jayprakash - Associate Professor, IIIT-B Gave me freedom to architect the system JavaOne India 2013
  • 25. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Connect! JavaOne India 2013
  • 26. Agenda Introduction The Idea Implementing the RESTful Way Demonstration Conclusion Thank you! Kausal.Malladi@iiitb.org kausalmalladi@gmail.com JavaOne India 2013