WHITE LABELING IN PROGRESS ROLLBASE PRIVATE CLOUD

Size: px
Start display at page:

Download "WHITE LABELING IN PROGRESS ROLLBASE PRIVATE CLOUD"

Transcription

1 W HI TEPAPER www. p rogres s.com WHITE LABELING IN PROGRESS ROLLBASE PRIVATE CLOUD In this whitepaper, we describe how to white label Progress Rollbase private cloud with your brand name by following a few simple steps. Whitepaper Author: Chandrasekhar Gontla

2 1 INTRODUCTION Rollbase is a rapid application development platform in the cloud where you can develop Cloud-based applications with minimal coding using various UI tools and techniques. One can build, deploy and manage cloud-based applications with a single platform, which minimizes your time to go to market. You can not only develop enterprise productivity applications rapidly, but also white-label them to suite your needs and requirements. It includes many useful things such as incorporating your company name, logo, custom login page, privacy, forum etc. This whitepaper describes various white-labeling features that are offered by Progress Rollbase. 2 PREREQUISITE Rollbase Private Cloud v or later is installed and available in your favorite machine/cloud 3 CUSTOM LOGIN AND FORGOT PASSWORD PAGE FOR ROLLBASE PRIVATE CLOUD User can develop custom login page instead of using the default login form provided by Rollbase. User can design forgot password page as well. These pages can be hosted on any other website to allow users to log into a Rollbase customer tenant. 3.1 Create Custom Login page The login page should contain forms that store the user name and password, post them to Rollbase and handle both successful and unsuccessful log in attempts. Ex: The following code snippets show an example of a servlet program that is used for custom login of Rollbase private cloud Custom login pages must contain a FORM tag that includes the action tag out.println("<form action=\" method=\"post\" name=\"theform\">"); An act hidden parameter with a value of login out.println("<input type=\"hidden\" name=\"act\" value=\"login\">"); An rt hidden parameter points to the full URL of your custom login page (this parameter stands for "return to" and is stored as part of the user's session, so when they log out or their session expires the user is automatically taken back to your custom login page rather than Rollbase.com) out.println("<input type=\"hidden\" name=\"rt\" value=\" The loginname and password parameters will be used to store credentials specified by user

3 out.print("<table><tr><td> User </td>\n"); out.print("<td><input type=\"text\" name=\"loginname\"/></td></tr>"); out.print("<tr><td> Password </td>\n"); out.print("<td><input type=\"password\" name=\"password\"/></td></tr></table>"); An errmsg parameter is optional. If this HTTP parameter is set in the Login Page, URL errors, such as invalid user name, will be captured and displayed as error messages. If a login is unsuccessful, Rollbase will redirect the user back to your custom login page and then display the error description set in the HTTP parameter errmsg. Progress strongly recommends that your custom login page capture and display this error message when it is non-empty An o parameter is optional. If this HTTP parameter is set in the Login Page URL, it will be captured and stored in the o hidden parameter. For example, this parameter might contain the location of the first landing page Find the below complete servlet program for reference. CustomLogin.java package com.serv; import javax.servlet.*; import javax.servlet.annotation.webservlet; import javax.servlet.http.*; import public class CustomLogin extends HttpServlet { private static final long serialversionuid = 1L; public CustomLogin() { super(); public void init(servletconfig config) throws ServletException { super.init(config); protected void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { response.setcontenttype("text/html"); PrintWriter out = response.getwriter(); String title = "Custom Login Page"; String doctype = "<!doctype html public \"-//w3c//dtd html 4.0 " + "transitional//en\">\n"; out.println(doctype + "<html>\n" + "<head><title>" + title + "</title></head>\n"+ "<body bgcolor=\"#f0f0f0\">\n" + "<h1 align=\"center\">" + title + "</h1>\n"); out.println("<form action=\" method=\"post\" name=\"theform\">"); out.println("<input type=\"hidden\" name=\"act\" value=\"login\">"); out.println("<input type=\"hidden\" name=\"rt\" value=\"

4 out.print("<table><tr><td> User </td>\n"); out.print("<td><input type=\"text\" name=\"loginname\"/></td></tr>"); out.print("<tr><td> Password </td>\n"); out.print("<td><input type=\"password\" name=\"password\"/></td></tr></table>"); out.println("<td><a href=\" your password?</a></table>"); out.print("<input type=\"submit\" value=\"login\"/></form>\n</body></html>"); 3.2 Create Custom Forgot Password page Rollbase Private Cloud provides a way to create a page for users to retrieve forgotten passwords. Such a page must contain HTML with a FORM tag satisfying the following conditions: Ex: The following code snippets part of a servlet program is used for custom forgot password page of Rollbase private cloud An action attribute pointing to out.println("<form action=\" method=\"post\" name=\"theform\">"); An act hidden parameter with a value of forgotpassword out.println("<input type=\"hidden\" name=\"act\" value=\"forgotpassword\">"); An rt hidden parameter that points to the full URL of your custom login page out.println("<input type=\"hidden\" name=\"rt\" value=\" A loginname input parameter that stores the login name entered by a user out.println("<tr> <td nowrap><b>user Name:</b> </td><td ><input name=\"loginname\" size=\"30\" type=\"text\"></td> </tr>"); An input parameter that contains the address entered by a user (must match with the login name) out.println("<tr><td nowrap><b> Address:</b> </td><td ><input name=\" \" size=\"30\" type=\"text\"></td></tr>");

5 Find the below complete servlet program for reference. CustomForgotPwd.java package com.serv; import javax.servlet.servletexception; import javax.servlet.annotation.webservlet; import javax.servlet.http.*; import public class CustomForgotPwd extends HttpServlet { private static final long serialversionuid = 1L; public CustomForgotPwd() { super(); protected void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { response.setcontenttype("text/html"); PrintWriter out = response.getwriter(); String title = "Custom Forgot Password page"; String doctype = "<!doctype html public \"-//w3c//dtd html 4.0 " + "transitional//en\">\n"; out.println(doctype + "<html>\n" + "<head><title>" + title + "</title></head>\n"+ "<body bgcolor=\"#f0f0f0\">\n" + "<h2 align=\"center\">" + title + "</h2>\n"); out.println("<form action=\" method=\"post\" name=\"theform\">"); out.println("<input type=\"hidden\" name=\"act\" value=\"forgotpassword\">"); out.println("<input type=\"hidden\" name=\"rt\" value=\" out.println("<table cellpadding=0 cellspacing=0>"); out.println("<tr><td><h2>forgot your password?</h2><td><tr>"); out.println("<tr><td colspan=\"2\">in order for us to reset your password we need to confirm your identity. Please enter your user name. <br>you will receive an with a new temporary password.</td></tr>"); out.println("<tr><td nowrap><b>user Name:</b> </td><td ><input name=\"loginname\" size=\"30\" type=\"text\"></td> </tr>"); out.println("<tr><td nowrap><b> Address:</b> </td><td ><input name=\" \" size=\"30\" type=\"text\"></td></tr>"); out.println("<tr height='5'><td></td></tr>"); out.println("<tr><td></td><td alignment='left'><input type=\"submit\" value=\"submit\" name=\"btns\"></td></tr>"); out.println("</table></form></body></html>");

6 3.3 Create and deploy the war in your Private Cloud installation Create a war file using the above two files Copy to <Rollbase installation directory>/pas_instanse/webapps folder Start Rollbase Private Cloud Now, you can access custom login page by using the following url The custom login page looks like the one given below The custom forgot password page looks like the one given below 3.4 Customizing JSP files References to obfuscated classes have been removed from the following JSP files, making the migration of customizations easier. Now, when there are no changes to the original JSP file in a new release, you can replace it with your customized file from the previous release. Any changes to these files will be documented for each

7 subsequent release, so you will know whether the files you have customized need to be changed. All directories are relative to <rollbase_install_dir>\pas_instance\webapps (if using PAS) or <tomcat-install-dir>\webapps (if using Tomcat). o router\login\loginprivate.jsp The custom login page o router\login\logout.jsp The custom logout page o router\login\forgotpassword2.jsp The custom forgot password page o router\login\mobile.jsp The custom mobile login page o master(or prod1)\components\loginexpired.jsp The custom login expired page 4 CUSTOM LABELING YOUR PRIVATE CLOUD INSTANCE Rollbase provides a way to change the system name of a private cloud instance. In addition to that, it provides lot of properties that can be overridden by customers with their values. 4.1 Updating shared.properties and lang.properties files User can update the following properties in shared.properties file that can be located at <private cloud installation directory>/pas_instance/rollbase/config folder Property Name Description Default Value SystemName Private Cloud instance Progress Rollbase system name DocumentationURLNewUI NewUI Help Me SupportURL URL to point to support and services LinkPrivacy Link to 'Privacy' page LinkTerms Link to 'Terms of Use' page FastTrackPage RB FastTrack page ForumURL URL of Forum aka Community VideosWebinarsURL Demo link CreateNewAppVideoURL Demo link (Getting Started page) ate.html CustomizeAppVideoURL Demo link (Getting Started page) e_ovr.html ShareYouAppVideoURL Demo link (Getting Started page) NavAppVideoURL Demo link (Page which will be shown after quick create app) tml In addition to above properties, user can update App_Forum_Link_Name key in lang_en.properties file that will be found at <private cloud installation directory>/pas_instance/rollbase/res folder For example, change the following properties and check the UI SystemName= Shanyu Systems App_Forum_Link_Name= Shan Forum

8 4.2 Changing Customer logo User can change the logo that is shown at the top-left corner of a page when logged into the system as a customer. Steps: Login to Rollbase private cloud as a customer Go to setup Click on Account Settings link Here, upload an image file in Customer Logo field and save it Note: As a master admin, we can update customer logo while creating customer as well. In UI, the logo looks as shown in the below image

9 5 OVERRIDING A FEW SPECIFIC IMAGE FILES Rollbase Private Cloud provides a way to override particular image files. We have introduced a folder under installation directory in which user can place the following image files to override them. Folder Path: <rollbase_install_dir>\pas\rollbase\personalize\images S.No. Image File Name 1 web-app-this.png 2 web-app.png 3 mobil-app-this.png 4 mobil-app.png 5 1icon.png 6 2icon.png 7 3icon.png 8 pacific-logo.svgz 9 setuplogo.svgz 10 Progress.png 11 ProgressBlackBg.png 12 Poweredby.gif Description For desktop browsers, the icon next to the selected web application. This icon will be available only in application switcher (old UI) For desktop browsers, the icon next to not selected web applications in application switcher and all web applications on the Applications Setup > Applications page (old UI) For desktop browsers, the icon next to the selected mobile application. This icon will be available only in application switcher (old UI) For desktop browsers, the icon next to not selected mobile applications in application switcher and all mobile applications on the Applications Setup > Applications page (old UI) The icon next to Create New Apps in Getting Started page The icon next to Customize Your Apps in Getting Started page The icon next to Share Your Apps in Getting Started page The Progress Pacific logo in Setup pages header (old UI) The Setup logo in Setup pages header (old UI) The Progress logo for light themes in application header The Progress logo for dark themes in application header The Powered by Progress logo on Portal and Account Settings page Check the below screen shots to understand the same.

10 Copy the images files to personalize/images folder in installation directory. Now observe that the UI will be updated as shown in below screen shots.

11 6 CONCLUSION User can rebrand the application built using Rollbase easily with minimal configuration. This document will help you to do that. We are in the process of enhancing White label support in Rollbase. So, this document will evolve as and when those features are implemented.

Servlet Basics. Agenda

Servlet Basics. Agenda Servlet Basics 1 Agenda The basic structure of servlets A simple servlet that generates plain text A servlet that generates HTML Servlets and packages Some utilities that help build HTML The servlet life

More information

INTRODUCTION TO SERVLETS AND WEB CONTAINERS. Actions in Accord with All the Laws of Nature

INTRODUCTION TO SERVLETS AND WEB CONTAINERS. Actions in Accord with All the Laws of Nature INTRODUCTION TO SERVLETS AND WEB CONTAINERS Actions in Accord with All the Laws of Nature Web server vs web container Most commercial web applications use Apache proven architecture and free license. Tomcat

More information

Kamnoetvidya Science Academy. Object Oriented Programming using Java. Ferdin Joe John Joseph. Java Session

Kamnoetvidya Science Academy. Object Oriented Programming using Java. Ferdin Joe John Joseph. Java Session Kamnoetvidya Science Academy Object Oriented Programming using Java Ferdin Joe John Joseph Java Session Create the files as required in the below code and try using sessions in java servlets web.xml

More information

Servlet and JSP Review

Servlet and JSP Review 2006 Marty Hall Servlet and JSP Review A Recap of the Basics 2 JSP, Servlet, Struts, JSF, AJAX, & Java 5 Training: http://courses.coreservlets.com J2EE Books from Sun Press: http://www.coreservlets.com

More information

JAVA SERVLET. Server-side Programming INTRODUCTION

JAVA SERVLET. Server-side Programming INTRODUCTION JAVA SERVLET Server-side Programming INTRODUCTION 1 AGENDA Introduction Java Servlet Web/Application Server Servlet Life Cycle Web Application Life Cycle Servlet API Writing Servlet Program Summary 2 INTRODUCTION

More information

Servlets by Example. Joe Howse 7 June 2011

Servlets by Example. Joe Howse 7 June 2011 Servlets by Example Joe Howse 7 June 2011 What is a servlet? A servlet is a Java application that receives HTTP requests as input and generates HTTP responses as output. As the name implies, it runs on

More information

ServletConfig Interface

ServletConfig Interface ServletConfig Interface Author : Rajat Categories : Advance Java An object of ServletConfig is created by the web container for each servlet. This object can be used to get configuration information from

More information

Unit-4: Servlet Sessions:

Unit-4: Servlet Sessions: 4.1 What Is Session Tracking? Unit-4: Servlet Sessions: Session tracking is the capability of a server to maintain the current state of a single client s sequential requests. Session simply means a particular

More information

Java Enterprise Edition. Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1

Java Enterprise Edition. Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1 Java Enterprise Edition Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1 Java Beans Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 2 Java Bean POJO class : private Attributes public

More information

Stateless -Session Bean

Stateless -Session Bean Stateless -Session Bean Prepared by: A.Saleem Raja MCA.,M.Phil.,(M.Tech) Lecturer/MCA Chettinad College of Engineering and Technology-Karur E-Mail: asaleemrajasec@gmail.com Creating an Enterprise Application

More information

AJP. CHAPTER 5: SERVLET -20 marks

AJP. CHAPTER 5: SERVLET -20 marks 1) Draw and explain the life cycle of servlet. (Explanation 3 Marks, Diagram -1 Marks) AJP CHAPTER 5: SERVLET -20 marks Ans : Three methods are central to the life cycle of a servlet. These are init( ),

More information

Servlets1. What are Servlets? Where are they? Their job. Servlet container. Only Http?

Servlets1. What are Servlets? Where are they? Their job. Servlet container. Only Http? What are Servlets? Servlets1 Fatemeh Abbasinejad abbasine@cs.ucdavis.edu A program that runs on a web server acting as middle layer between requests coming from a web browser and databases or applications

More information

Introduction. This course Software Architecture with Java will discuss the following topics:

Introduction. This course Software Architecture with Java will discuss the following topics: Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations

More information

JAVA SERVLET. Server-side Programming PROGRAMMING

JAVA SERVLET. Server-side Programming PROGRAMMING JAVA SERVLET Server-side Programming PROGRAMMING 1 AGENDA Passing Parameters Session Management Cookie Hidden Form URL Rewriting HttpSession 2 HTML FORMS Form data consists of name, value pairs Values

More information

Java4570: Session Tracking using Cookies *

Java4570: Session Tracking using Cookies * OpenStax-CNX module: m48571 1 Java4570: Session Tracking using Cookies * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract

More information

Introduction to Servlets. After which you will doget it

Introduction to Servlets. After which you will doget it Introduction to Servlets After which you will doget it Servlet technology A Java servlet is a Java program that extends the capabilities of a server. Although servlets can respond to any types of requests,

More information

Introduction. Literature: Steelman & Murach, Murach s Java Servlets and JSP. Mike Murach & Associates Inc, 2003

Introduction. Literature: Steelman & Murach, Murach s Java Servlets and JSP. Mike Murach & Associates Inc, 2003 Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations

More information

Chapter 2 How to structure a web application with the MVC pattern

Chapter 2 How to structure a web application with the MVC pattern Chapter 2 How to structure a web application with the MVC pattern Murach's Java Servlets/JSP (3rd Ed.), C2 2014, Mike Murach & Associates, Inc. Slide 1 Objectives Knowledge 1. Describe the Model 1 pattern.

More information

Servlet. Web Server. Servlets are modules of Java code that run in web server. Internet Explorer. Servlet. Fire Fox. Servlet.

Servlet. Web Server. Servlets are modules of Java code that run in web server. Internet Explorer. Servlet. Fire Fox. Servlet. Servlet OOS Lab Servlet OOS Servlets are modules of Java code that run in web server. Internet Explorer Web Server Fire Fox Servlet Servlet Servlet Java Application 2 Servlet - Example OOS import java.io.*;

More information

Advanced Internet Technology Lab # 4 Servlets

Advanced Internet Technology Lab # 4 Servlets Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2011 Advanced Internet Technology Lab # 4 Servlets Eng. Doaa Abu Jabal Advanced Internet Technology Lab # 4 Servlets Objective:

More information

Handling Cookies. Agenda

Handling Cookies. Agenda Handling Cookies 1 Agenda Understanding the benefits and drawbacks of cookies Sending outgoing cookies Receiving incoming cookies Tracking repeat visitors Specifying cookie attributes Differentiating between

More information

2. Follow the installation directions and install the server on ccc. 3. We will call the root of your installation as $TOMCAT_DIR

2. Follow the installation directions and install the server on ccc. 3. We will call the root of your installation as $TOMCAT_DIR Installing a Web Server 1. Install a sample web server, which supports Servlets/JSPs. A light weight web server is Apache Tomcat server. You can get the server from http://tomcat.apache.org/ 2. Follow

More information

Session 8. Introduction to Servlets. Semester Project

Session 8. Introduction to Servlets. Semester Project Session 8 Introduction to Servlets 1 Semester Project Reverse engineer a version of the Oracle site You will be validating form fields with Ajax calls to a server You will use multiple formats for the

More information

Web based Applications, Tomcat and Servlets - Lab 3 -

Web based Applications, Tomcat and Servlets - Lab 3 - CMPUT 391 Database Management Systems Web based Applications, - - CMPUT 391 Database Management Systems Department of Computing Science University of Alberta The Basic Web Server CMPUT 391 Database Management

More information

CREATE A SERVLET PROGRAM TO DISPLAY THE STUDENTS MARKS. To create a servlet program to display the students marks

CREATE A SERVLET PROGRAM TO DISPLAY THE STUDENTS MARKS. To create a servlet program to display the students marks CREATE A SERVLET PROGRAM TO DISPLAY THE STUDENTS MARKS DATE: 30.9.11 Aim: To create a servlet program to display the students marks Hardware requirements: Intel Core 2 Quad 2GB RAM Software requirements:

More information

Accessing Insurance Portal/PAS Job Aid Single Sign-On

Accessing Insurance Portal/PAS Job Aid Single Sign-On Accessing Insurance Portal/PAS Job Aid Single Sign-On Getting Started with Insurance Portal and PAS - Create Desktop Shortcut and Single Sign-On Password Getting Started To Get Started with Insurance Portal

More information

Advanced Internet Technology Lab # 5 Handling Client Requests

Advanced Internet Technology Lab # 5 Handling Client Requests Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2011 Advanced Internet Technology Lab # 5 Handling Client Requests Eng. Doaa Abu Jabal Advanced Internet Technology Lab

More information

INTERNET PROGRAMMING TEST-3 SCHEME OF EVALUATION 1.A 3 LIFE CYCLE METHODS - 3M 1.B HTML FORM CREATION - 2 M

INTERNET PROGRAMMING TEST-3 SCHEME OF EVALUATION 1.A 3 LIFE CYCLE METHODS - 3M 1.B HTML FORM CREATION - 2 M INTERNET PROGRAMMING TEST-3 SCHEME OF EVALUATION 1.A 3 LIFE CYCLE METHODS - 3M EXPLANATION - 1.B HTML FORM CREATION - 2 M SERVLET CODE IN POST METHOD IMPORT STATEMENTS - CLASS NAME AND METHOD (POST) -

More information

CE212 Web Application Programming Part 3

CE212 Web Application Programming Part 3 CE212 Web Application Programming Part 3 30/01/2018 CE212 Part 4 1 Servlets 1 A servlet is a Java program running in a server engine containing methods that respond to requests from browsers by generating

More information

CIS 3952 [Part 2] Java Servlets and JSP tutorial

CIS 3952 [Part 2] Java Servlets and JSP tutorial Java Servlets Example 1 (Plain Servlet) SERVLET CODE import java.io.ioexception; import java.io.printwriter; import javax.servlet.servletexception; import javax.servlet.annotation.webservlet; import javax.servlet.http.httpservlet;

More information

Welcome To PhillyJUG. 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation

Welcome To PhillyJUG. 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation Welcome To PhillyJUG 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation Web Development With The Struts API Tom Janofsky Outline Background

More information

Using Java servlets to generate dynamic WAP content

Using Java servlets to generate dynamic WAP content C H A P T E R 2 4 Using Java servlets to generate dynamic WAP content 24.1 Generating dynamic WAP content 380 24.2 The role of the servlet 381 24.3 Generating output to WAP clients 382 24.4 Invoking a

More information

Technical Guide Login Page Customization

Technical Guide Login Page Customization Released: 2017-11-15 Doc Rev No: R2 Copyright Notification Edgecore Networks Corporation Copyright 2019 Edgecore Networks Corporation. The information contained herein is subject to change without notice.

More information

Introduction to Java Servlets. SWE 432 Design and Implementation of Software for the Web

Introduction to Java Servlets. SWE 432 Design and Implementation of Software for the Web Introduction to Java Servlets James Baldo Jr. SWE 432 Design and Implementation of Software for the Web Web Applications A web application uses enabling technologies to 1. make web site contents dynamic

More information

Session 10. Form Dataset. Lecture Objectives

Session 10. Form Dataset. Lecture Objectives Session 10 Form Dataset Lecture Objectives Understand the relationship between HTML form elements and parameters that are passed to the servlet, particularly the form dataset 2 10/1/2018 1 Example Form

More information

CS433 Technology Overview

CS433 Technology Overview CS433 Technology Overview Scott Selikoff Cornell University November 13, 2002 Outline I. Introduction II. Stored Procedures III. Java Beans IV. JSPs/Servlets V. JSPs vs. Servlets VI. XML Introduction VII.

More information

Preview from Notesale.co.uk Page 6 of 132

Preview from Notesale.co.uk Page 6 of 132 15. SERVLET HANDLING DATE... 80 Getting Current Date & Time... 81 Date Comparison... 82 Date Formatting using SimpleDateFormat... 82 Simple DateFormat Format Codes... 83 16. SERVLETS PAGE REDIRECTION...

More information

Sub: Advance Java Programming Laboratory

Sub: Advance Java Programming Laboratory 1. Write a JAVA Servlet program to implement a dynamic HTML, using the servlet. (user name and password should be accepted using HTML and displayed using a Servlet) /**************** HTML CODE ******************/

More information

Advanced Web Technology

Advanced Web Technology Berne University of Applied Sciences Dr. E. Benoist Winter Term 2005-2006 Presentation 1 Presentation of the Course Part Java and the Web Servlet JSP and JSP Deployment The Model View Controler (Java Server

More information

Session 9. Introduction to Servlets. Lecture Objectives

Session 9. Introduction to Servlets. Lecture Objectives Session 9 Introduction to Servlets Lecture Objectives Understand the foundations for client/server Web interactions Understand the servlet life cycle 2 10/11/2018 1 Reading & Reference Reading Use the

More information

Lab session Google Application Engine - GAE. Navid Nikaein

Lab session Google Application Engine - GAE. Navid Nikaein Lab session Google Application Engine - GAE Navid Nikaein Available projects Project Company contact Mobile Financial Services Innovation TIC Vasco Mendès Bluetooth low energy Application on Smart Phone

More information

How to structure a web application with the MVC pattern

How to structure a web application with the MVC pattern Objectives Chapter 2 How to structure a web application with the MVC pattern Knowledge 1. Describe the Model 1 pattern. 2. Describe the Model 2 (MVC) pattern 3. Explain how the MVC pattern can improve

More information

First Servlets. Chapter. Topics in This Chapter

First Servlets. Chapter. Topics in This Chapter First Servlets Chapter Topics in This Chapter The basic structure of servlets A simple servlet that generates plain text The process of compiling, installing, and invoking servlets A servlet that generates

More information

Handling the Client Request: HTTP Request Headers

Handling the Client Request: HTTP Request Headers Handling the Client Request: HTTP Request Headers 1 Agenda Reading HTTP request headers Building a table of all the request headers Understanding the various request headers Reducing download times by

More information

Berner Fachhochschule Haute cole spcialise bernoise Berne University of Applied Sciences 2

Berner Fachhochschule Haute cole spcialise bernoise Berne University of Applied Sciences 2 Java Servlets Adv. Web Technologies 1) Servlets (introduction) Emmanuel Benoist Fall Term 2016-17 Introduction HttpServlets Class HttpServletResponse HttpServletRequest Lifecycle Methods Session Handling

More information

JAVA SERVLET. Server-side Programming ADVANCED FEATURES

JAVA SERVLET. Server-side Programming ADVANCED FEATURES JAVA SERVLET Server-side Programming ADVANCED FEATURES 1 AGENDA RequestDispacher SendRedirect ServletConfig ServletContext ServletFilter SingleThreadedModel Events and Listeners Servlets & Database 2 REQUESTDISPATCHER

More information

Deploying VMware Workspace ONE Intelligent Hub. October 2018 VMware Workspace ONE

Deploying VMware Workspace ONE Intelligent Hub. October 2018 VMware Workspace ONE Deploying VMware Workspace ONE Intelligent Hub October 2018 VMware Workspace ONE You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have

More information

To follow the Deitel publishing program, sign-up now for the DEITEL BUZZ ON-

To follow the Deitel publishing program, sign-up now for the DEITEL BUZZ ON- Ordering Information: Advanced Java 2 Platform How to Program View the complete Table of Contents Read the Preface Download the Code Examples To view all the Deitel products and services available, visit

More information

Chettinad College of Engineering and Technology CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND TECHNOLOGY

Chettinad College of Engineering and Technology CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND TECHNOLOGY CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND TECHNOLOGY UNIT IV SERVLETS 1. What is Servlets? a. Servlets are server side components that provide a powerful mechanism

More information

1.264 Lecture 15. Web development environments: JavaScript Java applets, servlets Java (J2EE) Active Server Pages

1.264 Lecture 15. Web development environments: JavaScript Java applets, servlets Java (J2EE) Active Server Pages 1.264 Lecture 15 Web development environments: JavaScript Java applets, servlets Java (J2EE) Active Server Pages Development environments XML, WSDL are documents SOAP is HTTP extension UDDI is a directory/registry

More information

Develop an Enterprise Java Bean for Banking Operations

Develop an Enterprise Java Bean for Banking Operations Develop an Enterprise Java Bean for Banking Operations Aim: Develop a Banking application using EJB3.0 Software and Resources: Software or Resource Version Required NetBeans IDE 6.7, Java version Java

More information

Handout 31 Web Design & Development

Handout 31 Web Design & Development Lecture 31 Session Tracking We have discussed the importance of session tracking in the previous handout. Now, we ll discover the basic techniques used for session tracking. Cookies are one of these techniques

More information

Form Data trong Servlet

Form Data trong Servlet Form Data trong Servlet Bạn gặp phải nhiều tình huống mà cần truyền một số thông tin từ trình duyệt của bạn tới Web Server và sau đó tới chương trình backend của bạn. Trình duyệt sử dụng hai phương thức

More information

Accessing EJB in Web applications

Accessing EJB in Web applications Accessing EJB in Web applications 1. 2. 3. 4. Developing Web applications Accessing JDBC in Web applications To run this tutorial, as a minimum you will be required to have installed the following prerequisite

More information

Scheme G Sample Question Paper Unit Test 2

Scheme G Sample Question Paper Unit Test 2 Scheme G Sample Question Paper Unit Test 2 Course Name: Computer Engineering Group Course Code: CO/CD/CM/CW/IF Semester: Sixth Subject Title: Advanced Java Programming Marks: 25 Marks 17625 ---------------------------------------------------------------------------------------------------------------------------

More information

Unit 4 - Servlet. Servlet. Advantage of Servlet

Unit 4 - Servlet. Servlet. Advantage of Servlet Servlet Servlet technology is used to create web application, resides at server side and generates dynamic web page. Before Servlet, CGI (Common Gateway Interface) was popular as a server-side programming

More information

Penetration: from application down to OS

Penetration: from application down to OS April 8, 2009 Penetration: from application down to OS Getting OS access using IBM Websphere Application Server vulnerabilities Digitаl Security Research Group (DSecRG) Stanislav Svistunovich research@dsecrg.com

More information

Internet Technologies 5-Dynamic Web. F. Ricci 2010/2011

Internet Technologies 5-Dynamic Web. F. Ricci 2010/2011 Internet Technologies 5-Dynamic Web F. Ricci 2010/2011 Content The "meanings" of dynamic Building dynamic content with Java EE (server side) HTML forms: how to send to the server the input PHP: a simpler

More information

SERVLET AND JSP FILTERS

SERVLET AND JSP FILTERS SERVLET AND JSP FILTERS FILTERS OVERVIEW Filter basics Accessing the servlet context Using initialization parameters Blocking responses Modifying responses FILTERS: OVERVIEW Associated with any number

More information

CSC309: Introduction to Web Programming. Lecture 8

CSC309: Introduction to Web Programming. Lecture 8 CSC309: Introduction to Web Programming Lecture 8 Wael Aboulsaadat Front Layer Web Browser HTTP Request Get http://abc.ca/index.html Web (HTTP) Server HTTP Response .. How

More information

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data CS 418/518 Web Programming Spring 2014 HTML Tables and Forms Dr. Michele Weigle http://www.cs.odu.edu/~mweigle/cs418-s14/ Outline! Assigned Reading! Chapter 4 "Using Tables to Display Data"! Chapter 5

More information

GENERATING THE SERVER RESPONSE: HTTP STATUS CODES

GENERATING THE SERVER RESPONSE: HTTP STATUS CODES GENERATING THE SERVER RESPONSE: HTTP STATUS CODES Topics in This Chapter Format of the HTTP response How to set status codes What the status codes are good for Shortcut methods for redirection and error

More information

Université Antonine - Baabda

Université Antonine - Baabda Université Antonine - Baabda Faculté d ingénieurs en Informatique, Multimédia, Systèmes, Réseaux et Télécommunications Applications mobiles (Pocket PC, etc ) Project: Manipulate School Database Préparé

More information

Enterprise Knowledge Platform Adding the Login Form to Any Web Page

Enterprise Knowledge Platform Adding the Login Form to Any Web Page Enterprise Knowledge Platform Adding the Login Form to Any Web Page EKP Adding the Login Form to Any Web Page 21JAN03 2 Table of Contents 1. Introduction...4 Overview... 4 Requirements... 4 2. A Simple

More information

LICENSE4J AUTO LICENSE GENERATION AND ACTIVATION SERVER USER GUIDE

LICENSE4J AUTO LICENSE GENERATION AND ACTIVATION SERVER USER GUIDE LICENSE4J AUTO LICENSE GENERATION AND ACTIVATION SERVER USER GUIDE VERSION 1.7.1 LICENSE4J www.license4j.com Table of Contents Getting Started... 2 Server Roles... 4 Installation... 9 Server WAR Deployment...

More information

CS506 Web Design & Development Final Term Solved MCQs with Reference

CS506 Web Design & Development Final Term Solved MCQs with Reference with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar

More information

Servlets. An extension of a web server runs inside a servlet container

Servlets. An extension of a web server runs inside a servlet container Servlets What is a servlet? An extension of a web server runs inside a servlet container A Java class derived from the HttpServlet class A controller in webapplications captures requests can forward requests

More information

TM-800/1000 and TS-700/900 Administrator Manual

TM-800/1000 and TS-700/900 Administrator Manual TM-800/1000 and TS-700/900 Administrator Manual Version 4.0 The RHUB web conferencing and remote support appliance RHUB Communications, Inc. 4340 Stevens Creek Blvd. Suite 282 San Jose, CA 95129 support@rhubcom.com

More information

JBu ilder. Building WAP-enabled Applications with JBuilder and Inprise Application Server. Introduction

JBu ilder. Building WAP-enabled Applications with JBuilder and Inprise Application Server. Introduction Building WAP-enabled Applications with JBuilder and Inprise Application Server Introduction This document demonstrates how to provide WAP access into an enterprise application, in this case using EJB in

More information

CAREERTECH INFORMATION MANAGEMENT SYSTEM (CTIMS) SETTING UP AND MANAGING YOUR CTIMS ACCOUNT GUIDEBOOK IMD

CAREERTECH INFORMATION MANAGEMENT SYSTEM (CTIMS) SETTING UP AND MANAGING YOUR CTIMS ACCOUNT GUIDEBOOK IMD CAREERTECH INFORMATION MANAGEMENT SYSTEM (CTIMS) SETTING UP AND MANAGING YOUR CTIMS ACCOUNT GUIDEBOOK IMD December 9, 2017 Setting Up and Managing Your CTIMS Account This user manual will take you through

More information

Data Repository User Manual

Data Repository User Manual Data Repository User Manual Table of Contents 1. Introduction 2. Creating a new user account 3. Changing the password 4. Sharing Files 4.1 Uploading Files 4.2 Editing File Properties 4.3 Adding and Creating

More information

Component Based Software Engineering

Component Based Software Engineering Component Based Software Engineering Masato Suzuki School of Information Science Japan Advanced Institute of Science and Technology 1 Schedule Mar. 10 13:30-15:00 : 09. Introduction and basic concepts

More information

Construction d Applications Réparties / Master MIAGE

Construction d Applications Réparties / Master MIAGE Construction d Applications Réparties / Master MIAGE HTTP and Servlets Giuseppe Lipari CRiSTAL, Université de Lille February 24, 2016 Outline HTTP HTML forms Common Gateway Interface Servlets Outline HTTP

More information

Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager

Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager Setting Up Resources in VMware Identity Manager (SaaS) You can find the most up-to-date technical documentation

More information

JavaServer Pages (JSP)

JavaServer Pages (JSP) JavaServer Pages (JSP) The Context The Presentation Layer of a Web App the graphical (web) user interface frequent design changes usually, dynamically generated HTML pages Should we use servlets? No difficult

More information

Wishlist 1-Click Registration Manual

Wishlist 1-Click Registration Manual Wishlist 1-Click Registration Manual Table of Contents Use the quick navigation links below to navigate through the manual: Introduction to Wishlist 1-Click Registration Complete Activation Process Summary

More information

A Servlet-Based Search Engine. Introduction

A Servlet-Based Search Engine. Introduction A Servlet-Based Search Engine Introduction Architecture Implementation Summary Introduction Pros Suitable to be deployed as a search engine for a static web site Very efficient in dealing with client requests

More information

Oracle Eloqua HIPAA Advanced Data Security Add-on Cloud Service

Oracle Eloqua HIPAA Advanced Data Security Add-on Cloud Service http://docs.oracle.com Oracle Eloqua HIPAA Advanced Data Security Add-on Cloud Service Configuration Guide 2018 Oracle Corporation. All rights reserved 07-Jun-2018 Contents 1 HIPAA 3 1.0.1 What is HIPAA?

More information

Handling Cookies. For live Java EE training, please see training courses at

Handling Cookies. For live Java EE training, please see training courses at Edited with the trial version of 2012 Marty To Hall remove this notice, visit: Handling Cookies Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html

More information

3. The pool should be added now. You can start Weblogic server and see if there s any error message.

3. The pool should be added now. You can start Weblogic server and see if there s any error message. CS 342 Software Engineering Lab: Weblogic server (w/ database pools) setup, Servlet, XMLC warming up Professor: David Wolber (wolber@usfca.edu), TA: Samson Yingfeng Su (ysu@cs.usfca.edu) Setup Weblogic

More information

CHAPTER 2: A FAST INTRODUCTION TO BASIC SERVLET PROGRAMMING

CHAPTER 2: A FAST INTRODUCTION TO BASIC SERVLET PROGRAMMING Taken from More Servlets and JavaServer Pages by Marty Hall. Published by Prentice Hall PTR. For personal use only; do not redistribute. For a complete online version of the book, please see http://pdf.moreservlets.com/.

More information

Advanced Topics in Operating Systems. Manual for Lab Practices. Enterprise JavaBeans

Advanced Topics in Operating Systems. Manual for Lab Practices. Enterprise JavaBeans University of New York, Tirana M.Sc. Computer Science Advanced Topics in Operating Systems Manual for Lab Practices Enterprise JavaBeans PART III A Web Banking Application with EJB and MySQL Development

More information

Branding Customizations

Branding Customizations Branding Overview, page 1 Branding Prerequisites, page 1 Branding Task Flow, page 2 Branding File Requirements, page 4 Branding Overview The Branding feature lets you upload customized branding for Cisco

More information

Session 8. JavaBeans. Reading & Reference. Reading. Reference. Session 8 Java Beans. 2/27/2013 Robert Kelly, Head First Chapter 3 (MVC)

Session 8. JavaBeans. Reading & Reference. Reading. Reference. Session 8 Java Beans. 2/27/2013 Robert Kelly, Head First Chapter 3 (MVC) Session 8 JavaBeans 1 Reading Reading & Reference Head First Chapter 3 (MVC) Reference JavaBeans Tutorialdocs.oracle.com/javase/tutorial/javabeans/ 2 2/27/2013 1 Lecture Objectives Understand how the Model/View/Controller

More information

BrainCert Enterprise LMS. Learning Management System (LMS) documentation Administrator Guide Version 3.0

BrainCert Enterprise LMS. Learning Management System (LMS) documentation Administrator Guide Version 3.0 BrainCert Enterprise LMS Learning Management System (LMS) documentation Administrator Guide Version 3.0 1 P a g e Table of Contents... 3... 3... 4... 4... 5... 5... 6... 6... 8... 8... 9... 9... 10...

More information

Server Side Internet Programming

Server Side Internet Programming Server Side Internet Programming DD1335 (Lecture 6) Basic Internet Programming Spring 2010 1 / 53 Server Side Internet Programming Objectives The basics of servlets mapping and configuration compilation

More information

&' () - #-& -#-!& 2 - % (3" 3 !!! + #%!%,)& ! "# * +,

&' () - #-& -#-!& 2 - % (3 3 !!! + #%!%,)& ! # * +, ! "# # $! " &' ()!"#$$&$'(!!! ($) * + #!,)& - #-& +"- #!(-& #& #$.//0& -#-!& #-$$!& 1+#& 2-2" (3" 3 * * +, - -! #.// HttpServlet $ Servlet 2 $"!4)$5 #& 5 5 6! 0 -.// # 1 7 8 5 9 2 35-4 2 3+ -4 2 36-4 $

More information

Demonstration of Servlet, JSP with Tomcat, JavaDB in NetBeans

Demonstration of Servlet, JSP with Tomcat, JavaDB in NetBeans Demonstration of Servlet, JSP with Tomcat, JavaDB in NetBeans Installation pre-requisites: NetBeans 7.01 or above is installed; Tomcat 7.0.14.0 or above is installed properly with NetBeans; (see step 7

More information

Backend. (Very) Simple server examples

Backend. (Very) Simple server examples Backend (Very) Simple server examples Web server example Browser HTML form HTTP/GET Webserver / Servlet JDBC DB Student example sqlite>.schema CREATE TABLE students(id integer primary key asc,name varchar(30));

More information

MetaMoJi Share for Business Ver. 3 MetaMoJi Note for Business Ver. 3 Migration Guide

MetaMoJi Share for Business Ver. 3 MetaMoJi Note for Business Ver. 3 Migration Guide MetaMoJi Share for Business Ver. 3 MetaMoJi Note for Business Ver. 3 Migration Guide First Edition - ios is a trademark or registered trademark of Cisco in the U.S. and other countries and is used under

More information

The Basic Web Server CGI. CGI: Illustration. Web based Applications, Tomcat and Servlets - Lab 3 - CMPUT 391 Database Management Systems 4

The Basic Web Server CGI. CGI: Illustration. Web based Applications, Tomcat and Servlets - Lab 3 - CMPUT 391 Database Management Systems 4 CMPUT 391 Database Management Systems The Basic Web based Applications, - - CMPUT 391 Database Management Systems Department of Computing Science University of Alberta CMPUT 391 Database Management Systems

More information

Advanced Internet Technology Lab # 6

Advanced Internet Technology Lab # 6 Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2011 Advanced Internet Technology Lab # 6 JSP cookies Eng. Doaa Abu Jabal Advanced Internet Technology Lab # 6 JSP cookies

More information

Servlets and JSP (Java Server Pages)

Servlets and JSP (Java Server Pages) Servlets and JSP (Java Server Pages) XML HTTP CGI Web usability Last Week Nan Niu (nn@cs.toronto.edu) CSC309 -- Fall 2008 2 Servlets Generic Java2EE API for invoking and connecting to mini-servers (lightweight,

More information

Introduction. This course Software Architecture with Java will discuss the following topics:

Introduction. This course Software Architecture with Java will discuss the following topics: Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations

More information

Get the cookies from the service request: Cookie[] HttpServletRequest.getCookies() Add a cookie to the service response:

Get the cookies from the service request: Cookie[] HttpServletRequest.getCookies() Add a cookie to the service response: Managing Cookies Cookies Cookies are a general mechanism which server side applications can use to both store and retrieve information on the client side Servers send cookies in the HTTP response and browsers

More information

ABSOLUTE FORM PROCESSOR ADMINISTRATION OPTIONS

ABSOLUTE FORM PROCESSOR ADMINISTRATION OPTIONS ABSOLUTE FORM PROCESSOR ADMINISTRATION OPTIONS The Absolute Form Processor is very easy to use. In order to operate the system, you just need the menu at the top of the screen. There, you ll find all the

More information

The Structure and Components of

The Structure and Components of Web Applications The Structure and Components of a JEE Web Application Sample Content garth@ggilmour.com The Structure t of a Web Application The application is deployed in a Web Archive A structured jar

More information

Supplement IV.E: Tutorial for Tomcat For Introduction to Java Programming By Y. Daniel Liang

Supplement IV.E: Tutorial for Tomcat For Introduction to Java Programming By Y. Daniel Liang Supplement IV.E: Tutorial for Tomcat 5.5.9 For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Obtaining and Installing Tomcat Starting and Stopping Tomcat

More information

User Guide. Version 8.0

User Guide. Version 8.0 User Guide Version 8.0 Contents 1 Getting Started... iii 1.1... About... iii 2 Logging In... 4 2.1... Choosing Security Questions... 4 3 The File Manager... 5 3.1... Uploading a file... 6 3.2... Downloading

More information

Unit III- Server Side Technologies

Unit III- Server Side Technologies Web Technology Unit III- Server Side Technologies By Prof. B.A.Khivsara Note: The material to prepare this presentation has been taken from internet and are generated only for students reference and not

More information