SlideShare a Scribd company logo
1 of 4
Download to read offline
Research Inventy: International Journal Of Engineering And Science
Issn: 2278-4721, Vol. 2, Issue 4 (February 2013), Pp 01-04
Www.Researchinventy.Com

                            Cloud Based SQL Query Processor
                1,
                     Atul Phad, 2,Swapnil Patil, 3,Sujeet Purane, 4,Vineet Patil
                           1,2,3,4,
                                  Pune Institute of Computer Technology, Pune University,
                                               Pune, Maharashtra, India.




Abstract- Cloud based SQL query processor is an effort to introduce high-level needs like graphical and
features of the SQL-editing tool. It can be implemented for the various databases (DB). The work presented in
this study will support the ongoing development of technologies based on them. It develop a secure web based
SQL editing system that will enable the students and staff to edit, execute the SQL statements and to perform
syntax checking through GUI interface with the help of online interactive support and so that one can view the
database through graphical representation. Features like autocomplete/autosuggest add more user-friendliness
to the system.
Keywords- Cloud Computing, Web service, Networking


                                             I INTRODUCTION
         The concept of Web Services is not new and has been around for many years now. For a person who is
unaware, a better way to understand it would be to consider the example of a user who might be interested in
locating a public web service that gives the weather forecast in cities. Upon invocation, the web service will
respond by giving information about which services are provided by which servers. Hence, now the user knows
the location of the web service but doesn’t know how to invoke it. For this purpose, the web service needs to
describe itself (tell us how the user should invoke it).The basic idea of a web service invocation involves
sending of messages between a client and a server. For example, SOAP (Simple Object Access Protocol)
specifies the format in which the requests are sent to the server and how the server should format the responses.




                                      Figure 1: Web Service Discovery and Invocation


                     Here are various ways to access a remote database from a mobile application.

A. Accessing Remote Database on cloud using Web Services
          One of the most common methods to do so is by using the concept of web services. Web Services are
platform independent and language independent since they use standard XML languages. Moreover, majority of
the web services use Hypertext Transport Protocol (HTTP) for transmitting the messages.One of the most
interesting features of a web service is that they are self-describing. This means that once a web service is
located we can ask it to describe itself and tell what operations it supports and how to invoke it. This is handled
by the Web Service Description Language (WSDL).



                                                           1
Cloud Based SQL Query Processor

B. Accessing cloud database using Java




                                Figure 2: Using JWS to access remote database

  The reason for choosing Java Web Start is because of the interaction with databasesit can offer. As seen in
 igure2, when one queries a MySQL database server, he first needs to establish the connection and provide the
 necessary credentials. These credentials and the connection allow us to call queries and tables on the database
server. The client side has GUI for querying the server side has cloud on which MySQL is deployed. shown in
                                                    Figure 2

                                           II Proposed System
         Based on the concepts discussed above our system primarily focuses on building an efficient and user
friendly application for an SQL Query processing. The application will be installed on the users computer. It
intends to provide an interface to the user who will require minimal details to input for writing particular SQL
query for accessing database.Apart from that, the application would support strong user authentication and quick
transmission of data via the web service.Another noticeable feature of the entire application would be that no
data would be stored on the user device in any form whatsoever.

                                         III Modular Design
         Our proposed system is divided into four distinct modules described as follows:
1.   User authentication: Initially, when the user runs the application for the first time, a login screen will be
     displayed that will prompt the user to enter the username and password required for 2 way authentication.
     The user will be provided with a unique username which would be a combination of alphanumeric
     characters. Also he receives password on his registered mobile as 2 nd stage of authentication .Only when the
     user enters the correct username and password, a “success” message will be displayed and the user will get
     authenticated and directed to the next screen.

2.   Calling of Web Service: In this module, the user will need to write SQL query after writing a query he
     will press submit as soon as he press submit web service is invoked & user query is passed to server for
     processing it & returning result.

3.    Query processing: At the server side i.e. on cloud the query is processed by the database for which user
     has made request using MySQL as Software as a Service (SaaS) & result is obtained. This result is finally
     responded to the user via web service

