SlideShare a Scribd company logo
 
Abstract Mobile proxy server implementation is a mobile solution for registering complaints online for computerized customer care and servicing unit.  New approach is used for this process to minimize the workload of database server.  Here Java RMI concept was used to locate the remote server for particular customer ID authentication and registers complaints to the remote server corresponding to location of the customer registered the complaint.
Hardware Requirements Operating System: Windows 2000 and above Pentium III or IV 128 MB RAM Mobile phone with GPRS  Connected with local area network.
Software Requirements Web Server  Apache Tomcat Server 5.0 Browser    Internet Explorer 4.0 Tools    J2ME Wireless Tool Kit Server side scripting    JSP, Java Servlets Database  MS Access Language   J2EE, J2ME
Data Flow Diagram http rmi
Java Editions
Software Architecture
Use Case
Use Case
Database design  July 31, 2009 Server Table Login Table Field name Data type uname text pass text role text Field name Data type city text servername text
Database design  Customer table July 31, 2009 Field name Data type cid Text Name Text Address Text city Text phone Number date Date
Database design  July 31, 2009 Problem Table Field name Data type cusid text problem text status text City text
Modules The entire project is divided into four Modules. Client GUI (for online complaint registration) Centralized Server (servlets that handle request/response from GUI. Remote Server (to handle remote database) Admin and service Engineer module  
UserLogin.java import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.sql.*; public class UserLogin extends HttpServlet { Connection c; Statement s; String roll; public void init(ServletConfig cfg)throws ServletException { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); c=DriverManager.getConnection("jdbc:odbc:service"); s=c.createStatement(); }
catch(Exception e) { System.out.println(e); } } public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException { boolean b=false; res.setContentType("text/html"); PrintWriter pw=res.getWriter(); String t1=req.getParameter("t1"); String t2=req.getParameter("t2"); try { ResultSet rs=s.executeQuery("select * from login"); while(rs.next()) {
if(rs.getString(1).trim().equals(t1) && rs.getString(2).trim().equals(t2)) { b=true; roll=rs.getString(3).trim(); } } if(b) { if(roll.equals("admin")) res.sendRedirect("home.html"); else res.sendRedirect("home1.html"); } else { res.sendRedirect("login1.html"); } }
catch(Exception e) { System.out.println(e); } b=false; } }  
AddCustomer.java import java.io.*; import java.rmi.Naming; import java.lang.*; import java.sql.*; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.*; public class AddCustomer extends HttpServlet {    public AddCustomer() { } Connection c; Statement s; String server; public void init(ServletConfig servletconfig) throws ServletException { super.init(servletconfig);
try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); c = DriverManager.getConnection("jdbc:odbc:service"); s = c.createStatement(); } catch(Exception exception) { System.out.println(exception); } } public void doGet(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse) throws ServletException, IOException { httpservletresponse.setContentType("text/html"); PrintWriter printwriter = httpservletresponse.getWriter(); String s1 = httpservletrequest.getParameter("t1"); String s2 = httpservletrequest.getParameter("t2"); String s3 = httpservletrequest.getParameter("t3");
  String s4 = httpservletrequest.getParameter("t4"); String s5 = httpservletrequest.getParameter("t5"); String s6 = httpservletrequest.getParameter("t6");   int i=0; printwriter.println(s1); printwriter.println(s2); printwriter.println(s3); printwriter.println(s4); printwriter.println(s5); printwriter.println(s6); try { for(ResultSet resultset = s.executeQuery((new StringBuilder()).append("select * from server where city='").append(s4).append("'").toString()); resultset.next();) server = resultset.getString(2);   System.out.println(server); CustomerInterface customerinterface = (CustomerInterface)Naming.lookup((new StringBuilder()).append("rmi://").append(server.trim()).append("/Cusserver").toString()); customerinterface.setConnection("jdbc:odbc:service"); customerinterface.add(s1, s2, s3, s4, s5, s6); }
catch(Exception exception) { //System.out.println((new StringBuilder()).append(server).append(exception).toString()); } printwriter.println(&quot;<html>&quot;); printwriter.println(&quot;<body>&quot;); printwriter.println(&quot;<br><br><h3 align=center><font color=#5E6CBA>Status</font></h3>&quot;); printwriter.println(&quot;<table width=100%>&quot;); printwriter.println(&quot;<td align=center ><b><font color=#5E6CBA>SUCCESSFULLY INSERTED</font><tr>&quot;); printwriter.println(&quot;</table><br><br>&quot;); printwriter.println(&quot;<center><a href='home.html'>  <font color=#5E6CBA><b>Back to Home  </font></a></center>&quot;); printwriter.println(&quot;</html>&quot;); }   }
NewUser.java import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.sql.*; public class NewUser extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType(&quot;text/html&quot;);   PrintWriter out = response.getWriter(); try { Connection c=null; Statement s=null; Class.forName(&quot;sun.jdbc.odbc.JdbcOdbcDriver&quot;); c=DriverManager.getConnection(&quot;jdbc:odbc:service&quot;); s=c.createStatement();
String t1=request.getParameter(&quot;t1&quot;); String t2=request.getParameter(&quot;t2&quot;); String t6=request.getParameter(&quot;t6&quot;); String sq=&quot;insert into login values('&quot;+t1+&quot;','&quot;+t2+&quot;','&quot;+t6+&quot;')&quot;; s.executeUpdate(sq); System.out.println(&quot;New user data inserted successfully&quot;); response.sendRedirect(&quot;newuser.html&quot;); } catch(Exception exception) { System.out.println(exception); } } }
 
 
 
 
 
 
 
 
 
 
Thank You! Questions / Comments ?

