SlideShare uma empresa Scribd logo
1 de 34
Rifartek Middleware  Programming Training Course How to use WebRobot
Course Outline ,[object Object],[object Object],[object Object],[object Object],[object Object]
WebRobot Script Integration
RFID and Web System ,[object Object],JSP Container Tomcat HTTP Request http://localhost:8080/train/index.jsp index.jsp Hello World. <br> <% int n = 5; for(int i = 1; i <= n; i++){ out.println(“Counter reaches “ + i + “<br>”); } %> Hello World. <br> Counter reaches 1<br> Counter reaches 2<br> Counter reaches 3<br> Counter reaches 4<br> Counter reaches 5<br> index.jsp
Steps to development RFID Web system ,[object Object],[object Object],[object Object],[object Object]
Steps to development RFID Web system – 1. Prepare related files |-- CompanyCer.cer |-- about.gif |-- connect.jpg |-- datas |  `--index2.data |-- disconnect.jpg |-- logo.jpg |-- mesure.gif |-- module_disconnect.jpg |-- module_read.jpg |-- module_write.jpg |-- netscape |  `-- javascript |  |-- JSException.class |  `-- JSObject.class |-- wRobot.jar |-- wRobot.jsp `-- wRobotSave.jsp
Steps to development RFID Web system – 1. Prepare related files (Cont.) |-- CompanyCer.cer |-- about.gif |-- connect.jpg |-- datas |  `--index2.data |-- disconnect.jpg |-- logo.jpg |-- mesure.gif |-- module_disconnect.jpg |-- module_read.jpg |-- module_write.jpg |-- netscape |  `-- javascript |  |-- JSException.class |  `-- JSObject.class |-- wRobot.jar |-- wRobot.jsp `-- wRobotSave.jsp Certificate file for signed applet directory for WebRobot configuration for each page directory of classes for netscape compatibility Signed WebRobot jar file Helper files for easy integration
Steps to development RFID Web system – 2. Bridge WebRobot (1/4) index2.jsp <%@ page language=“java” contentType=“text/html;charset=UTF-8”%> <br> Hello World. <br> <%@ page language=“java” contentType=“text/html;charset=UTF-8”%> <%@ page import=“java.io.*”%> <%@ page import=“java.net.*”%> <%@ include file=“./wRobot.jsp”%> <% out.println(wRobot(getServletContext(), request, “wRobotSave.jsp”,”index.data”); %> <br> Hello World. <br> No need to change these three arguments. They help to do related Java Servlet or  WebRobot configuration save tasks. Unique WebRobot configuration storage file name for each page.
Steps to development RFID Web system – 2. Bridge WebRobot (2/4) ,[object Object],index2.jsp
Steps to development RFID Web system – 2. Bridge WebRobot (3/4) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],index2.jsp Serialized Java file
Steps to development RFID Web system – 2. Bridge WebRobot (4/4) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],index2.jsp
Steps to development RFID Web system – 3. Setup target JS (1/5) ,[object Object],[object Object],index3.jsp
Steps to development RFID Web system – 3. Setup target JS (2/5) ,[object Object],[object Object],index3.jsp
Steps to development RFID Web system – 3. Setup target JS (3/5) ,[object Object],[object Object],[object Object],[object Object],[object Object],index3.jsp
Steps to development RFID Web system – 3. Setup target JS (4/5) ,[object Object],index4.jsp
Steps to development RFID Web system – 3. Setup target JS (5/5) ,[object Object],index4.jsp
Steps to development RFID Web system – 4. Extend JS (1/4) index5.jsp Split RFID ID and antenna number
Steps to development RFID Web system – 4. Extend JS (2/4) index5.jsp
Steps to development RFID Web system – 4. Extend JS (3/4) index6.jsp More about HEX to ASCII using Javascript “fromCharCode() method”
Steps to development RFID Web system – 4. Extend JS (4/4) index6.jsp
Ex: Logistics Application
Exercise: logistics.jsp (1/13) logistics.jsp
Exercise: logistics.jsp (2/13) logistics.jsp We want to count total cases read  We want to show pallet ID in this area We want to list cases IDs in this area Use button to trigger whether to process data
Exercise: logistics.jsp (3/13) logistics.jsp Increase activate button and debug area
Exercise: logistics.jsp (4/13) Pending RFID ID Clear old history data Return if status is not in activation status logistics.jsp
Exercise: logistics.jsp (5/13) ,[object Object],Put pallet RFID ID Put cases RFID IDs logistics.jsp
Exercise: logistics.jsp (6/13) ,[object Object],logistics.jsp Processing by ID type
Exercise: logistics.jsp (7/13) ,[object Object],logistics.jsp Retrieve each case ID one by one
Exercise: logistics.jsp (8/13) logistics.jsp
Exercise: logistics.jsp (9/13) ,[object Object],logistics.jsp Prepare HTML element for DB
Exercise: logistics.jsp (10/13) ,[object Object],logistics_action.jsp
Exercise: logistics.jsp (11/13) ,[object Object],logistics.jsp
Exercise: logistics.jsp (12/13) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Exercise: logistics.jsp (12/13) logistics.jsp