4.    Display result on client side: Once the server response is received the result is displayed on user’s device
     with proper formatting. There is also provision of interactive tables through which user can edit table data
     just like data grid in Visual Basic 6




                                                         2
Cloud Based SQL Query Processor

                       IV      FLOW DIAGRAM OF PROPOSED SYSTEM
         The flowcharts of the various modules are described as follows:

A. User authentication process
         This is the initial process of the system. The user needs to enter the username and password.
Accordingly, depending on whether the user is authenticated, a “success” or “failure” message will be
displayed.




                            Figure 3 : Flowchart for user authentication process

B. Calling of Web Service
         Once the user has entered the required details to begin the process, a web service needs to be called in
order to generate a result of written query. Depending on the input, the details are fetched from the remote
database and displayed on the application.




                                     V Technical Requirements
         Software requirements of our system are:
1. Windows XP/ Windows 7 Operating System
2. Cloud (Eucalyptus)
3. J2SE
4. Netbeans IDE
5. MySQL 5.5 server
6. Glassfish Server.
As far as the hardware requirements are concerned, one needs to have a Pentium 4 processor or later with a
minimum RAM of 1GB and a HDD of 80GB or more. It should also have a well-equipped network adapter. The
user would require an machine with internet access & JVM installed on it.
                                                       3
Cloud Based SQL Query Processor

                                      VI IMPLEMENTATION
The following modules are successfully implemented:

E. User Authentication
         Client side: The user authentication module on the client side involved the development of a login
screen in the application. For this purpose, standard Graphical User Interface (GUI) that consists of buttons and
textboxes were developed. The button is also associated with an action that sends the input parameters in the
textboxes to the remote database via a web service. Server side: Similarly, on the server side the user/admin
needed to enter the correct username and password for logging into the system.

F. Calling of Web Service
         After user authentication he writes a query in provided GUI . After writing query he will press submit
as soon as he press submit web service is invoked & user query is passed to server for processing it & returning
result.

G. Query processing:
         At the server side i.e. on cloud the query is processed by the database for which user has made request
using MySQL as Software as a Service (SaaS) & result is obtained. This result is finally responded to the user
via web service
                                          VII FUTURE SCOPE
         In future our system plans on including multiple databases at cloud like Oracle, Microsoft SQL server,
Microsoft Access etc Also in future our system plan to include GUI for various smartphone devices like android
devices, apple devices & tablets etc.

                                            VIII     Conclusion
         In this paper, A cloud base SQL query processor is presented. The application offers reliability, time
savings and easy control. It can be used as a base for creating similar applications for tracking attendance in
offices or any workplace. It can be also integrated in healthcare sector to keep track of nurse to patient visits by
streamlining the time entry, time approval and management processes

                                                               References
[1]” An RFID Attendance and Monitoring System for University Applications”, an IEEE paper by A.Kassem, M.Hamad, Z.Chalhoub and
     S. El Dahdaah, Department of Electrical and computer and communication engineering, Notre Dame University, Louaize.
[2]” PortableLab: Implementation of Mobile remote laboratory for Android platform”, an IEEE paper by Macro Andre Guerra, Claudia
     Mariline Francisco, RuiNeves Madeira, Portugal.
[3]” Ear based Attendance Monitoring System”- an IEEE paper by Mr.Jitendra B. Jawale and Dr. Smt. Anjali S.Bhalchandra at the Army
     Institute of Technology, Pune and Government college of Engineering, Aurangabad respectively.
[4]” Remote Access of Building Management System on Windows Mobile Devices”- an IEEE paper by OndrejKrejcar, Department of
     measurement and control, VSB Technical Institute of Ostrava, Czech Republic.




                                                                 4

More Related Content

What's hot

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
 
Communication in android
Communication in androidCommunication in android
Communication in androideleksdev
 
CV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7YrsCV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7YrsPurnima Balla
 
Load Balancing und Beschleunigung mit Citrix Net Scaler
Load Balancing und Beschleunigung mit Citrix Net ScalerLoad Balancing und Beschleunigung mit Citrix Net Scaler
Load Balancing und Beschleunigung mit Citrix Net ScalerDigicomp Academy AG
 