More Related Content

ODP
Testing RESTful Webservices using the REST-assured framework
PDF
JavaOne 2013: Java 8 - The Good Parts
PDF
Servlet Filter
PPT
Test strategy for web development
PPTX
Typescript barcelona
PPTX
Dependency injection - the right way
PPTX
Servlets - filter, listeners, wrapper, internationalization
PDF
arataga. SObjectizer and RESTinio in action: a real-world example
Testing RESTful Webservices using the REST-assured framework
JavaOne 2013: Java 8 - The Good Parts
Servlet Filter
Test strategy for web development
Typescript barcelona
Dependency injection - the right way
Servlets - filter, listeners, wrapper, internationalization
arataga. SObjectizer and RESTinio in action: a real-world example

What's hot (20)

PPTX
Reactive programming with RxAndroid
PPT
JavaScript
PDF
Angular for Java Enterprise Developers: Oracle Code One 2018
PPT
Request dispatching in servlet
PPTX
Introduction to AJAX and DWR
PPTX
Code generation with javac plugin
PDF
Dive into SObjectizer 5.5. Introductory part
ODP
Securing Portlets With Spring Security
PDF
Introduction to Retrofit and RxJava
PPTX
SERVIET
PDF
NestJS
PPT
Servlet life cycle
PPTX
Java servlets
PDF
Nestjs MasterClass Slides
PPTX
Reactive Java (33rd Degree)
PDF
Full-Stack Reativo com Spring WebFlux + Angular - FiqueEmCasaConf
PPTX
Firebase ng2 zurich
PDF
Testing in android
PDF
Dive into SObjectizer 5.5. Seventh part: Message Limits
PDF
Lecture 3: Servlets - Session Management
Reactive programming with RxAndroid
JavaScript
Angular for Java Enterprise Developers: Oracle Code One 2018
Request dispatching in servlet
Introduction to AJAX and DWR
Code generation with javac plugin
Dive into SObjectizer 5.5. Introductory part
Securing Portlets With Spring Security
Introduction to Retrofit and RxJava
SERVIET
NestJS
Servlet life cycle
Java servlets
Nestjs MasterClass Slides
Reactive Java (33rd Degree)
Full-Stack Reativo com Spring WebFlux + Angular - FiqueEmCasaConf
Firebase ng2 zurich
Testing in android
Dive into SObjectizer 5.5. Seventh part: Message Limits
Lecture 3: Servlets - Session Management
Ad

Similar to my accadanic project ppt (20)