Mais conteúdo relacionado

Semelhante a Rifartek Robot Training Course - How to use WebRobot

Strutsjspservlet
Strutsjspservlet Strutsjspservlet
Strutsjspservlet
Sagar Nakul
 
Terracotta Ch'ti Jug
Terracotta Ch'ti JugTerracotta Ch'ti Jug
Terracotta Ch'ti Jug
Ch'ti JUG
 
Ta Javaserverside Eran Toch
Ta Javaserverside Eran TochTa Javaserverside Eran Toch
Ta Javaserverside Eran Toch
Adil Jafri
 
08052917365603
0805291736560308052917365603
08052917365603
DSKUMAR G
 
Benefit of CodeIgniter php framework
Benefit of CodeIgniter php frameworkBenefit of CodeIgniter php framework
Benefit of CodeIgniter php framework
Bo-Yi Wu
 
Silicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NET
Silicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NETSilicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NET
Silicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NET
Mats Bryntse
 

Semelhante a Rifartek Robot Training Course - How to use WebRobot (20)

Struts,Jsp,Servlet
Struts,Jsp,ServletStruts,Jsp,Servlet
Struts,Jsp,Servlet
 
Strutsjspservlet
Strutsjspservlet Strutsjspservlet
Strutsjspservlet
 
Strutsjspservlet
Strutsjspservlet Strutsjspservlet
Strutsjspservlet
 
I Feel Pretty
I Feel PrettyI Feel Pretty
I Feel Pretty
 
Boston Computing Review - Java Server Pages
Boston Computing Review - Java Server PagesBoston Computing Review - Java Server Pages
Boston Computing Review - Java Server Pages
 
Terracotta Ch'ti Jug
Terracotta Ch'ti JugTerracotta Ch'ti Jug
Terracotta Ch'ti Jug
 
Lecture1
Lecture1Lecture1
Lecture1
 
Ta Javaserverside Eran Toch
Ta Javaserverside Eran TochTa Javaserverside Eran Toch
Ta Javaserverside Eran Toch
 
Internet Explorer 8 for Developers by Christian Thilmany
Internet Explorer 8 for Developers by Christian ThilmanyInternet Explorer 8 for Developers by Christian Thilmany
Internet Explorer 8 for Developers by Christian Thilmany
 
Wikilims Road4
Wikilims Road4Wikilims Road4
Wikilims Road4
 
08052917365603
0805291736560308052917365603
08052917365603
 
Struts Intro
Struts IntroStruts Intro
Struts Intro
 
Rapid java backend and api development for mobile devices
Rapid java backend and api development for mobile devicesRapid java backend and api development for mobile devices
Rapid java backend and api development for mobile devices
 
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website Optimization
 