Online News Portal System
Online News Portal SystemOnline News Portal System
Online News Portal SystemRajib Roy
 
Lighting Automation- A Web-Based Approach
Lighting Automation- A Web-Based ApproachLighting Automation- A Web-Based Approach
Lighting Automation- A Web-Based ApproachApoorva Chandra
 
Resume_Vivek_Bishnoi
Resume_Vivek_BishnoiResume_Vivek_Bishnoi
Resume_Vivek_Bishnoivivek bishnoi
 
Azure applications performance checklist
Azure applications performance checklistAzure applications performance checklist
Azure applications performance checklistSalim M Bhonhariya
 
Flexible and fine grained attribute-based data storage in cloud computing
Flexible and fine grained attribute-based data storage in cloud computingFlexible and fine grained attribute-based data storage in cloud computing
Flexible and fine grained attribute-based data storage in cloud computingShakas Technologies
 
Modern webtechnologies
Modern webtechnologiesModern webtechnologies
Modern webtechnologiesBesjan Xhika
 
S00193ed1v01y200905cac006
S00193ed1v01y200905cac006S00193ed1v01y200905cac006
S00193ed1v01y200905cac006guest120d945
 

What's hot (20)

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
 
Job portal
Job portalJob portal
Job portal
 
Communication in android
Communication in androidCommunication in android
Communication in android
 
N tier
N tierN tier
N tier
 
Cc unit 3 updated version
Cc unit 3 updated versionCc unit 3 updated version
Cc unit 3 updated version
 
CV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7YrsCV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7Yrs
 
04 Client Server Computing
04 Client Server Computing04 Client Server Computing
04 Client Server Computing
 
ankush_resume
ankush_resumeankush_resume
ankush_resume
 
Load Balancing und Beschleunigung mit Citrix Net Scaler
Load Balancing und Beschleunigung mit Citrix Net ScalerLoad Balancing und Beschleunigung mit Citrix Net Scaler
Load Balancing und Beschleunigung mit Citrix Net Scaler
 
Online News Portal System
Online News Portal SystemOnline News Portal System
Online News Portal System
 
Cc unit 1 updated
Cc unit 1 updatedCc unit 1 updated
Cc unit 1 updated
 
Lighting Automation- A Web-Based Approach
Lighting Automation- A Web-Based ApproachLighting Automation- A Web-Based Approach
Lighting Automation- A Web-Based Approach
 
Resume_Vivek_Bishnoi
Resume_Vivek_BishnoiResume_Vivek_Bishnoi
Resume_Vivek_Bishnoi
 
Ashish Bera
Ashish BeraAshish Bera
Ashish Bera
 
Microservices
MicroservicesMicroservices
Microservices
 
Azure applications performance checklist
Azure applications performance checklistAzure applications performance checklist
Azure applications performance checklist
 
Cc unit 4 updated version
Cc unit 4 updated versionCc unit 4 updated version
Cc unit 4 updated version
 
Flexible and fine grained attribute-based data storage in cloud computing
Flexible and fine grained attribute-based data storage in cloud computingFlexible and fine grained attribute-based data storage in cloud computing
Flexible and fine grained attribute-based data storage in cloud computing
 
Modern webtechnologies
Modern webtechnologiesModern webtechnologies
Modern webtechnologies
 
S00193ed1v01y200905cac006
S00193ed1v01y200905cac006S00193ed1v01y200905cac006
S00193ed1v01y200905cac006
 

Viewers also liked

Kenampakan alam dan buatan serta pembagian waktu di
Kenampakan alam dan buatan serta pembagian waktu diKenampakan alam dan buatan serta pembagian waktu di
Kenampakan alam dan buatan serta pembagian waktu dighufrontaufiqismail
 
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
 
Semiótica de la revista femenina
Semiótica de la revista femeninaSemiótica de la revista femenina
Semiótica de la revista femeninablancamontemayor
 
簡単便利!Laravel Homestead
簡単便利!Laravel Homestead簡単便利!Laravel Homestead
簡単便利!Laravel HomesteadShota Inoue
 
13. local fluoride
13. local fluoride13. local fluoride
13. local fluoridemiladraeisii
 
