Size: px
Start display at page:

Download "www.cotiinformatica.com.br"

Transcription

1 de WebService... Estrutura do projeto... LIBS: asm-3.1.jar commons-codec-1.6.jar commons-logging jar fluent-hc jar gson jar httpclient jar httpclient-cache jar httpcore jar httpmime jar jackson-core-asl jar jackson-jaxrs jar jackson-mapper-asl jar jackson-xc jar jaxen jar jdom jar jersey-client-1.12.jar jersey-core-1.12.jar jersey-json-1.12.jar jersey-server-1.12.jar jersey-servlet-1.12.jar jettison-1.1.jar json-simple jar jsr311-api jar mysql-connector-java bin.jar 1

2 servlet3-api.jar xercesimpl.jar xml-apis.jar package entity; import java.io.serializable; import public class Cliente implements Serializable{ private static final long serialversionuid = 7L; private Integer idcliente; private String nome; private String ; private String sexo; public Cliente(Integer idcliente, String nome, String , String sexo) { this.idcliente = idcliente; this.nome = nome; this. = ; this.sexo = sexo; public Cliente() public String tostring() { return "Cliente [idcliente=" + idcliente + ", nome=" + nome + ", =" + + ", sexo=" + sexo + "]"; 2

3 public String tostring(string tipo) { switch(tipo){ case "txt" : return idcliente + "," + nome + "," + + "," + sexo +"\n"; case "csv" : return idcliente + ";" + nome + ";" + + ";" + sexo; default : return "IdCliente:"+idCliente + ",nome:" + nome + ", " + + ",sexo" + sexo; public Integer getidcliente() { return idcliente; public void setidcliente(integer idcliente) { this.idcliente = idcliente; public String getnome() { return nome; public void setnome(string nome) { this.nome = nome; public String get () { return ; public void set (string ) { this. = ; public String getsexo() { return sexo; public void setsexo(string sexo) { this.sexo = sexo; 3

4 package persistence; import java.sql.connection; import java.sql.drivermanager; import java.sql.preparedstatement; import java.sql.resultset; public class Dao { Connection con; PreparedStatement stmt; ResultSet rs; public void open() throws Exception{ Class.forName("com.mysql.jdbc.Driver"); con = DriverManager. getconnection("jdbc:mysql://localhost:3306/pelomeupai","roo t","coti"); public void close() throws Exception{ con.close(); script.sql drop database if exists pelomeupai; create database pelomeupai; use pelomeupai; create table cliente(idcliente int primary key auto_increment, nome varchar (35), varchar (50) unique, sexo enum ('m','f') ); insert into cliente values (null,'indio','indio@gmail.com','m'); insert into cliente values (null,'tiririca','tiririca@gmail.com','m'); insert into cliente values (null,'bornier','bornier@gmail.com','m'); 4

5 insert into cliente values commit; select * from cliente; package persistence; import java.util.arraylist; import java.util.list; import entity.cliente; public class ClienteDao extends Dao { public void create(cliente c)throws Exception{ open(); stmt = con.preparestatement("insert into cliente values (null,?,?,?)"); stmt.setstring(1, c.getnome()); stmt.setstring(2, c.get ()); stmt.setstring(3, c.getsexo()); stmt.execute(); 5

6 stmt.close(); close(); public List<Cliente> findall()throws Exception{ open(); stmt = con.preparestatement("select * from cliente"); List<Cliente> lst =new ArrayList<Cliente>(); while(rs.next()){ Cliente c= new Cliente(); c.setidcliente(rs.getint(1)); c.setnome(rs.getstring(2)); c.set (rs.getstring(3)); c.setsexo(rs.getstring(4)); lst.add(c); stmt.execute(); stmt.close(); close(); return lst; public Cliente findby (string )throws Exception{ open(); stmt = con.preparestatement("select * from cliente where =?"); stmt.setstring(1, ); Cliente c = null; if(rs.next()){ //se encontrado c= new Cliente(); c.setidcliente(rs.getint(1)); c.setnome(rs.getstring(2)); c.set (rs.getstring(3)); c.setsexo(rs.getstring(4)); stmt.execute(); stmt.close(); close(); return c; 6

7 package services; import javax.ws.rs.get; import javax.ws.rs.path; import javax.ws.rs.pathparam; //webserice/cliente/ import javax.ws.rs.produces; import com.google.gson.gson; import entity.cliente; import public class @Produces("text/plain") public String String String String sexo){ ClienteDao cd = new ClienteDao(); Cliente c = new Cliente(null,nome, , sexo); String msg=""; try{ cd.create(c); msg = "Dados Gravados"; catch(exception ex){ msg= "Error : Dados Nao Gravados :" + ex.getmessage(); return msg; //Daqui a 7

8 @Produces("application/json") public String listar(){ try{ return new Gson().toJson(new ClienteDao().findAll()); catch(exception ex){ return "Error :" + ex.getmessage(); Clicar no projeto com o botão direito -> Properties 8

9 Marcar Dynamic Web Module -> Futher Configuration -> Generate web.xml deployment descriptor web.xml <?xml version="1.0" encoding="utf-8"?> <web-app id="webapp_id" version="3.1" xmlns=" xmlns:xsi=" xsi:schemalocation=" <servlet> <servlet-name>jersey REST Service</servlet-name> <servletclass>com.sun.jersey.spi.container.servlet.servletcontainer</ser vlet-class> <init-param> <paramname>com.sun.jersey.config.property.packages</param-name> <param-value>services</param-value> 9

10 </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>jersey REST Service</servlet-name> <url-pattern>/webservice/*</url-pattern> </servlet-mapping> </web-app> Rodar o projeto pelo prórpio projeto 10

11 11

12 No banco te/listar 12

13 Novo projeto Angular Estrutura do projeto LIBS: angular-route.js angular.js Projeto SuperStarAngular copiei e colei o angular para webcontent bootstrap index.html pages cadastro.html consulta.html home.html js_control rota.js (Arquivo de Controle) 13

14 controller.js var app=angular.module('app',['ngroute']); app.config(function($routeprovider){ $routeprovider.when('/',{ templateurl : 'pages/home.html', controller : 'rotacontrole' ).when('/cadastro',{ templateurl : 'pages/cadastro.html', controller : 'cadastrocontrole' ).when('/consulta',{ templateurl : 'pages/consulta.html', controller : 'consultacontrole' ) ); app.controller('rotacontrole',function($scope){ $scope.message = 'Sistema Angular JS - MVC' ); 14

15 app.controller('cadastrocontrole',function($scope, $http){ $scope.message='cadastrar Cliente'; $scope.msg = ''; $scope.cliente={ idcliente : "", nome : "", "", sexo : "" $scope.cadastrarcliente = function(){ $http.get(' liente/gravar/' + $scope.cliente.nome + "/" + $scope.cliente. +"/" + $scope.cliente.sexo). success(function(data){ $scope.msg = data; ); $scope.cliente={ idcliente : "", nome : "", "", sexo : "" ); app.controller('consultacontrole',function($scope, $http){ $scope.message='clientes Listados'; $http.get(' liente/listar'). success(function(data){ $scope.listacliente = data; ); ); 15

16 index.html <!DOCTYPE html> <html ng-app="app"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="content-language" content="pt-br" /> <script src="angular/angular.js"></script> <script src="angular/angular-route.js"></script> <link rel="stylesheet" href="css/bootstrap.css"></link> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/bootstrap.js"></script> <script type="text/javascript" src="js_control/controller.js"> </script> </head> <body ng-controller="rotacontrole" class="container"> <div class="well"> <h2> Projeto em Angular</h2> </div> <ul class="nav nav-tabs"> <li ng-class="{active: activetab =='/'"><a href="#/"> Home </a> <li ng-class="{active: activetab =='/cadastro'"><a href="#cadastro"> Cadastro </a></li> <li ng-class="{active: activetab =='/consulta'"><a href="#consulta"> Consulta </a></li> </ul> <p/> 16

17 <div id="main"> <div ng-view></div> </div> </body> </html> home.html <div class="page-header"> {{message <h2>pagina Inicial - Angular JS</h2> </div> 17

18 cadastro.html <div class="page-header"> <h3>cadastrar Cliente</h3> <form ng-submit="cadastrarcliente()" ng-controller="cadastrocontrole" class="form-group"> <label>nome</label> <input type="text" ng-model="cliente.nome" class="formcontrol"> <label> </label> <input type="text" ng-model="cliente. " class="formcontrol"> <label>sexo</label> <input type="text" ng-model="cliente.sexo" class="formcontrol"> <br/><br/> <button class="btn btn-primary" type="submit"> Cadastrar Cliente</button> 18

19 </div> <br/><br/> {{msg </form> consulta.html <div class="page-header"> <h3>consulta angular</h3> <ul> <li ng-repeat="c in listacliente"> <p> idcliente : {{c.idcliente <p> Nome : {{c.nome <p> {{c. <p> Sexo <hr/> </li> </ul> </div> : {{c.sexo 19

20 20

ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014

ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014 ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014 What is Angular Js? Open Source JavaScript framework for dynamic web apps. Developed in 2009 by Miško Hevery and Adam Abrons.

More information

Hello World RESTful web service tutorial

Hello World RESTful web service tutorial Hello World RESTful web service tutorial Balázs Simon (sbalazs@iit.bme.hu), BME IIT, 2015 1 Introduction This document describes how to create a Hello World RESTful web service in Eclipse using JAX-RS

More information

Nome database: reddito

Nome database: reddito Nome database: reddito CAMPO TIPO codice int PRIMARY KEY cognome varchar(20) reddito float Elenco programmi - menu.html menu' gestione database - menuhref.html esempio di menu' con HREF - conn_db.jsp connessione

More information

c. Write a JavaScript statement to print out as an alert box the value of the third Radio button (whether or not selected) in the second form.

c. Write a JavaScript statement to print out as an alert box the value of the third Radio button (whether or not selected) in the second form. Practice Problems: These problems are intended to clarify some of the basic concepts related to access to some of the form controls. In the process you should enter the problems in the computer and run

More information

Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D Chapter 2 HTML Basics Key Concepts Copyright 2013 Terry Ann Morris, Ed.D 1 First Web Page an opening tag... page info goes here a closing tag Head & Body Sections Head Section

More information

Web Development 1 A4 Project Description Web Architecture

Web Development 1 A4 Project Description Web Architecture Web Development 1 Introduction to A4, Architecture, Core Technologies A4 Project Description 2 Web Architecture 3 Web Service Web Service Web Service Browser Javascript Database Javascript Other Stuff:

More information

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue Mobile Web Applications Gary Dubuque IT Research Architect Department of Revenue Summary Times are approximate 10:15am 10:25am 10:35am 10:45am Evolution of Web Applications How they got replaced by native

More information

Making Web Application using Tizen Web UI Framework. Koeun Choi

Making Web Application using Tizen Web UI Framework. Koeun Choi Making Web Application using Tizen Web UI Framework Koeun Choi Contents Overview Web Applications using Web UI Framework Tizen Web UI Framework Web UI Framework Launching Flow Web Winsets Making Web Application

More information

public class Autenticador { private static final ThreadLocal<UsuarioInterface> threadusuario = new ThreadLocal<UsuarioInterface>();

public class Autenticador { private static final ThreadLocal<UsuarioInterface> threadusuario = new ThreadLocal<UsuarioInterface>(); JBook Shadowing - Oracle Source folder: src/main/java Main package: br.com.infowaypi.jbook. Actual package: autenticacao Java file: Autenticador.java package br.com.infowaypi.jbook.autenticacao; public

More information

Laravel + AngularJS - Contact Manager

Laravel + AngularJS - Contact Manager Laravel + AngularJS - Contact Manager To complete this workshop you will need to have the following installed and working on your machine. Composer or Laravel Installer Larvel's Homestead The following

More information

Professional & Workgroup Editions

Professional & Workgroup Editions Professional & Workgroup Editions Add a popup window for scheduling appointments on your own web page using HTML Date: August 2, 2011 Page 1 Overview This document describes how to insert a popup window

More information

Aplicação ASP.NET MVC 4 Usando Banco de Dados

Aplicação ASP.NET MVC 4 Usando Banco de Dados Aplicação ASP.NET MVC 4 Usando Banco de Dados Neste exemplo simples, vamos desenvolver uma aplicação ASP.NET MVC para acessar o banco de dados Northwind, que está armazenado no servidor SQL Server e, listar

More information

Introduction to PhoneGap

Introduction to PhoneGap Web development for mobile platforms Master on Free Software / August 2012 Outline About PhoneGap 1 About PhoneGap 2 Development environment First PhoneGap application PhoneGap API overview Building PhoneGap

More information

Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts! http://www.acorn-is.

Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts! http://www.acorn-is. Intell-a-Keeper Reporting System Technical Programming Guide Tracking your Bookings without going Nuts! http://www.acorn-is.com 877-ACORN-99 Step 1: Contact Marian Talbert at Acorn Internet Services at

More information

Website Login Integration

Website Login Integration SSO Widget Website Login Integration October 2015 Table of Contents Introduction... 3 Getting Started... 5 Creating your Login Form... 5 Full code for the example (including CSS and JavaScript):... 7 2

More information

Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2)

Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2) Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2) [This is the second of a series of white papers on implementing applications with special requirements for data

More information

Online Multimedia Winter semester 2015/16

Online Multimedia Winter semester 2015/16 Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 12 Major Subject Ludwig-Maximilians-Universität München Online Multimedia WS 2015/16 - Tutorial 12-1 Today s Agenda Imperative vs.

More information

Sample HP OO Web Application

Sample HP OO Web Application HP OO 10 OnBoarding Kit Community Assitstance Team Sample HP OO Web Application HP OO 10.x Central s rich API enables easy integration of the different parts of HP OO Central into custom web applications.

More information

JavaScript and Dreamweaver Examples

JavaScript and Dreamweaver Examples JavaScript and Dreamweaver Examples CSC 103 October 15, 2007 Overview The World is Flat discussion JavaScript Examples Using Dreamweaver HTML in Dreamweaver JavaScript Homework 3 (due Friday) 1 JavaScript

More information

JWIG Yet Another Framework for Maintainable and Secure Web Applications

JWIG Yet Another Framework for Maintainable and Secure Web Applications JWIG Yet Another Framework for Maintainable and Secure Web Applications Anders Møller Mathias Schwarz Aarhus University Brief history - Precursers 1999: Powerful template system Form field validation,

More information

DATABASDESIGN FÖR INGENJÖRER - 1DL124

DATABASDESIGN FÖR INGENJÖRER - 1DL124 1 DATABASDESIGN FÖR INGENJÖRER - 1DL124 Sommar 2007 En introduktionskurs i databassystem http://user.it.uu.se/~udbl/dbt-sommar07/ alt. http://www.it.uu.se/edu/course/homepage/dbdesign/st07/ Kjell Orsborn

More information

AIM: 1. Develop static pages (using Only HTML) of an online Book store. The pages should

AIM: 1. Develop static pages (using Only HTML) of an online Book store. The pages should Programs 1 Develop static pages (using Only HTML) of an online Book store.the pages should resemble: www.amazon.com.the website should consist the following pages. Home page Registration User Login Books

More information

Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5

Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5 Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5 Jason Clark Head of Digital Access & Web Services Montana State University Library pinboard.in #tag pinboard.in/u:jasonclark/t:lita-html5/

More information

Copyright 2013-2014 by Object Computing, Inc. (OCI). All rights reserved. AngularJS Testing

Copyright 2013-2014 by Object Computing, Inc. (OCI). All rights reserved. AngularJS Testing Testing The most popular tool for running automated tests for AngularJS applications is Karma runs unit tests and end-to-end tests in real browsers and PhantomJS can use many testing frameworks, but Jasmine

More information

Brazil + JDBC Juin 2001, douin@cnam.fr http://jfod.cnam.fr/tp_cdi/douin/

Brazil + JDBC Juin 2001, douin@cnam.fr http://jfod.cnam.fr/tp_cdi/douin/ Brazil + JDBC Juin 2001, douin@cnam.fr http://jfod.cnam.fr/tp_cdi/douin/ version du 26 Mai 2003 : JDBC-SQL et Brazil pré-requis : lecture de Tutorial JDBC de Sun Bibliographie Brazil [Bra00]www.sun.com/research/brazil

More information

SmilingShops.com Blog hinzufügen für plentymarkets Shopsysteme.

SmilingShops.com Blog hinzufügen für plentymarkets Shopsysteme. SmilingShops.com Blog hinzufügen für plentymarkets Shopsysteme. Hinweis: Die Installation erfolgt auf ihrem eigenen Risiko. Die Dateien aus diesem Beispiel wurden für das Callisto Template entwickelt.

More information

Web Development and Core Java Lab Manual V th Semester

Web Development and Core Java Lab Manual V th Semester Web Development and Core Java Lab Manual V th Semester DEPT. OF COMPUTER SCIENCE AND ENGINEERING Prepared By: Kuldeep Yadav Assistant Professor, Department of Computer Science and Engineering, RPS College

More information

Yandex.Widgets Quick start

Yandex.Widgets Quick start 17.09.2013 .. Version 2 Document build date: 17.09.2013. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2013 Yandex LLC. All rights reserved.

More information

Script Handbook for Interactive Scientific Website Building

Script Handbook for Interactive Scientific Website Building Script Handbook for Interactive Scientific Website Building Version: 173205 Released: March 25, 2014 Chung-Lin Shan Contents 1 Basic Structures 1 11 Preparation 2 12 form 4 13 switch for the further step

More information

Kontaktperson Ole Jan Nekstad

Kontaktperson Ole Jan Nekstad Prosjekt nr. 2011 22 Vedlegg Hovedprosjektets tittel Implementering av plugin og utvikling av wizard for Det Norske Veritas Prosjektdeltakere Magnus Strand Nekstad s156159 Jørgen Rønbeck s135779 Dato 28.

More information

BAPI. Business Application Programming Interface. Compiled by Y R Nagesh 1

BAPI. Business Application Programming Interface. Compiled by Y R Nagesh 1 BAPI Business Application Programming Interface Compiled by Y R Nagesh 1 What is BAPI A Business Application Programming Interface is a precisely defined interface providing access process and data in

More information

oncourse web design handbook Aristedes Maniatis Charlotte Tanner

oncourse web design handbook Aristedes Maniatis Charlotte Tanner oncourse web design handbook Aristedes Maniatis Charlotte Tanner oncourse web design handbook by Aristedes Maniatis and Charlotte Tanner version unspecified Publication date 10 Nov 2015 Copyright 2015

More information

JavaScript: Arrays. 2008 Pearson Education, Inc. All rights reserved.

JavaScript: Arrays. 2008 Pearson Education, Inc. All rights reserved. 1 10 JavaScript: Arrays 2 With sobs and tears he sorted out Those of the largest size... Lewis Carroll Attempt the end, and never stand to doubt; Nothing s so hard, but search will find it out. Robert

More information

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING PRACTICAL RECORD CS2358 INTERNET PROGRAMMING LAB NAME : REGISTER NO : SEMESTER : 1. CREATING A WEBPAGE USING IMAGE MAP Aim To Create a web page with the following

More information

NGASI AppServer Manager SaaS/ASP Hosting Automation for Cloud Computing Administrator and User Guide

NGASI AppServer Manager SaaS/ASP Hosting Automation for Cloud Computing Administrator and User Guide NGASI AppServer Manager SaaS/ASP Hosting Automation for Cloud Computing Administrator and User Guide NGASI SaaS Hosting Automation is a JAVA SaaS Enablement infrastructure that enables web hosting services

More information

Chapter 22 How to send email and access other web sites

Chapter 22 How to send email and access other web sites Chapter 22 How to send email and access other web sites Murach's PHP and MySQL, C22 2010, Mike Murach & Associates, Inc. Slide 1 Objectives Applied 1. Install and use the PEAR Mail package to send email

More information

MOBILE DEVELOPMENT. With jquery Mobile & PhoneGap by Pete Freitag / Foundeo Inc. petefreitag.com / foundeo.com

MOBILE DEVELOPMENT. With jquery Mobile & PhoneGap by Pete Freitag / Foundeo Inc. petefreitag.com / foundeo.com MOBILE DEVELOPMENT With jquery Mobile & PhoneGap by Pete Freitag / Foundeo Inc. petefreitag.com / foundeo.com AGENDA Learn to build mobile web sites using jquerymobile and HTML5 Learn about PhoneGap for

More information

1 of 8 9/14/2011 5:40 PM

1 of 8 9/14/2011 5:40 PM file:///z:/sites/gemini/public_html/westbendmarketingfirm.htm 1 of 8 9/14/2011 5:40 PM

More information

Lab 5 Introduction to Java Scripts

Lab 5 Introduction to Java Scripts King Abdul-Aziz University Faculty of Computing and Information Technology Department of Information Technology Internet Applications CPIT405 Lab Instructor: Akbar Badhusha MOHIDEEN Lab 5 Introduction

More information

Web Development CSE2WD Final Examination June 2012. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Web Development CSE2WD Final Examination June 2012. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards? Question 1. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards? (b) Briefly identify the primary purpose of the flowing inside the body section of an HTML document: (i) HTML

More information

the intro for RPG programmers Making mobile app development easier... of KrengelTech by Aaron Bartell aaronbartell@mowyourlawn.com

the intro for RPG programmers Making mobile app development easier... of KrengelTech by Aaron Bartell aaronbartell@mowyourlawn.com the intro for RPG programmers Making mobile app development easier... Copyright Aaron Bartell 2012 by Aaron Bartell of KrengelTech aaronbartell@mowyourlawn.com Abstract Writing native applications for

More information

Fortigate SSL VPN 4 With PINsafe Installation Notes

Fortigate SSL VPN 4 With PINsafe Installation Notes Fortigate SSL VPN 4 With PINsafe Installation Notes Table of Contents Fortigate SSL VPN 4 With PINsafe Installation Notes... 1 1. Introduction... 2 2. Overview... 2 2.1. Prerequisites... 2 2.2. Baseline...

More information

Java Server Pages and Java Beans

Java Server Pages and Java Beans Java Server Pages and Java Beans Java server pages (JSP) and Java beans work together to create a web application. Java server pages are html pages that also contain regular Java code, which is included

More information

How to use SSO with SharePoint 2010 (FBA) using subdomains. Moataz Esmat EXT.1386

How to use SSO with SharePoint 2010 (FBA) using subdomains. Moataz Esmat EXT.1386 How to use SSO with SharePoint 2010 (FBA) using subdomains Moataz Esmat EXT.1386 I. Browse the web applications using subdomains: After creating the FBA web applications you need to simulate browsing the

More information

Chapter 9 Java and SQL. Wang Yang wyang@njnet.edu.cn

Chapter 9 Java and SQL. Wang Yang wyang@njnet.edu.cn Chapter 9 Java and SQL Wang Yang wyang@njnet.edu.cn Outline Concern Data - File & IO vs. Database &SQL Database & SQL How Connect Java to SQL - Java Model for Database Java Database Connectivity (JDBC)

More information

Website Planning Checklist

Website Planning Checklist Website Planning Checklist The following checklist will help clarify your needs and goals when creating a website you ll be surprised at how many decisions must be made before any production begins! Even

More information

CS2506 Operating Systems II Lab 8, 8 th Tue/03 /2011 Java API

CS2506 Operating Systems II Lab 8, 8 th Tue/03 /2011 Java API Introduction The JDBC API was designed to keep simple things simple. This means that the JDBC makes everyday database tasks easy. In this lab you will learn about how Java interacts with databases. JDBC

More information

Jewelry, Earrings, DesignersCollections Tiffany Be Post sdeasisnancy - 29.03.13 21:08

Jewelry, Earrings, DesignersCollections Tiffany Be Post sdeasisnancy - 29.03.13 21:08 Jewelry, Earrings, DesignersCollections Tiffany Be Post sdeasisnancy - 29.03.13 21:08 tiffany silver tiffanys tiffany jewellry tiffany

More information

Prof. Edwar Saliba Júnior

Prof. Edwar Saliba Júnior package Conexao; 2 3 /** 4 * 5 * @author Cynthia Lopes 6 * @author Edwar Saliba Júnior 7 */ 8 import java.io.filenotfoundexception; 9 import java.io.ioexception; 10 import java.sql.sqlexception; 11 import

More information

Programming the Web 06CS73 SAMPLE QUESTIONS

Programming the Web 06CS73 SAMPLE QUESTIONS Programming the Web 06CS73 SAMPLE QUESTIONS Q1a. Explain standard XHTML Document structure Q1b. What is web server? Name any three web servers Q2. What is hypertext protocol? Explain the request phase

More information

Real Time Email Verification API Documentation

Real Time Email Verification API Documentation Real Time Email Verification API Documentation Release 1.0.17 email-checker.com February 27, 2016 Contents 1 Product Overview 3 1.1 Product Overview............................................ 3 2 Quick

More information

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University Web Design Basics Cindy Royal, Ph.D. Associate Professor Texas State University HTML and CSS HTML stands for Hypertext Markup Language. It is the main language of the Web. While there are other languages

More information

CSc 230 Software System Engineering FINAL REPORT. Project Management System. Prof.: Doan Nguyen. Submitted By: Parita Shah Ajinkya Ladkhedkar

CSc 230 Software System Engineering FINAL REPORT. Project Management System. Prof.: Doan Nguyen. Submitted By: Parita Shah Ajinkya Ladkhedkar CSc 230 Software System Engineering FINAL REPORT Project Management System Prof.: Doan Nguyen Submitted By: Parita Shah Ajinkya Ladkhedkar Spring 2015 1 Table of Content Title Page No 1. Customer Statement

More information

Fortigate SSL VPN 3.x With PINsafe Installation Notes

Fortigate SSL VPN 3.x With PINsafe Installation Notes Fortigate SSL VPN 3.x With PINsafe Installation Notes Table of Contents Fortigate SSL VPN 3.x With PINsafe Installation Notes... 1 1. Introduction... 2 2. Overview... 2 2.1. Prerequisites... 2 2.2. Baseline...

More information

Web Server Lite. Web Server Software User s Manual

Web Server Lite. Web Server Software User s Manual Web Server Software User s Manual Web Server Lite This software is only loaded to 7188E modules acted as Server. This solution was general in our products. The Serial devices installed on the 7188E could

More information

The purpose of jquery is to make it much easier to use JavaScript on your website.

The purpose of jquery is to make it much easier to use JavaScript on your website. jquery Introduction (Source:w3schools.com) The purpose of jquery is to make it much easier to use JavaScript on your website. What is jquery? jquery is a lightweight, "write less, do more", JavaScript

More information

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS (2011-2012)

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS (2011-2012) WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS (2011-2012) BY MISS. SAVITHA R LECTURER INFORMATION SCIENCE DEPTATMENT GOVERNMENT POLYTECHNIC GULBARGA FOR ANY FEEDBACK CONTACT TO EMAIL:

More information

Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications

Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications Configuration Guide Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications Configuring the System for Web Authentication This document explains how to configure

More information

Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect

Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect Introduction Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect This document describes the process for configuring an iplanet web server for the following situation: Require that clients

More information

Introduction to Web Design Curriculum Sample

Introduction to Web Design Curriculum Sample Introduction to Web Design Curriculum Sample Thank you for evaluating our curriculum pack for your school! We have assembled what we believe to be the finest collection of materials anywhere to teach basic

More information

Direct Post Method (DPM) Developer Guide

Direct Post Method (DPM) Developer Guide (DPM) Developer Guide Card Not Present Transactions Authorize.Net Developer Support http://developer.authorize.net Authorize.Net LLC 2/22/11 Ver. Ver 1.1 (DPM) Developer Guide Authorize.Net LLC ( Authorize.Net

More information

2. Follow the installation directions and install the server on ccc

2. Follow the installation directions and install the server on ccc 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

PLAYER DEVELOPER GUIDE

PLAYER DEVELOPER GUIDE PLAYER DEVELOPER GUIDE CONTENTS CREATING AND BRANDING A PLAYER IN BACKLOT 5 Player Platform and Browser Support 5 How Player Works 6 Setting up Players Using the Backlot API 6 Creating a Player Using the

More information

HOTEL RESERVATION SYSTEM. Database Management System Project

HOTEL RESERVATION SYSTEM. Database Management System Project HOTEL RESERVATION SYSTEM Database Management System Project Contents 1. Introduction. 1 2. Requirements. 2 3. Design. 3 4. Coding. 7 5. Output. 20 1. Introduction Hotel needs to maintain the record of

More information

CSC 210 1 WEB DESIGN. Web Design

CSC 210 1 WEB DESIGN. Web Design 1 WEB DESIGN Web Design Announcements 2 Test 1 Average: 68 Standard Deviation: 16 The proposals are all good. All will need: The ability to track and manage users A database to keep track of data. Tomorrow

More information

Mul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 06 (Nebenfach)

Mul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 06 (Nebenfach) Mul$media im Netz (Online Mul$media) Wintersemester 2014/15 Übung 06 (Nebenfach) Online Mul?media WS 2014/15 - Übung 05-1 Today s Agenda Flashback! 5 th tutorial Introduc?on to JavaScript Assignment 5

More information

Web Programming II JSP (Java Server Pages) ASP request processing. The Problem. The Problem. Enterprise Application Development using J2EE

Web Programming II JSP (Java Server Pages) ASP request processing. The Problem. The Problem. Enterprise Application Development using J2EE Enterprise Application Development using J2EE Shmulik London Lecture #6 Web Programming II JSP (Java Server Pages) How we approached it in the old days (ASP) Multiplication Table Multiplication

More information

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved. 1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,

More information

JavaScript: Control Statements I

JavaScript: Control Statements I 1 7 JavaScript: Control Statements I 7.1 Introduction 2 The techniques you will learn here are applicable to most high-level languages, including JavaScript 1 7.2 Algorithms 3 Any computable problem can

More information

Novell Identity Manager

Novell Identity Manager AUTHORIZED DOCUMENTATION Manual Task Service Driver Implementation Guide Novell Identity Manager 4.0.1 April 15, 2011 www.novell.com Legal Notices Novell, Inc. makes no representations or warranties with

More information

Chapter 2: Interactive Web Applications

Chapter 2: Interactive Web Applications Chapter 2: Interactive Web Applications 2.1 Interactivity and Multimedia in the WWW architecture 2.2 Interactive Client-Side Scripting for Multimedia (Example HTML5/JavaScript) 2.3 Interactive Server-Side

More information

Multimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 03 Major Subject

Multimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 03 Major Subject Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 03 Major Subject Ludwig- Maximilians- Universität München Online Multimedia WS 2015/16 - Tutorial 03-1 Today s Agenda Quick test Server

More information

HTTP is Stateless. it simply allows a browser to request a single document from a web server. it remembers nothing between invoca9ons.

HTTP is Stateless. it simply allows a browser to request a single document from a web server. it remembers nothing between invoca9ons. Session & cookies HTTP is Stateless it simply allows a browser to request a single document from a web server it remembers nothing between invoca9ons Short lived EVERY resource that is accessed via HTTP

More information

Easy-Cassandra User Guide

Easy-Cassandra User Guide Easy-Cassandra User Guide Document version: 005 1 Summary About Easy-Cassandra...5 Features...5 Java Objects Supported...5 About Versions...6 Version: 1.1.0...6 Version: 1.0.9...6 Version: 1.0.8...6 Version:

More information

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout Fall 2011, Version 1.0 Table of Contents Introduction...3 Downloading

More information

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D 1 LEARNING OUTCOMES Describe the anatomy of a web page Format the body of a web page with block-level elements

More information

By : Ashish Modi. CRUD USING PHP (Create, Read, Update and Delete on Database) Create Database and Table using following Sql Syntax.

By : Ashish Modi. CRUD USING PHP (Create, Read, Update and Delete on Database) Create Database and Table using following Sql Syntax. CRUD USING PHP (Create, Read, Update and Delete on Database) Create Database and Table using following Sql Syntax. create database test; CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `name`

More information

1. About the Denver LAMP meetup group. 2. The purpose of Denver LAMP meetups. 3. Volunteers needed for several positions

1. About the Denver LAMP meetup group. 2. The purpose of Denver LAMP meetups. 3. Volunteers needed for several positions 1. About the Denver LAMP meetup group 1.Host a presentation every 1-3 months 2.Cover 1-3 related topics per meeting 3.Goal is to provide high quality education and networking, for free 2. The purpose of

More information

Getting Started with Ubertor's Cascading Style Sheet (CSS) Support

Getting Started with Ubertor's Cascading Style Sheet (CSS) Support Overview Getting Started with Ubertor's Cascading Style Sheet (CSS) Support The Ubertor CMS is a dynamic content management system; much of the markup is generated based on a series of preferences and

More information

Outline of CSS: Cascading Style Sheets

Outline of CSS: Cascading Style Sheets Outline of CSS: Cascading Style Sheets nigelbuckner 2014 This is an introduction to CSS showing how styles are written, types of style sheets, CSS selectors, the cascade, grouping styles and how styles

More information

SEEM4540 Open Systems for E-Commerce Lecture 06 Online Payment

SEEM4540 Open Systems for E-Commerce Lecture 06 Online Payment SEEM4540 Open Systems for E-Commerce Lecture 06 Online Payment PayPal PayPal is an American based e-commerce business allowing payments and money transfers to be made through the Internet. In 1998, a company

More information

MAGENTO THEME SHOE STORE

MAGENTO THEME SHOE STORE MAGENTO THEME SHOE STORE Developer: BSEtec Email: support@bsetec.com Website: www.bsetec.com Facebook Profile: License: GPLv3 or later License URL: http://www.gnu.org/licenses/gpl-3.0-standalone.html 1

More information

Semantic HTML. So, if you're wanting your HTML to be semantically-correct...

Semantic HTML. So, if you're wanting your HTML to be semantically-correct... Semantic HTML Contents Ben Hunt, Scratchmedia, 2008 Introduction to semantic HTML Why semantically correct HTML is better (ease of use, accessibility, SEO and repurposing) Comprehensive list of HTML tags,

More information

Tobar Segais: User Manual. Stephen Connolly

Tobar Segais: User Manual. Stephen Connolly Tobar Segais: User Manual Stephen Connolly Tobar Segais: User Manual by Stephen Connolly Abstract User Manual for the Tobair Segais Web application Table of Contents Copyright... v 1. Introduction... 1

More information

Internet Technologies

Internet Technologies QAFQAZ UNIVERSITY Computer Engineering Department Internet Technologies HTML Forms Dr. Abzetdin ADAMOV Chair of Computer Engineering Department aadamov@qu.edu.az http://ce.qu.edu.az/~aadamov What are forms?

More information

React+d3.js. Build data visualizations with React and d3.js. Swizec Teller. This book is for sale at http://leanpub.com/reactd3js

React+d3.js. Build data visualizations with React and d3.js. Swizec Teller. This book is for sale at http://leanpub.com/reactd3js React+d3.js Build data visualizations with React and d3.js Swizec Teller This book is for sale at http://leanpub.com/reactd3js This version was published on 2016-04-11 This is a Leanpub book. Leanpub empowers

More information

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. DOM Scripting, Web Design with JavaScript

More information

Mini Project Report ONLINE SHOPPING SYSTEM

Mini Project Report ONLINE SHOPPING SYSTEM Mini Project Report On ONLINE SHOPPING SYSTEM Submitted By: SHIBIN CHITTIL (80) NIDHEESH CHITTIL (52) RISHIKESE M R (73) In partial fulfillment for the award of the degree of B. TECH DEGREE In COMPUTER

More information

2- Forms and JavaScript Course: Developing web- based applica<ons

2- Forms and JavaScript Course: Developing web- based applica<ons 2- Forms and JavaScript Course: Cris*na Puente, Rafael Palacios 2010- 1 Crea*ng forms Forms An HTML form is a special section of a document which gathers the usual content plus codes, special elements

More information

JavaScript Basics & HTML DOM. Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com

JavaScript Basics & HTML DOM. Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com JavaScript Basics & HTML DOM Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com 2 Disclaimer & Acknowledgments Even though Sang Shin is a full-time employee

More information

Secure Application Development with the Zend Framework

Secure Application Development with the Zend Framework Secure Application Development with the Zend Framework By Stefan Esser Who? Stefan Esser from Cologne / Germany in IT security since 1998 PHP core developer since 2001 Month of PHP Bugs/Security and Suhosin

More information

CS412 Interactive Lab Creating a Simple Web Form

CS412 Interactive Lab Creating a Simple Web Form CS412 Interactive Lab Creating a Simple Web Form Introduction In this laboratory, we will create a simple web form using HTML. You have seen several examples of HTML pages and forms as you have worked

More information

The MVC Programming Model

The MVC Programming Model The MVC Programming Model MVC is one of three ASP.NET programming models. MVC is a framework for building web applications using a MVC (Model View Controller) design: The Model represents the application

More information

A table is a collection of related data entries and it consists of columns and rows.

A table is a collection of related data entries and it consists of columns and rows. CST 250 MySQL Notes (Source: www.w3schools.com) MySQL is the most popular open-source database system. What is MySQL? MySQL is a database. The data in MySQL is stored in database objects called tables.

More information

Installation and Integration Manual TRANZILA Secure 5

Installation and Integration Manual TRANZILA Secure 5 Installation and Integration Manual TRANZILA Secure 5 Last update: July 14, 2008 Copyright 2003 InterSpace Ltd., All Rights Reserved Contents 19 Yad Harutzim St. POB 8723 New Industrial Zone, Netanya,

More information

Importance of the Java Inet Address and Public String Hosting System

Importance of the Java Inet Address and Public String Hosting System CSC 551: Web Programming Spring 2004 Combining Java & JavaScript integrating Java with JavaScript calling Java routines from JavaScript controlling an applet from JavaScript accessing JavaScript & HTML

More information

Building Ajax Applications with GT.M and EWD. Rob Tweed M/Gateway Developments Ltd

Building Ajax Applications with GT.M and EWD. Rob Tweed M/Gateway Developments Ltd Building Ajax Applications with GT.M and EWD Rob Tweed M/Gateway Developments Ltd Is GT.M old-fashioned? I am a physician working in the VA system. I also program in.net. Certainly the VAs informatics

More information

RESTful web applications with Apache Sling

RESTful web applications with Apache Sling RESTful web applications with Apache Sling Bertrand Delacrétaz Senior Developer, R&D, Day Software, now part of Adobe Apache Software Foundation Member and Director http://grep.codeconsult.ch - twitter:

More information