Jsfsunum
JsfsunumJsfsunum
Jsfsunum
 
OGCE Project Overview
OGCE Project OverviewOGCE Project Overview
OGCE Project Overview
 
IPhone Web Development With Grails from CodeMash 2009
IPhone Web Development With Grails from CodeMash 2009IPhone Web Development With Grails from CodeMash 2009
IPhone Web Development With Grails from CodeMash 2009
 
Ajax Applications with RichFaces and JSF 2
Ajax Applications with RichFaces and JSF 2Ajax Applications with RichFaces and JSF 2
Ajax Applications with RichFaces and JSF 2
 
Benefit of CodeIgniter php framework
Benefit of CodeIgniter php frameworkBenefit of CodeIgniter php framework
Benefit of CodeIgniter php framework
 
Silicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NET
Silicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NETSilicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NET
Silicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NET
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 

Último (20)

Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 

Rifartek Robot Training Course - How to use WebRobot

  • 1. Rifartek Middleware Programming Training Course How to use WebRobot
  • 2.
  • 4.
  • 5.
  • 6. Steps to development RFID Web system – 1. Prepare related files |-- CompanyCer.cer |-- about.gif |-- connect.jpg |-- datas | `--index2.data |-- disconnect.jpg |-- logo.jpg |-- mesure.gif |-- module_disconnect.jpg |-- module_read.jpg |-- module_write.jpg |-- netscape | `-- javascript | |-- JSException.class | `-- JSObject.class |-- wRobot.jar |-- wRobot.jsp `-- wRobotSave.jsp
  • 7. Steps to development RFID Web system – 1. Prepare related files (Cont.) |-- CompanyCer.cer |-- about.gif |-- connect.jpg |-- datas | `--index2.data |-- disconnect.jpg |-- logo.jpg |-- mesure.gif |-- module_disconnect.jpg |-- module_read.jpg |-- module_write.jpg |-- netscape | `-- javascript | |-- JSException.class | `-- JSObject.class |-- wRobot.jar |-- wRobot.jsp `-- wRobotSave.jsp Certificate file for signed applet directory for WebRobot configuration for each page directory of classes for netscape compatibility Signed WebRobot jar file Helper files for easy integration
  • 8. Steps to development RFID Web system – 2. Bridge WebRobot (1/4) index2.jsp <%@ page language=“java” contentType=“text/html;charset=UTF-8”%> <br> Hello World. <br> <%@ page language=“java” contentType=“text/html;charset=UTF-8”%> <%@ page import=“java.io.*”%> <%@ page import=“java.net.*”%> <%@ include file=“./wRobot.jsp”%> <% out.println(wRobot(getServletContext(), request, “wRobotSave.jsp”,”index.data”); %> <br> Hello World. <br> No need to change these three arguments. They help to do related Java Servlet or WebRobot configuration save tasks. Unique WebRobot configuration storage file name for each page.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Steps to development RFID Web system – 4. Extend JS (1/4) index5.jsp Split RFID ID and antenna number
  • 18. Steps to development RFID Web system – 4. Extend JS (2/4) index5.jsp
  • 19. Steps to development RFID Web system – 4. Extend JS (3/4) index6.jsp More about HEX to ASCII using Javascript “fromCharCode() method”
  • 20. Steps to development RFID Web system – 4. Extend JS (4/4) index6.jsp
  • 23. Exercise: logistics.jsp (2/13) logistics.jsp We want to count total cases read We want to show pallet ID in this area We want to list cases IDs in this area Use button to trigger whether to process data
  • 24. Exercise: logistics.jsp (3/13) logistics.jsp Increase activate button and debug area
  • 25. Exercise: logistics.jsp (4/13) Pending RFID ID Clear old history data Return if status is not in activation status logistics.jsp
  • 26.
  • 27.
  • 28.
  • 30.
  • 31.
  • 32.
  • 33.