Marketing organization
Marketing organizationMarketing organization
Marketing organizationgtgund
 
MAPAS CONCEPTUALES
MAPAS CONCEPTUALESMAPAS CONCEPTUALES
MAPAS CONCEPTUALESjuanbernilla
 
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
 
Mapas conceptuales mayra pawer point
Mapas conceptuales  mayra  pawer pointMapas conceptuales  mayra  pawer point
Mapas conceptuales mayra pawer pointmrmayrachavez
 
УМНЫЙ поваренок ;)) (Интеллектуальное кафе ''Эрудит'') (2).pptx
УМНЫЙ поваренок ;)) (Интеллектуальное кафе ''Эрудит'') (2).pptxУМНЫЙ поваренок ;)) (Интеллектуальное кафе ''Эрудит'') (2).pptx
УМНЫЙ поваренок ;)) (Интеллектуальное кафе ''Эрудит'') (2).pptxЕвгения Кукурузова
 

Viewers also liked (20)

Paperwork FAG 2014
Paperwork FAG 2014Paperwork FAG 2014
Paperwork FAG 2014
 
Nbfc pawan
Nbfc pawanNbfc pawan
Nbfc pawan
 
Evidencia1
Evidencia1Evidencia1
Evidencia1
 
Minit mesyuarat ketujuh FAG
Minit mesyuarat ketujuh FAGMinit mesyuarat ketujuh FAG
Minit mesyuarat ketujuh FAG
 
Kenampakan alam dan buatan serta pembagian waktu di
Kenampakan alam dan buatan serta pembagian waktu diKenampakan alam dan buatan serta pembagian waktu di
Kenampakan alam dan buatan serta pembagian waktu di
 
Catalogo tocare
Catalogo tocareCatalogo tocare
Catalogo tocare
 
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
 
Semiótica de la revista femenina
Semiótica de la revista femeninaSemiótica de la revista femenina
Semiótica de la revista femenina
 
簡単便利!Laravel Homestead
簡単便利!Laravel Homestead簡単便利!Laravel Homestead
簡単便利!Laravel Homestead
 
13. local fluoride
13. local fluoride13. local fluoride
13. local fluoride
 
7 สามัญ อังกฤษ
7 สามัญ อังกฤษ7 สามัญ อังกฤษ
7 สามัญ อังกฤษ
 
Final eportfolio
Final eportfolioFinal eportfolio
Final eportfolio
 
Evidencia3
Evidencia3Evidencia3
Evidencia3
 
Web de O.G.T.E
Web de O.G.T.EWeb de O.G.T.E
Web de O.G.T.E
 
Marketing organization
Marketing organizationMarketing organization
Marketing organization
 
MAPAS CONCEPTUALES
MAPAS CONCEPTUALESMAPAS CONCEPTUALES
MAPAS CONCEPTUALES
 
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
 
Evidencia4
Evidencia4Evidencia4
Evidencia4
 
Mapas conceptuales mayra pawer point
Mapas conceptuales  mayra  pawer pointMapas conceptuales  mayra  pawer point
Mapas conceptuales mayra pawer point
 
УМНЫЙ поваренок ;)) (Интеллектуальное кафе ''Эрудит'') (2).pptx
УМНЫЙ поваренок ;)) (Интеллектуальное кафе ''Эрудит'') (2).pptxУМНЫЙ поваренок ;)) (Интеллектуальное кафе ''Эрудит'') (2).pptx
УМНЫЙ поваренок ;)) (Интеллектуальное кафе ''Эрудит'') (2).pptx
 

Similar to Research Inventy : International Journal of Engineering and Science

Configuring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architectureConfiguring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architectureVatsal N Shah
 
Components of a Generic Web Application Architecture
Components of  a Generic Web Application ArchitectureComponents of  a Generic Web Application Architecture
Components of a Generic Web Application ArchitectureMadonnaLamin1
 
java Project report online banking system
java Project report online banking systemjava Project report online banking system
java Project report online banking systemVishNu KuNtal
 
Over view of software artitecture
Over view of software artitectureOver view of software artitecture
Over view of software artitectureABDEL RAHMAN KARIM
 
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...acijjournal
 
