SlideShare a Scribd company logo
Rifartek Middleware  Programming Training Course How to use WebRobot
Course Outline WebRobot Script Integration Development CliRobot ZigBee integration Plugin Development
WebRobot Script Integration
RFID and Web System Traditional JSP-based Web System 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 Prepare WebRobot related files Use integration component to bridge WebRobot into Web page Click “more” button and setup WebRobot connection and script destination Extend your JavaScript
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) The integrated WebRobot index2.jsp
Steps to development RFID Web system – 2. Bridge WebRobot (3/4) Steps Specify ServRobot IP click connect click “auto connect” click “save and exit” The index2.jsp will automatically reload The settings will be stored in index.data  (The same setting will be there next time) index2.jsp Serialized Java file
Steps to development RFID Web system – 2. Bridge WebRobot (4/4) WebRobot Panel module pass The module password that specified in ServRobot for security authentication Duration Time How long should the WebRobot report collected data for you  Distinct  Whether to distinct reported data Sense and Sleep time Control how ServRobot should contact to dumb Device (Often ignore them) index2.jsp
Steps to development RFID Web system – 3. Setup target JS (1/5) Create a Javascript method  whatever method name you like index3.jsp
Steps to development RFID Web system – 3. Setup target JS (2/5) Before do anything further, do your one favor Duration time: 2000, Distinct: yes index3.jsp
Steps to development RFID Web system – 3. Setup target JS (3/5) Click “script” button The “Rifartek Middlescript” panel will show up put  「 wRobotCallme(id); 」 in Middlescript pannel click “save” button of Middlescript panel click “save and exit” button of wRobot panel index3.jsp
Steps to development RFID Web system – 3. Setup target JS (4/5) A little bit different… index4.jsp
Steps to development RFID Web system – 3. Setup target JS (5/5) Result of index4.jsp 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) Processing of Pallet and case Put pallet RFID ID Put cases RFID IDs logistics.jsp
Exercise: logistics.jsp (6/13) Use Javascript array (Hashtable) to increase search speed logistics.jsp Processing by ID type
Exercise: logistics.jsp (7/13) update case list logistics.jsp Retrieve each case ID one by one
Exercise: logistics.jsp (8/13) logistics.jsp
Exercise: logistics.jsp (9/13) Save to database  logistics.jsp Prepare HTML element for DB
Exercise: logistics.jsp (10/13) insert database in logistics_action.jsp logistics_action.jsp
Exercise: logistics.jsp (11/13) Result logistics.jsp
Exercise: logistics.jsp (12/13) Insert data using Database module The wCall() method The wCall() interface An interface that help various client to use module specific methods in backward direction The first param: Module Name The second param: array of arguments for that module [methodName, method arguments, …]
Exercise: logistics.jsp (12/13) logistics.jsp

More Related Content

PPT
Rifartek Robot Training Course - How to use ClientRobot
PPT
RFID Software Technology - Course Outline
PDF
Introdução ao Neuromarketing
PPT
CompTIA RFID+ Course Outline
PDF
K to 12 - Grade 8 Science Learner Module
PDF
Study: The Future of VR, AR and Self-Driving Cars
PPT
PPT
GTLAB Installation Tutorial for SciDAC 2009
Rifartek Robot Training Course - How to use ClientRobot
RFID Software Technology - Course Outline
Introdução ao Neuromarketing
CompTIA RFID+ Course Outline
K to 12 - Grade 8 Science Learner Module
Study: The Future of VR, AR and Self-Driving Cars
GTLAB Installation Tutorial for SciDAC 2009

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

PPT
Strutsjspservlet
PPT
Struts,Jsp,Servlet
PPT
Strutsjspservlet
PPT
Boston Computing Review - Java Server Pages
PPT
I Feel Pretty
ODP
Terracotta Ch'ti Jug
PPT
Ta Javaserverside Eran Toch
PPT
Internet Explorer 8 for Developers by Christian Thilmany
PPT
Wikilims Road4
PPT
08052917365603
PPT
Struts Intro
PPT
Rapid java backend and api development for mobile devices
PPT
Front End Website Optimization
PPT
Jsfsunum
PPT
OGCE Project Overview
PDF
IPhone Web Development With Grails from CodeMash 2009
PPT
Ajax Applications with RichFaces and JSF 2
PPT
Benefit of CodeIgniter php framework
PPT
Silicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NET
Strutsjspservlet
Struts,Jsp,Servlet
Strutsjspservlet
Boston Computing Review - Java Server Pages
I Feel Pretty
Terracotta Ch'ti Jug
Ta Javaserverside Eran Toch
Internet Explorer 8 for Developers by Christian Thilmany
Wikilims Road4
08052917365603
Struts Intro
Rapid java backend and api development for mobile devices
Front End Website Optimization
Jsfsunum
OGCE Project Overview
IPhone Web Development With Grails from CodeMash 2009
Ajax Applications with RichFaces and JSF 2
Benefit of CodeIgniter php framework
Silicon Valley CodeCamp 2008: High performance Ajax with ExtJS and ASP.NET
Ad