PPTX
Online Electronic Shop4444444444444.pptx
PPTX
Online banking ppt
PPTX
Online Book Store
PPTX
ppt_Sample[1][1].pptx
PPTX
E library management system
PDF
Online_Car_Rental_System_A_Project_Prese.pdf
PPTX
Online Book Portal
PDF
DOCX
Resume
PDF
Smiss Ltd Portfolio
PPT
Assignment3 pp v3
DOC
Gaurav_Gupta_Resume
KEY
MySQLでNoSQL - アメーバピグでのNoSQLの実例
DOCX
Project proposal book_shop
PPT
Cubrid - open source - 27mai2010
PPT
Cubrid - Open Source DBMS highly optimized for Web Applications
ODP
Java Web Programming [1/9] : Introduction to Web Application
PPTX
Web Technologies - forms and actions
DOC
171846965 projects
Online Electronic Shop4444444444444.pptx
Online banking ppt
Online Book Store
ppt_Sample[1][1].pptx
E library management system
Online_Car_Rental_System_A_Project_Prese.pdf
Online Book Portal
Resume
Smiss Ltd Portfolio
Assignment3 pp v3
Gaurav_Gupta_Resume
MySQLでNoSQL - アメーバピグでのNoSQLの実例
Project proposal book_shop
Cubrid - open source - 27mai2010
Cubrid - Open Source DBMS highly optimized for Web Applications
Java Web Programming [1/9] : Introduction to Web Application
Web Technologies - forms and actions
171846965 projects
Ad

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Big Data Technologies - Introduction.pptx
PPT
Teaching material agriculture food technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation_ Review paper, used for researhc scholars
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Spectral efficient network and resource selection model in 5G networks
Assigned Numbers - 2025 - Bluetooth® Document
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Review of recent advances in non-invasive hemoglobin estimation
Programs and apps: productivity, graphics, security and other tools
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
The AUB Centre for AI in Media Proposal.docx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
A comparative analysis of optical character recognition models for extracting...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Unlocking AI with Model Context Protocol (MCP)
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Big Data Technologies - Introduction.pptx
Teaching material agriculture food technology
Per capita expenditure prediction using model stacking based on satellite ima...