Secure Data Sharing in Cloud Computing Using Revocable-Storage Identity-Based...
Secure Data Sharing in Cloud Computing Using Revocable-Storage Identity-Based...Secure Data Sharing in Cloud Computing Using Revocable-Storage Identity-Based...
Secure Data Sharing in Cloud Computing Using Revocable-Storage Identity-Based...Yashwanth Reddy
 
Enhancement in Web Service Architecture
Enhancement in Web Service ArchitectureEnhancement in Web Service Architecture
Enhancement in Web Service ArchitectureIJERA Editor
 
Introducing Azure Services Platform V1
Introducing Azure Services Platform V1Introducing Azure Services Platform V1
Introducing Azure Services Platform V1guest120d945
 
Report : Dpilot - A Cloud Based File Transfer Web Application
Report : Dpilot - A Cloud Based File Transfer Web ApplicationReport : Dpilot - A Cloud Based File Transfer Web Application
Report : Dpilot - A Cloud Based File Transfer Web ApplicationKritika Phulli
 
Project Dpilot Documentation
Project Dpilot DocumentationProject Dpilot Documentation
Project Dpilot DocumentationDeepAnshu Sharma
 
session and cookies.ppt
session and cookies.pptsession and cookies.ppt
session and cookies.pptJayaprasanna4
 
Onlinebanking system.ppt
Onlinebanking system.pptOnlinebanking system.ppt
Onlinebanking system.pptMohitDhande3
 
SOFTWARE AS A SERVICE – COMMON SERVICE BUS (SAAS-CSB)
SOFTWARE AS A SERVICE – COMMON SERVICE BUS (SAAS-CSB)SOFTWARE AS A SERVICE – COMMON SERVICE BUS (SAAS-CSB)
SOFTWARE AS A SERVICE – COMMON SERVICE BUS (SAAS-CSB)IJCSEA Journal
 
Service oriented cloud computing
Service oriented cloud computingService oriented cloud computing
Service oriented cloud computingMandar Pathrikar
 
Distributed Services Scheduling and Cloud Provisioning
Distributed Services Scheduling and Cloud ProvisioningDistributed Services Scheduling and Cloud Provisioning
Distributed Services Scheduling and Cloud ProvisioningAr Agarwal
 

Similar to Research Inventy : International Journal of Engineering and Science (20)

Configuring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architectureConfiguring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architecture
 
Components of a Generic Web Application Architecture
Components of  a Generic Web Application ArchitectureComponents of  a Generic Web Application Architecture
Components of a Generic Web Application Architecture
 
java Project report online banking system
java Project report online banking systemjava Project report online banking system
java Project report online banking system
 
Project report
Project reportProject report
Project report
 
Over view of software artitecture
Over view of software artitectureOver view of software artitecture
Over view of software artitecture
 
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
 
I44084954
I44084954I44084954
I44084954
 
Secure Data Sharing in Cloud Computing Using Revocable-Storage Identity-Based...
Secure Data Sharing in Cloud Computing Using Revocable-Storage Identity-Based...Secure Data Sharing in Cloud Computing Using Revocable-Storage Identity-Based...
Secure Data Sharing in Cloud Computing Using Revocable-Storage Identity-Based...
 
Enhancement in Web Service Architecture
Enhancement in Web Service ArchitectureEnhancement in Web Service Architecture
Enhancement in Web Service Architecture
 
Introducing Azure Services Platform V1
Introducing Azure Services Platform V1Introducing Azure Services Platform V1
Introducing Azure Services Platform V1
 
Ijetcas14 424
Ijetcas14 424Ijetcas14 424
Ijetcas14 424
 
Report : Dpilot - A Cloud Based File Transfer Web Application
Report : Dpilot - A Cloud Based File Transfer Web ApplicationReport : Dpilot - A Cloud Based File Transfer Web Application
Report : Dpilot - A Cloud Based File Transfer Web Application
 
Project Dpilot Documentation
Project Dpilot DocumentationProject Dpilot Documentation
Project Dpilot Documentation
 
session and cookies.ppt
session and cookies.pptsession and cookies.ppt
session and cookies.ppt
 