Recently uploaded (20)

PPTX
The various Industrial Revolutions .pptx
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
CloudStack 4.21: First Look Webinar slides
PDF
Getting Started with Data Integration: FME Form 101
PDF
Hindi spoken digit analysis for native and non-native speakers
PPT
What is a Computer? Input Devices /output devices
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
August Patch Tuesday
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
Five Habits of High-Impact Board Members
PDF
Unlock new opportunities with location data.pdf
The various Industrial Revolutions .pptx
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Univ-Connecticut-ChatGPT-Presentaion.pdf
CloudStack 4.21: First Look Webinar slides
Getting Started with Data Integration: FME Form 101
Hindi spoken digit analysis for native and non-native speakers
What is a Computer? Input Devices /output devices
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Zenith AI: Advanced Artificial Intelligence
WOOl fibre morphology and structure.pdf for textiles
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
August Patch Tuesday
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Chapter 5: Probability Theory and Statistics
Module 1.ppt Iot fundamentals and Architecture
Taming the Chaos: How to Turn Unstructured Data into Decisions
Five Habits of High-Impact Board Members
Unlock new opportunities with location data.pdf
Ad

Rifartek Robot Training Course - How to use WebRobot

  • 1. Rifartek Middleware Programming Training Course How to use WebRobot
  • 2. Course Outline WebRobot Script Integration Development CliRobot ZigBee integration Plugin Development
  • 4. RFID and Web System Traditional JSP-based Web System 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
  • 5. Steps to development RFID Web system Prepare WebRobot related files Use integration component to bridge WebRobot into Web page Click “more” button and setup WebRobot connection and script destination Extend your JavaScript
  • 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. Steps to development RFID Web system – 2. Bridge WebRobot (2/4) The integrated WebRobot index2.jsp
  • 10. Steps to development RFID Web system – 2. Bridge WebRobot (3/4) Steps Specify ServRobot IP click connect click “auto connect” click “save and exit” The index2.jsp will automatically reload The settings will be stored in index.data (The same setting will be there next time) index2.jsp Serialized Java file
  • 11. Steps to development RFID Web system – 2. Bridge WebRobot (4/4) WebRobot Panel module pass The module password that specified in ServRobot for security authentication Duration Time How long should the WebRobot report collected data for you Distinct Whether to distinct reported data Sense and Sleep time Control how ServRobot should contact to dumb Device (Often ignore them) index2.jsp
  • 12. Steps to development RFID Web system – 3. Setup target JS (1/5) Create a Javascript method whatever method name you like index3.jsp
  • 13. Steps to development RFID Web system – 3. Setup target JS (2/5) Before do anything further, do your one favor Duration time: 2000, Distinct: yes index3.jsp
  • 14. Steps to development RFID Web system – 3. Setup target JS (3/5) Click “script” button The “Rifartek Middlescript” panel will show up put 「 wRobotCallme(id); 」 in Middlescript pannel click “save” button of Middlescript panel click “save and exit” button of wRobot panel index3.jsp
  • 15. Steps to development RFID Web system – 3. Setup target JS (4/5) A little bit different… index4.jsp
  • 16. Steps to development RFID Web system – 3. Setup target JS (5/5) Result of index4.jsp index4.jsp
  • 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. Exercise: logistics.jsp (5/13) Processing of Pallet and case Put pallet RFID ID Put cases RFID IDs logistics.jsp
  • 27. Exercise: logistics.jsp (6/13) Use Javascript array (Hashtable) to increase search speed logistics.jsp Processing by ID type
  • 28. Exercise: logistics.jsp (7/13) update case list logistics.jsp Retrieve each case ID one by one
  • 30. Exercise: logistics.jsp (9/13) Save to database logistics.jsp Prepare HTML element for DB
  • 31. Exercise: logistics.jsp (10/13) insert database in logistics_action.jsp logistics_action.jsp
  • 32. Exercise: logistics.jsp (11/13) Result logistics.jsp
  • 33. Exercise: logistics.jsp (12/13) Insert data using Database module The wCall() method The wCall() interface An interface that help various client to use module specific methods in backward direction The first param: Module Name The second param: array of arguments for that module [methodName, method arguments, …]