my accadanic project ppt

  • 1.  
  • 2. Abstract Mobile proxy server implementation is a mobile solution for registering complaints online for computerized customer care and servicing unit. New approach is used for this process to minimize the workload of database server. Here Java RMI concept was used to locate the remote server for particular customer ID authentication and registers complaints to the remote server corresponding to location of the customer registered the complaint.
  • 3. Hardware Requirements Operating System: Windows 2000 and above Pentium III or IV 128 MB RAM Mobile phone with GPRS Connected with local area network.
  • 4. Software Requirements Web Server Apache Tomcat Server 5.0 Browser Internet Explorer 4.0 Tools J2ME Wireless Tool Kit Server side scripting JSP, Java Servlets Database MS Access Language J2EE, J2ME
  • 5. Data Flow Diagram http rmi
  • 10. Database design July 31, 2009 Server Table Login Table Field name Data type uname text pass text role text Field name Data type city text servername text
  • 11. Database design Customer table July 31, 2009 Field name Data type cid Text Name Text Address Text city Text phone Number date Date
  • 12. Database design July 31, 2009 Problem Table Field name Data type cusid text problem text status text City text
  • 13. Modules The entire project is divided into four Modules. Client GUI (for online complaint registration) Centralized Server (servlets that handle request/response from GUI. Remote Server (to handle remote database) Admin and service Engineer module  
  • 14. UserLogin.java import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.sql.*; public class UserLogin extends HttpServlet { Connection c; Statement s; String roll; public void init(ServletConfig cfg)throws ServletException { try { Class.forName(&quot;sun.jdbc.odbc.JdbcOdbcDriver&quot;); c=DriverManager.getConnection(&quot;jdbc:odbc:service&quot;); s=c.createStatement(); }
  • 15. catch(Exception e) { System.out.println(e); } } public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException { boolean b=false; res.setContentType(&quot;text/html&quot;); PrintWriter pw=res.getWriter(); String t1=req.getParameter(&quot;t1&quot;); String t2=req.getParameter(&quot;t2&quot;); try { ResultSet rs=s.executeQuery(&quot;select * from login&quot;); while(rs.next()) {
  • 16. if(rs.getString(1).trim().equals(t1) && rs.getString(2).trim().equals(t2)) { b=true; roll=rs.getString(3).trim(); } } if(b) { if(roll.equals(&quot;admin&quot;)) res.sendRedirect(&quot;home.html&quot;); else res.sendRedirect(&quot;home1.html&quot;); } else { res.sendRedirect(&quot;login1.html&quot;); } }
  • 17. catch(Exception e) { System.out.println(e); } b=false; } }  
  • 18. AddCustomer.java import java.io.*; import java.rmi.Naming; import java.lang.*; import java.sql.*; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.*; public class AddCustomer extends HttpServlet {   public AddCustomer() { } Connection c; Statement s; String server; public void init(ServletConfig servletconfig) throws ServletException { super.init(servletconfig);
  • 19. try { Class.forName(&quot;sun.jdbc.odbc.JdbcOdbcDriver&quot;); c = DriverManager.getConnection(&quot;jdbc:odbc:service&quot;); s = c.createStatement(); } catch(Exception exception) { System.out.println(exception); } } public void doGet(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse) throws ServletException, IOException { httpservletresponse.setContentType(&quot;text/html&quot;); PrintWriter printwriter = httpservletresponse.getWriter(); String s1 = httpservletrequest.getParameter(&quot;t1&quot;); String s2 = httpservletrequest.getParameter(&quot;t2&quot;); String s3 = httpservletrequest.getParameter(&quot;t3&quot;);
  • 20. String s4 = httpservletrequest.getParameter(&quot;t4&quot;); String s5 = httpservletrequest.getParameter(&quot;t5&quot;); String s6 = httpservletrequest.getParameter(&quot;t6&quot;); int i=0; printwriter.println(s1); printwriter.println(s2); printwriter.println(s3); printwriter.println(s4); printwriter.println(s5); printwriter.println(s6); try { for(ResultSet resultset = s.executeQuery((new StringBuilder()).append(&quot;select * from server where city='&quot;).append(s4).append(&quot;'&quot;).toString()); resultset.next();) server = resultset.getString(2);   System.out.println(server); CustomerInterface customerinterface = (CustomerInterface)Naming.lookup((new StringBuilder()).append(&quot;rmi://&quot;).append(server.trim()).append(&quot;/Cusserver&quot;).toString()); customerinterface.setConnection(&quot;jdbc:odbc:service&quot;); customerinterface.add(s1, s2, s3, s4, s5, s6); }
  • 21. catch(Exception exception) { //System.out.println((new StringBuilder()).append(server).append(exception).toString()); } printwriter.println(&quot;<html>&quot;); printwriter.println(&quot;<body>&quot;); printwriter.println(&quot;<br><br><h3 align=center><font color=#5E6CBA>Status</font></h3>&quot;); printwriter.println(&quot;<table width=100%>&quot;); printwriter.println(&quot;<td align=center ><b><font color=#5E6CBA>SUCCESSFULLY INSERTED</font><tr>&quot;); printwriter.println(&quot;</table><br><br>&quot;); printwriter.println(&quot;<center><a href='home.html'> <font color=#5E6CBA><b>Back to Home </font></a></center>&quot;); printwriter.println(&quot;</html>&quot;); }   }
  • 22. NewUser.java import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.sql.*; public class NewUser extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType(&quot;text/html&quot;); PrintWriter out = response.getWriter(); try { Connection c=null; Statement s=null; Class.forName(&quot;sun.jdbc.odbc.JdbcOdbcDriver&quot;); c=DriverManager.getConnection(&quot;jdbc:odbc:service&quot;); s=c.createStatement();
  • 23. String t1=request.getParameter(&quot;t1&quot;); String t2=request.getParameter(&quot;t2&quot;); String t6=request.getParameter(&quot;t6&quot;); String sq=&quot;insert into login values('&quot;+t1+&quot;','&quot;+t2+&quot;','&quot;+t6+&quot;')&quot;; s.executeUpdate(sq); System.out.println(&quot;New user data inserted successfully&quot;); response.sendRedirect(&quot;newuser.html&quot;); } catch(Exception exception) { System.out.println(exception); } } }
  • 24.  
  • 25.  
  • 26.  
  • 27.  
  • 28.  
  • 29.  
  • 30.  
  • 31.  
  • 32.  
  • 33.  
  • 34. Thank You! Questions / Comments ?