Resume
ResumeResume
Resume
 
Spring Framework-II
Spring Framework-IISpring Framework-II
Spring Framework-II
 
Onlinebanking system.ppt
Onlinebanking system.pptOnlinebanking system.ppt
Onlinebanking system.ppt
 
SOFTWARE AS A SERVICE – COMMON SERVICE BUS (SAAS-CSB)
SOFTWARE AS A SERVICE – COMMON SERVICE BUS (SAAS-CSB)SOFTWARE AS A SERVICE – COMMON SERVICE BUS (SAAS-CSB)
SOFTWARE AS A SERVICE – COMMON SERVICE BUS (SAAS-CSB)
 
Service oriented cloud computing
Service oriented cloud computingService oriented cloud computing
Service oriented cloud computing
 
Distributed Services Scheduling and Cloud Provisioning
Distributed Services Scheduling and Cloud ProvisioningDistributed Services Scheduling and Cloud Provisioning
Distributed Services Scheduling and Cloud Provisioning
 

Research Inventy : International Journal of Engineering and Science

  • 1. Research Inventy: International Journal Of Engineering And Science Issn: 2278-4721, Vol. 2, Issue 4 (February 2013), Pp 01-04 Www.Researchinventy.Com Cloud Based SQL Query Processor 1, Atul Phad, 2,Swapnil Patil, 3,Sujeet Purane, 4,Vineet Patil 1,2,3,4, Pune Institute of Computer Technology, Pune University, Pune, Maharashtra, India. Abstract- Cloud based SQL query processor is an effort to introduce high-level needs like graphical and features of the SQL-editing tool. It can be implemented for the various databases (DB). The work presented in this study will support the ongoing development of technologies based on them. It develop a secure web based SQL editing system that will enable the students and staff to edit, execute the SQL statements and to perform syntax checking through GUI interface with the help of online interactive support and so that one can view the database through graphical representation. Features like autocomplete/autosuggest add more user-friendliness to the system. Keywords- Cloud Computing, Web service, Networking I INTRODUCTION The concept of Web Services is not new and has been around for many years now. For a person who is unaware, a better way to understand it would be to consider the example of a user who might be interested in locating a public web service that gives the weather forecast in cities. Upon invocation, the web service will respond by giving information about which services are provided by which servers. Hence, now the user knows the location of the web service but doesn’t know how to invoke it. For this purpose, the web service needs to describe itself (tell us how the user should invoke it).The basic idea of a web service invocation involves sending of messages between a client and a server. For example, SOAP (Simple Object Access Protocol) specifies the format in which the requests are sent to the server and how the server should format the responses. Figure 1: Web Service Discovery and Invocation Here are various ways to access a remote database from a mobile application. A. Accessing Remote Database on cloud using Web Services One of the most common methods to do so is by using the concept of web services. Web Services are platform independent and language independent since they use standard XML languages. Moreover, majority of the web services use Hypertext Transport Protocol (HTTP) for transmitting the messages.One of the most interesting features of a web service is that they are self-describing. This means that once a web service is located we can ask it to describe itself and tell what operations it supports and how to invoke it. This is handled by the Web Service Description Language (WSDL). 1
  • 2. Cloud Based SQL Query Processor B. Accessing cloud database using Java Figure 2: Using JWS to access remote database The reason for choosing Java Web Start is because of the interaction with databasesit can offer. As seen in igure2, when one queries a MySQL database server, he first needs to establish the connection and provide the necessary credentials. These credentials and the connection allow us to call queries and tables on the database server. The client side has GUI for querying the server side has cloud on which MySQL is deployed. shown in Figure 2 II Proposed System Based on the concepts discussed above our system primarily focuses on building an efficient and user friendly application for an SQL Query processing. The application will be installed on the users computer. It intends to provide an interface to the user who will require minimal details to input for writing particular SQL query for accessing database.Apart from that, the application would support strong user authentication and quick transmission of data via the web service.Another noticeable feature of the entire application would be that no data would be stored on the user device in any form whatsoever. III Modular Design Our proposed system is divided into four distinct modules described as follows: 1. User authentication: Initially, when the user runs the application for the first time, a login screen will be displayed that will prompt the user to enter the username and password required for 2 way authentication. The user will be provided with a unique username which would be a combination of alphanumeric characters. Also he receives password on his registered mobile as 2 nd stage of authentication .Only when the user enters the correct username and password, a “success” message will be displayed and the user will get authenticated and directed to the next screen. 2. Calling of Web Service: In this module, the user will need to write SQL query after writing a query he will press submit as soon as he press submit web service is invoked & user query is passed to server for processing it & returning result. 3. Query processing: At the server side i.e. on cloud the query is processed by the database for which user has made request using MySQL as Software as a Service (SaaS) & result is obtained. This result is finally responded to the user via web service 4. Display result on client side: Once the server response is received the result is displayed on user’s device with proper formatting. There is also provision of interactive tables through which user can edit table data just like data grid in Visual Basic 6 2
  • 3. Cloud Based SQL Query Processor IV FLOW DIAGRAM OF PROPOSED SYSTEM The flowcharts of the various modules are described as follows: A. User authentication process This is the initial process of the system. The user needs to enter the username and password. Accordingly, depending on whether the user is authenticated, a “success” or “failure” message will be displayed. Figure 3 : Flowchart for user authentication process B. Calling of Web Service Once the user has entered the required details to begin the process, a web service needs to be called in order to generate a result of written query. Depending on the input, the details are fetched from the remote database and displayed on the application. V Technical Requirements Software requirements of our system are: 1. Windows XP/ Windows 7 Operating System 2. Cloud (Eucalyptus) 3. J2SE 4. Netbeans IDE 5. MySQL 5.5 server 6. Glassfish Server. As far as the hardware requirements are concerned, one needs to have a Pentium 4 processor or later with a minimum RAM of 1GB and a HDD of 80GB or more. It should also have a well-equipped network adapter. The user would require an machine with internet access & JVM installed on it. 3
  • 4. Cloud Based SQL Query Processor VI IMPLEMENTATION The following modules are successfully implemented: E. User Authentication Client side: The user authentication module on the client side involved the development of a login screen in the application. For this purpose, standard Graphical User Interface (GUI) that consists of buttons and textboxes were developed. The button is also associated with an action that sends the input parameters in the textboxes to the remote database via a web service. Server side: Similarly, on the server side the user/admin needed to enter the correct username and password for logging into the system. F. Calling of Web Service After user authentication he writes a query in provided GUI . After writing query he will press submit as soon as he press submit web service is invoked & user query is passed to server for processing it & returning result. G. Query processing: At the server side i.e. on cloud the query is processed by the database for which user has made request using MySQL as Software as a Service (SaaS) & result is obtained. This result is finally responded to the user via web service VII FUTURE SCOPE In future our system plans on including multiple databases at cloud like Oracle, Microsoft SQL server, Microsoft Access etc Also in future our system plan to include GUI for various smartphone devices like android devices, apple devices & tablets etc. VIII Conclusion In this paper, A cloud base SQL query processor is presented. The application offers reliability, time savings and easy control. It can be used as a base for creating similar applications for tracking attendance in offices or any workplace. It can be also integrated in healthcare sector to keep track of nurse to patient visits by streamlining the time entry, time approval and management processes References [1]” An RFID Attendance and Monitoring System for University Applications”, an IEEE paper by A.Kassem, M.Hamad, Z.Chalhoub and S. El Dahdaah, Department of Electrical and computer and communication engineering, Notre Dame University, Louaize. [2]” PortableLab: Implementation of Mobile remote laboratory for Android platform”, an IEEE paper by Macro Andre Guerra, Claudia Mariline Francisco, RuiNeves Madeira, Portugal. [3]” Ear based Attendance Monitoring System”- an IEEE paper by Mr.Jitendra B. Jawale and Dr. Smt. Anjali S.Bhalchandra at the Army Institute of Technology, Pune and Government college of Engineering, Aurangabad respectively. [4]” Remote Access of Building Management System on Windows Mobile Devices”- an IEEE paper by OndrejKrejcar, Department of measurement and control, VSB Technical Institute of Ostrava, Czech Republic. 4