public void setusername(string username) { this.username = username; } public void setname(string name) { this.name = name; }

Size: px
Start display at page:

Download "public void setusername(string username) { this.username = username; } public void setname(string name) { this.name = name; }"

Transcription

1 User-klassen package domain; import dk.au.hum.imv.persistence.db.databasepersistent; public class User extends DatabasePersistent { private String username; private String name; private String address; private String password; private String phone; private String mail; public User(String username,string name, String address, String password, String phone, String mail) { this(username, name, address, password, phone, mail, DatabasePersistent.NOT_IN_DB_ID_VALUE); public User(String username, String name, String address, String password, String phone, String mail, long databaseid) { super(databaseid); this.username = username; this.name = name; this.address = address; this.password = password; this.phone = phone; this.mail = mail; public String getusername() { return username; public void setusername(string username) { this.username = username; public String getname() { return name; public void setname(string name) { this.name = name; public String getaddress() { return address; public void setaddress(string adress) { this.address = adress; public String getpassword() { return password; public void setpassword(string password) { this.password = password; public String getphone() { return phone; public void setphone(string phone) { this.phone = phone;

2 public void setmail(string mail) { this.mail = mail; public String tostring (){ return username+" hedder: "+name; UserMapper-klassen package mappers; import java.util.arraylist; import java.sql.connection; import java.sql.preparedstatement; import java.sql.resultset; import java.sql.sqlexception; import dk.au.hum.imv.persistence.db.jdbcconnectionfactory; import domain.user; public class UserMapper { public static void saveuser (User user) { bruger. /*Metode til at gemme en ny bruger eller rette oplysninger på en eksisterende * Hvis denne er i databasen er det en rettelse vi skal lave, altså UPDATE * Hvis den ikke er i databasen er det en ny indsættelse, altså INSERT INTO * */ String sql = ""; if (!user.isindatabase()) { //insert sql = "INSERT INTO user (username, password, name, address, phone, mail) " + "VALUES (?,?,?,?,?,?)"; else { //update sql = "UPDATE user SET username =?, password =?, name =?, address =?, phone =?, mail=?" + "WHERE id =?"; prep.setstring(1, user.getusername()); prep.setstring(2, user.getpassword()); prep.setstring(3, user.getname()); prep.setstring(4, user.getaddress()); prep.setstring(5, user.getphone()); prep.setstring(6, user.getmail()); if (user.isindatabase()) { prep.setlong(6, user.getdatabaseid()); prep.executeupdate(); catch (SQLException e) { finally {

3 //Metode til at hente alle brugere fra databasen public static ArrayList<User> getallusers() { ArrayList<User> result = new ArrayList<User>(); String sql = "SELECT * FROM user"; ResultSet res = prep.executequery(); while (res.next()) { User user = createuserfromresultset(res); result.add(user); catch (SQLException e) { finally { return result; //Metode til at finde en bruger ud fra hendes ID i databasen public static User getuserbyid(long objektid) { User result = null; String sql = "SELECT * FROM user WHERE id =?"; prep.setlong(1, objektid); ResultSet res = prep.executequery(); while (res.next()) { result = createuserfromresultset(res); catch (SQLException e) { finally { return result; //Metode til at oprette et user-objekt fra et sæt data fra db static User createuserfromresultset(resultset res) throws SQLException { User u = null; String username = res.getstring("user.username"); String name = res.getstring("user.name"); String address = res.getstring("user.address"); String phone = res.getstring("user.phone"); String password = res.getstring("user.password"); String mail = res.getstring("user.mail"); long id = res.getlong("user.id"); mail, id); u = new User(userName, name, address, phone, password, return u;

4 Test-klassen package Test; import java.util.arraylist; import mappers.usermapper; import dk.au.hum.imv.persistence.db.jdbcconnectionfactory; import domain.user; public class Test { public static void main(string[] args) { String url = "jdbc:mysql://student.hum.au.dk:3306/piaschoett"; String username = "piaschoett"; String password = "hj7hsboa"; String dbdriver = "com.mysql.jdbc.driver"; JDBCConnectionFactory.initManualConnectionHandling(url, username, password, dbdriver); User user1 = UserMapper.getUserById(1); System.out.println(user1); User pia = new User("piaschoett", "Pia Gregersen", "Silkeborgvej Horsens","xxx", " ", "piaschoett@gmail.com"); UserMapper.saveUser(pia); User user3 = UserMapper.getUserById(3); System.out.println(user3); ArrayList<User> allusers = UserMapper.getAllUsers(); System.out.println(allUsers);

5

Tutorial for Spring DAO with JDBC

Tutorial for Spring DAO with JDBC Overview Tutorial for Spring DAO with JDBC Prepared by: Nigusse Duguma This tutorial demonstrates how to work with data access objects in the spring framework. It implements the Spring Data Access Object

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

Intruduction to Groovy & Grails programming languages beyond Java

Intruduction to Groovy & Grails programming languages beyond Java Intruduction to Groovy & Grails programming languages beyond Java 1 Groovy, what is it? Groovy is a relatively new agile dynamic language for the Java platform exists since 2004 belongs to the family of

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

Supplement IV.C: Tutorial for Oracle. For Introduction to Java Programming By Y. Daniel Liang

Supplement IV.C: Tutorial for Oracle. For Introduction to Java Programming By Y. Daniel Liang Supplement IV.C: Tutorial for Oracle For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Connecting and Using Oracle Creating User Accounts Accessing Oracle

More information

Using JML to protect Java code against SQL injection. Johan Janssen 0213888 jjanssen@sci.ru.nl June 26, 2007

Using JML to protect Java code against SQL injection. Johan Janssen 0213888 jjanssen@sci.ru.nl June 26, 2007 Using JML to protect Java code against SQL injection Johan Janssen 0213888 jjanssen@sci.ru.nl June 26, 2007 1 Abstract There are a lot of potential solutions against SQL injection. The problem is that

More information

JDBC. It is connected by the Native Module of dependent form of h/w like.dll or.so. ex) OCI driver for local connection to Oracle

JDBC. It is connected by the Native Module of dependent form of h/w like.dll or.so. ex) OCI driver for local connection to Oracle JDBC 4 types of JDBC drivers Type 1 : JDBC-ODBC bridge It is used for local connection. ex) 32bit ODBC in windows Type 2 : Native API connection driver It is connected by the Native Module of dependent

More information

Comparing the Effectiveness of Penetration Testing and Static Code Analysis

Comparing the Effectiveness of Penetration Testing and Static Code Analysis Comparing the Effectiveness of Penetration Testing and Static Code Analysis Detection of SQL Injection Vulnerabilities in Web Services PRDC 2009 Nuno Antunes, nmsa@dei.uc.pt, mvieira@dei.uc.pt University

More information

Supplement IV.D: Tutorial for MS Access. For Introduction to Java Programming By Y. Daniel Liang

Supplement IV.D: Tutorial for MS Access. For Introduction to Java Programming By Y. Daniel Liang Supplement IV.D: Tutorial for MS Access For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Creating Databases and Executing SQL Creating ODBC Data Source

More information

TESTDATABASE. Deviations and Reporting

TESTDATABASE. Deviations and Reporting TESTDATABASE Deviations and Reporting FORORD I denne samlingen er det skripter som ble brukt for å opprette tabeller i test-database og fylle dem med fiktive data. Siden vi ikke fikk tilgang til CEMAsys

More information

INF 212 ANALYSIS OF PROG. LANGS ADVERSITY. Instructors: Crista Lopes Copyright Instructors.

INF 212 ANALYSIS OF PROG. LANGS ADVERSITY. Instructors: Crista Lopes Copyright Instructors. INF 212 ANALYSIS OF PROG. LANGS ADVERSITY Instructors: Crista Lopes Copyright Instructors. random quotes. just because We have forty million reasons for failure, but not a single excuse. It's fine to celebrate

More information

Introduktion til distribuerede systemer uge 37 - fil og webserver

Introduktion til distribuerede systemer uge 37 - fil og webserver Introduktion til distribuerede systemer uge 37 - fil og webserver Rune Højsgaard 090678 1. delsstuderende 13. september 2005 1 Kort beskrivelse Implementationen af filserver og webserver virker, men håndterer

More information

Evaluation. Copy. Evaluation Copy. Chapter 7: Using JDBC with Spring. 1) A Simpler Approach... 7-2. 2) The JdbcTemplate. Class...

Evaluation. Copy. Evaluation Copy. Chapter 7: Using JDBC with Spring. 1) A Simpler Approach... 7-2. 2) The JdbcTemplate. Class... Chapter 7: Using JDBC with Spring 1) A Simpler Approach... 7-2 2) The JdbcTemplate Class... 7-3 3) Exception Translation... 7-7 4) Updating with the JdbcTemplate... 7-9 5) Queries Using the JdbcTemplate...

More information

The JAVA Way: JDBC and SQLJ

The JAVA Way: JDBC and SQLJ The JAVA Way: JDBC and SQLJ David Toman School of Computer Science University of Waterloo Introduction to Databases CS348 David Toman (University of Waterloo) JDBC/SQLJ 1 / 21 The JAVA way to Access RDBMS

More information

Using Netbeans and the Derby Database for Projects Contents

Using Netbeans and the Derby Database for Projects Contents Using Netbeans and the Derby Database for Projects Contents 1. Prerequisites 2. Creating a Derby Database in Netbeans a. Accessing services b. Creating a database c. Making a connection d. Creating tables

More information

SINGLE SIGNON FUNCTIONALITY IN HATS USING MICROSOFT SHAREPOINT PORTAL

SINGLE SIGNON FUNCTIONALITY IN HATS USING MICROSOFT SHAREPOINT PORTAL SINGLE SIGNON FUNCTIONALITY IN HATS USING MICROSOFT SHAREPOINT PORTAL SINGLE SIGNON: Single Signon feature allows users to authenticate themselves once with their credentials i.e. Usernames and Passwords

More information

C:\Documents and Settings\Gijs\Desktop\src\client\Client.java dinsdag 3 november 2009 10:50

C:\Documents and Settings\Gijs\Desktop\src\client\Client.java dinsdag 3 november 2009 10:50 C:\Documents and Settings\Gijs\Desktop\src\client\Client.java dinsdag 3 november 2009 10:50 package client; import hotel.bookingconstraints; import hotel.bookingexception; import hotel.costumersessionremote;

More information

Database Access from a Programming Language: Database Access from a Programming Language

Database Access from a Programming Language: Database Access from a Programming Language Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding

More information

Database Access from a Programming Language:

Database Access from a Programming Language: Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding

More information

Welcome to the AITP NCC 2000 Java Competition in Tampa, Florida.

Welcome to the AITP NCC 2000 Java Competition in Tampa, Florida. Welcome to the AITP NCC 2000 Java Competition in Tampa, Florida. Context: Big Tex s Taste of Texas is a purveyor of fine Texican food throughout the United States. Recently, he has been getting orders

More information

Oracle Application Express

Oracle Application Express Oracle Application Express Eftermiddagsmøde Oracle/APEX Konsulent Oracle/APEX Konsulent Startede som Oracle udvikler i 1988 (RDBMS Version 5) Startede MBNDATA i 1996 APEX specialisering siden 1997 Agenda

More information

Java and Databases. COMP514 Distributed Information Systems. Java Database Connectivity. Standards and utilities. Java and Databases

Java and Databases. COMP514 Distributed Information Systems. Java Database Connectivity. Standards and utilities. Java and Databases Java and Databases COMP514 Distributed Information Systems Java Database Connectivity One of the problems in writing Java, C, C++,, applications is that the programming languages cannot provide persistence

More information

Security Module: SQL Injection

Security Module: SQL Injection Security Module: SQL Injection Description SQL injection is a security issue that involves inserting malicious code into requests made to a database. The security vulnerability occurs when user provided

More information

CS346: Database Programming. http://warwick.ac.uk/cs346

CS346: Database Programming. http://warwick.ac.uk/cs346 CS346: Database Programming http://warwick.ac.uk/cs346 1 Database programming Issue: inclusionofdatabasestatementsinaprogram combination host language (general-purpose programming language, e.g. Java)

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

Detecting SQL Injection Vulnerabilities in Web Services

Detecting SQL Injection Vulnerabilities in Web Services Detecting SQL Injection Vulnerabilities in Web Services Nuno Antunes, {nmsa, mvieira}@dei.uc.pt LADC 2009 CISUC Department of Informatics Engineering University of Coimbra Outline n Web Services n Web

More information

Web Service Caching Using Command Cache

Web Service Caching Using Command Cache Web Service Caching Using Command Cache Introduction Caching can be done at Server Side or Client Side. This article focuses on server side caching of web services using command cache. This article will

More information

CC68J APLICACIONES EMPRESARIALES CON JEE JSF. Profesores: Andrés Farías

CC68J APLICACIONES EMPRESARIALES CON JEE JSF. Profesores: Andrés Farías CC68J APLICACIONES EMPRESARIALES CON JEE JSF Profesores: Andrés Farías Objetivos: aprender a REVISITANDO EL PATRÓN MVC INTRODUCCIÓN A JSF Java Server Faces Introducción

More information

Using Web Security Scanners to Detect Vulnerabilities in Web Services

Using Web Security Scanners to Detect Vulnerabilities in Web Services DSN 2009 Using Web Security Scanners to Detect Vulnerabilities in Web Services Marco Vieira,, Henrique Madeira {mvieira, nmsa, henrique}@dei.uc.pt CISUC Department of Informatics Engineering University

More information

Inheritance, overloading and overriding

Inheritance, overloading and overriding Inheritance, overloading and overriding Recall with inheritance the behavior and data associated with the child classes are always an extension of the behavior and data associated with the parent class

More information

CS/CE 2336 Computer Science II

CS/CE 2336 Computer Science II CS/CE 2336 Computer Science II UT D Session 23 Database Programming with Java Adapted from D. Liang s Introduction to Java Programming, 8 th Ed. and other sources 2 Database Recap Application Users Application

More information

Spring Data JDBC Extensions Reference Documentation

Spring Data JDBC Extensions Reference Documentation Reference Documentation ThomasRisberg Copyright 2008-2015The original authors Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee

More information

LSINF1124 Projet de programmation

LSINF1124 Projet de programmation LSINF1124 Projet de programmation Database Programming with Java TM Sébastien Combéfis University of Louvain (UCLouvain) Louvain School of Engineering (EPL) March 1, 2011 Introduction A database is a collection

More information

Kogebogs HelloWorld øvelser i.net Remoting

Kogebogs HelloWorld øvelser i.net Remoting Kogebogs HelloWorld øvelser i.net Remoting Denne øvelse viser hvordan en simpel.net Remoting client / server applikation kan konstrueres. Der arbejdes med et simpelt, men klassisk, HelleWorld program,

More information

2009 Tutorial (DB4O and Visual Studio 2008 Express)

2009 Tutorial (DB4O and Visual Studio 2008 Express) Jákup Wenningstedt Hansen Side 1 12-10-2009 2009 Tutorial (DB4O and Visual Studio 2008 Express)...1 Download the Database...1 Installation of the Database...2 Creating the project in VS...3 Pointing VS

More information

ASP.NET Programming with C# and SQL Server

ASP.NET Programming with C# and SQL Server ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET Objectives In this chapter, you will: Connect to SQL Server from ASP.NET Learn how to handle

More information

What is ODBC? Database Connectivity ODBC, JDBC and SQLJ. ODBC Architecture. More on ODBC. JDBC vs ODBC. What is JDBC?

What is ODBC? Database Connectivity ODBC, JDBC and SQLJ. ODBC Architecture. More on ODBC. JDBC vs ODBC. What is JDBC? What is ODBC? Database Connectivity ODBC, JDBC and SQLJ CS2312 ODBC is (Open Database Connectivity): A standard or open application programming interface (API) for accessing a database. SQL Access Group,

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

Developing an EJB3 Application. on WebSphere 6.1. using RAD 7.5

Developing an EJB3 Application. on WebSphere 6.1. using RAD 7.5 Developing an EJB3 Application on WebSphere 6.1 using RAD 7.5 Introduction This tutorial introduces how to create a simple EJB 3 application using Rational Application Developver 7.5( RAD7.5 for short

More information

ResellerPlus - Bulk Http API Specification. (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System)

ResellerPlus - Bulk Http API Specification. (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System) RouteSms ResellerPlus - Bulk Http API Specification (Document Version 1.0.0) (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System) 1 P a g e HTTP API

More information

Presentation. Morten Hvenegaard Project Sales

Presentation. Morten Hvenegaard Project Sales Presentation One sensor in each luminaire - efficient lighting control 25 % savings on seamless daylight adjustment. One sensor in each luminaire - efficient lighting control 25 % savings on seamless daylight

More information

InTime API - Exempel kod

InTime API - Exempel kod InTime API - Exempel kod Exempel kod för att anropa Intime HTTP API. Översikt funktioner C# Meddelanden PHP Meddelanden 1 C# - Meddelanden En generell klass för att anropa Intime API som används i samtliga

More information

2. Installieren des MySQL Workbench (Version 5.2.43) 3. Unter Database > Manage Connection folgende Werte eintragen

2. Installieren des MySQL Workbench (Version 5.2.43) 3. Unter Database > Manage Connection folgende Werte eintragen 1. Setup 1. Mit dieser Anleitung (http://www.unimarburg.de/fb12/sys/services/svc_more_html#svc_sql) eine Datenbank einrichten. 2. Installieren des MySQL Workbench (Version 5.2.43) 3. Unter Database > Manage

More information

Overview of Web Services API

Overview of Web Services API 1 CHAPTER The Cisco IP Interoperability and Collaboration System (IPICS) 4.5(x) application programming interface (API) provides a web services-based API that enables the management and control of various

More information

SQL and Java. Database Systems Lecture 19 Natasha Alechina

SQL and Java. Database Systems Lecture 19 Natasha Alechina Database Systems Lecture 19 Natasha Alechina In this Lecture SQL in Java SQL from within other Languages SQL, Java, and JDBC For More Information Sun Java tutorial: http://java.sun.com/docs/books/tutorial/jdbc

More information

How To Understand The Purpose Of A Class Diagram In Java.Io 2.5.2.2 (Java)

How To Understand The Purpose Of A Class Diagram In Java.Io 2.5.2.2 (Java) Software Engineering I (02161) Week 3: Class diagrams part 1 Hubert Baumeister Informatics and Mathematical Modelling Technical University of Denmark Spring 2009 c 2009 H. Baumeister (IMM) Software Engineering

More information

How To Understand The Architecture Of Java 2Ee, J2Ee, And J2E (Java) In A Wordpress Blog Post

How To Understand The Architecture Of Java 2Ee, J2Ee, And J2E (Java) In A Wordpress Blog Post Understanding Architecture and Framework of J2EE using Web Application Devadrita Dey Sarkar,Anavi jaiswal, Ankur Saxena Amity University,UTTAR PRADESH Sector-125, Noida, UP-201303, India Abstract: This

More information

Apéndice C: Código Fuente del Programa DBConnection.java

Apéndice C: Código Fuente del Programa DBConnection.java Apéndice C: Código Fuente del Programa DBConnection.java import java.sql.*; import java.io.*; import java.*; import java.util.*; import java.net.*; public class DBConnection Connection pgsqlconn = null;

More information

Services. Relational. Databases & JDBC. Today. Relational. Databases SQL JDBC. Next Time. Services. Relational. Databases & JDBC. Today.

Services. Relational. Databases & JDBC. Today. Relational. Databases SQL JDBC. Next Time. Services. Relational. Databases & JDBC. Today. & & 1 & 2 Lecture #7 2008 3 Terminology Structure & & Database server software referred to as Database Management Systems (DBMS) Database schemas describe database structure Data ordered in tables, rows

More information

Registration at www.nav.no English translation

Registration at www.nav.no English translation Registration at www.nav.no English translation Registrer deg - Please register (You can find information about e.g. job seeking in different languages by choosing other languages and then English on this

More information

Security API Cookbook

Security API Cookbook Sitecore CMS 6 Security API Cookbook Rev: 2010-08-12 Sitecore CMS 6 Security API Cookbook A Conceptual Overview for CMS Developers Table of Contents Chapter 1 Introduction... 3 Chapter 2 User, Domain,

More information

CAMP LOGOS administrated by Boligselskabet Sct. Jørgen (housing agency)

CAMP LOGOS administrated by Boligselskabet Sct. Jørgen (housing agency) CAMP LOGOS administrated by Boligselskabet Sct. Jørgen (housing agency) Camp Logos the buildings Camp Logos is the dorm across the street from The Animation Workshop. There are 4 buildings side by side

More information

JDBC (Java / SQL Programming) CS 377: Database Systems

JDBC (Java / SQL Programming) CS 377: Database Systems JDBC (Java / SQL Programming) CS 377: Database Systems JDBC Acronym for Java Database Connection Provides capability to access a database server through a set of library functions Set of library functions

More information

Join af tabeller med SAS skal det være hurtigt?

Join af tabeller med SAS skal det være hurtigt? Join af tabeller med SAS skal det være hurtigt? Henrik Dorf, chefkonsulent, PS Commercial Join af tabeller Skal det være hurtigt kræver det Valgmuligheder Viden Eksperimenter Historien En af de første

More information

1. Seam Mail Introduction 2. Configuration 3. Core Usage 4. Templating 5. Advanced Features

1. Seam Mail Introduction 2. Configuration 3. Core Usage 4. Templating 5. Advanced Features Seam Mail 1. Seam Mail Introduction... 1 1.1. Getting Started... 1 2. Configuration... 3 2.1. Minimal Configuration... 3 3. Core Usage... 5 3.1. Intro... 5 3.2. Contacts... 5 3.2.1. String Based... 5

More information

Brekeke PBX Web Service

Brekeke PBX Web Service Brekeke PBX Web Service User Guide Brekeke Software, Inc. Version Brekeke PBX Web Service User Guide Revised October 16, 2006 Copyright This document is copyrighted by Brekeke Software, Inc. Copyright

More information

How to join a waiting list at Findbolig.nu (including student housing)

How to join a waiting list at Findbolig.nu (including student housing) How to join a waiting list at Findbolig.nu (including student housing) 1 How to join a waiting list This guide shows you how to join a waiting list for a home or student housing. Preconditions The guide

More information

Custom SIS Integration Type Development. Jim Riecken (jim.riecken@blackboard.com) Blackboard Learn Product Development

Custom SIS Integration Type Development. Jim Riecken (jim.riecken@blackboard.com) Blackboard Learn Product Development Custom SIS Integration Type Development Jim Riecken (jim.riecken@blackboard.com) Blackboard Learn Product Development Outline What is the Student Information System (SIS) Integration framework? How does

More information

TECH TUTORIAL: EMBEDDING ANALYTICS INTO A DATABASE USING SOURCEPRO AND JMSL

TECH TUTORIAL: EMBEDDING ANALYTICS INTO A DATABASE USING SOURCEPRO AND JMSL TECH TUTORIAL: EMBEDDING ANALYTICS INTO A DATABASE USING SOURCEPRO AND JMSL This white paper describes how to implement embedded analytics within a database using SourcePro and the JMSL Numerical Library,

More information

Programmazione web libera dai framework

Programmazione web libera dai framework Programmazione web libera dai framework Matteo Vaccari matteo.vaccari@xpeppers.com (cc) Alcuni diritti riservati 1 Chi son io? Ho sviluppato applicazioni web in PHP, Java, Ruby (on Rails) In particolare

More information

How To Boot A Cisco Ip Phone From A Cnet Vlan To A Vlan On A Cpower Box On A Ip Phone On A Network With A Network Vlan (Cisco) On A Powerline (Ip Phone) On An

How To Boot A Cisco Ip Phone From A Cnet Vlan To A Vlan On A Cpower Box On A Ip Phone On A Network With A Network Vlan (Cisco) On A Powerline (Ip Phone) On An IP Telefoni DHCP Options VLANs Understanding the Cisco IP Phone Boot Process The Cisco IP Phone connects to an Ethernet switchport. If the IP phone and switch support PoE, the IP phone receives power through

More information

SPDE. Lagring af større datamængder. make connections share ideas be inspired. Henrik Dorf Chefkonsulent SAS Institute A/S

SPDE. Lagring af større datamængder. make connections share ideas be inspired. Henrik Dorf Chefkonsulent SAS Institute A/S make connections share ideas be inspired SPDE Lagring af større datamængder Henrik Dorf Chefkonsulent SAS Institute A/S SPDE Scalable Performance Data Engine I/O delen af SPDServer software Følger med

More information

www.cotiinformatica.com.br

www.cotiinformatica.com.br de WebService... Estrutura do projeto... LIBS: asm-3.1.jar commons-codec-1.6.jar commons-logging-1.1.1.jar fluent-hc-4.2.5.jar gson-2.2.4.jar httpclient-4.2.5.jar httpclient-cache-4.2.5.jar httpcore-4.2.4.jar

More information

Kvalifisering av ny teknologi

Kvalifisering av ny teknologi Kvalifisering av ny teknologi Siemens AS 26.05.2011 Siemens Oil & Gas solutions - Offshore 2010. All rights reserved. De tre viktigste tingene subsea: Pålitelighet Pålitelighet Pålitelighet Hvorfor kvalifisering?

More information

Using ilove SharePoint Web Services Workflow Action

Using ilove SharePoint Web Services Workflow Action Using ilove SharePoint Web Services Workflow Action This guide describes the steps to create a workflow that will add some information to Contacts in CRM. As an example, we will use demonstration site

More information

HBase Key Design. 2012 coreservlets.com and Dima May. 2012 coreservlets.com and Dima May

HBase Key Design. 2012 coreservlets.com and Dima May. 2012 coreservlets.com and Dima May 2012 coreservlets.com and Dima May HBase Key Design Originals of slides and source code for examples: http://www.coreservlets.com/hadoop-tutorial/ Also see the customized Hadoop training courses (onsite

More information

Domain Specific Languages for Selenium tests

Domain Specific Languages for Selenium tests Domain Specific Languages for Selenium tests Emily Bache, jfokus 2010 What is selenium? Selenium is a suite of tools to automate web application testing Includes Selenium RC (Remote Control) & Selenium

More information

Password-based authentication

Password-based authentication Lecture topics Authentication and authorization for EJBs Password-based authentication The most popular authentication technology Storing passwords is a problem On the server machines Could encrypt them,

More information

1) Testing of general knowledge 25%. Each right question counts 1. Each wrong counts 0.5. Empty

1) Testing of general knowledge 25%. Each right question counts 1. Each wrong counts 0.5. Empty 1 Exam 2 The exam consists of four parts: 1) Testing of general knowledge 25%. Each right question counts 1. Each wrong counts 0.5. Empty counts zero. See below note about Task 1. 2) Planning 20%. All

More information

Why Is This Important? Database Application Development. SQL in Application Code. Overview. SQL in Application Code (Contd.

Why Is This Important? Database Application Development. SQL in Application Code. Overview. SQL in Application Code (Contd. Why Is This Important? Database Application Development Chapter 6 So far, accessed DBMS directly through client tools Great for interactive use How can we access the DBMS from a program? Need an interface

More information

Simplify Your Web App Development Using the Spring MVC Framework

Simplify Your Web App Development Using the Spring MVC Framework 1 of 10 24/8/2008 23:07 http://www.devx.com Printed from http://www.devx.com/java/article/22134/1954 Simplify Your Web App Development Using the Spring MVC Framework Struts is in fairly widespread use

More information

GENERIC INSTRUCTIONS FOR THE USE OF arkivalieronline.dk

GENERIC INSTRUCTIONS FOR THE USE OF arkivalieronline.dk Computer Specification Requirements: GENERIC INSTRUCTIONS FOR THE USE OF arkivalieronline.dk Windows XP with Service pack 2 (both available from Microsoft) or a more recent OP System JAVA (this is required

More information

MS Enterprise Library 5.0 (Logging Application Block)

MS Enterprise Library 5.0 (Logging Application Block) International Journal of Scientific and Research Publications, Volume 4, Issue 8, August 2014 1 MS Enterprise Library 5.0 (Logging Application Block) Anubhav Tiwari * R&D Dept., Syscom Corporation Ltd.

More information

Application Development with TCP/IP. Brian S. Mitchell Drexel University

Application Development with TCP/IP. Brian S. Mitchell Drexel University Application Development with TCP/IP Brian S. Mitchell Drexel University Agenda TCP/IP Application Development Environment Client/Server Computing with TCP/IP Sockets Port Numbers The TCP/IP Application

More information

Java and RDBMS. Married with issues. Database constraints

Java and RDBMS. Married with issues. Database constraints Java and RDBMS Married with issues Database constraints Speaker Jeroen van Schagen Situation Java Application store retrieve JDBC Relational Database JDBC Java Database Connectivity Data Access API ( java.sql,

More information

Interface Programmera mot interface Johan Eliasson Johan Eliasson Interface kan bryta beroendekedjor Skriv generell kod «Type» Class2 Interface

Interface Programmera mot interface Johan Eliasson Johan Eliasson Interface kan bryta beroendekedjor Skriv generell kod «Type» Class2 Interface Interface Snabba att implementera Programmera mot interface Bryter beroenden Gör det enklare att samarbeta Gör det enkelt att i ett senare skede byta ut implementationer mot effektivare Interface kan bryta

More information

Email API Document. 2012 Webaroo Technology India Pvt. Ltd.

Email API Document. 2012 Webaroo Technology India Pvt. Ltd. Email API Document 2012 Webaroo Technology India Pvt. Ltd. All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying,

More information

Implementing a Web Service Client using Java

Implementing a Web Service Client using Java Implementing a Web Service Client using Java Requirements This guide is based on implementing a Java Client using JAX-WS that comes with Java Web Services Developer Pack version 2.0 (JWSDP). This can be

More information

MapBasic & spatiale databaser

MapBasic & spatiale databaser MapBasic & spatiale databaser Peter Horsbøll Møller Systems Engineer Marts 2012 DBMS Sample [CONNECTIONS] NUM_CONNECTIONS=4 [CONNECTION_1] DESCRIPTION=DSN using FileDSN CONNECTIONTYPE=FILEDSN FILEDSN=SQL2008.DSN

More information

Robustness and Security Testing in SOA

Robustness and Security Testing in SOA Outline n The SOA trend Robustness and Security Testing in SOA Challenges & Opportunities n Robustness and security testing in Web Services n Are Web Services robust and/or secure? n Is it done? No, there

More information

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science First Java Programs V. Paúl Pauca Department of Computer Science Wake Forest University CSC 111D Fall, 2015 Hello World revisited / 8/23/15 The f i r s t o b l i g a t o r y Java program @author Paul Pauca

More information

Computer Security - Tutorial Sheet 3: Network & Programming Security

Computer Security - Tutorial Sheet 3: Network & Programming Security Computer Security - Tutorial Sheet 3: Network & Programming Security School of Informatics 27th February 2014 This is the third problem sheet for the Computer Security course, covering topics in network

More information

Panorama Necto. Load Balancing Installation Guide. (12.5 and above)

Panorama Necto. Load Balancing Installation Guide. (12.5 and above) Panorama Necto Load Balancing Installation Guide (12.5 and above) Table of Contents Panorama Necto Load Balancing Guide (12.5 and above)... 1 Table of Contents... 2 Background and Load Balancing Using

More information

Capario B2B EDI Transaction Connection. Technical Specification for B2B Clients

Capario B2B EDI Transaction Connection. Technical Specification for B2B Clients Capario B2B EDI Transaction Connection Technical Specification for B2B Clients Revision History Date Version Description Author 02/03/2006 Draft Explanation for external B2B clients on how to develop a

More information

Looking for a job in Denmark?

Looking for a job in Denmark? Looking for a job in Denmark? Upload your CV to www.jobnet.dk. Www.jobnet.dk is the Job Centre s nationwide website for jobseekers and employers in Denmark. Jobnet enables you to search for a job among

More information

Microsoft Business Intelligence 2012 Single Server Install Guide

Microsoft Business Intelligence 2012 Single Server Install Guide Microsoft Business Intelligence 2012 Single Server Install Guide Howard Morgenstern Business Intelligence Expert Microsoft Canada 1 Table of Contents Microsoft Business Intelligence 2012 Single Server

More information

WEB SERVICES TECHNICAL GUIDE FOR DEVELOPERS

WEB SERVICES TECHNICAL GUIDE FOR DEVELOPERS WEB SERVICES TECHNICAL GUIDE FOR DEVELOPERS 1. Introduction This Technical Manual considers a development project that need to integrate with the Web Services Central Bank of Chile provides, to obtain

More information

How to Get Set Up for the 2014 BE-180 and Request an Extension if Needed

How to Get Set Up for the 2014 BE-180 and Request an Extension if Needed How to Get Set Up for the 2014 BE-180 and Request an Extension if Needed For instructions on how to get set up for the 2014 BE-180 and to request an extension if one is needed, click on one of the links

More information

Brekeke PBX Version 3 Web Service Developer s Guide Brekeke Software, Inc.

Brekeke PBX Version 3 Web Service Developer s Guide Brekeke Software, Inc. Brekeke PBX Version 3 Web Service Developer s Guide Brekeke Software, Inc. Version Brekeke PBX Version 3 Web Service Developer s Guide Revised August 2013 Copyright This document is copyrighted by Brekeke

More information

Preet raj Core Java and Databases CS4PR. Time Allotted: 3 Hours. Final Exam: Total Possible Points 75

Preet raj Core Java and Databases CS4PR. Time Allotted: 3 Hours. Final Exam: Total Possible Points 75 Preet raj Core Java and Databases CS4PR Time Allotted: 3 Hours Final Exam: Total Possible Points 75 Q1. What is difference between overloading and overriding? 10 points a) In overloading, there is a relationship

More information

DHBW Karlsruhe, Vorlesung Programmieren, Remote Musterlösungen

DHBW Karlsruhe, Vorlesung Programmieren, Remote Musterlösungen DHBW Karlsruhe, Vorlesung Programmieren, Remote Musterlösungen Aufgabe 1 RMI - TimeService public interface TimeServerInterface extends Remote { public String gettime() throws RemoteException; import java.util.date;

More information

Lasse Svane Ryby, Windows Commercial PMM lasry@microsoft.com Microsoft Danmark. #windows10 #ninjacat

Lasse Svane Ryby, Windows Commercial PMM lasry@microsoft.com Microsoft Danmark. #windows10 #ninjacat Lasse Svane Ryby, Windows Commercial PMM lasry@microsoft.com Microsoft Danmark #windows10 #ninjacat Skal du hente det? Det opfordrer vi klart til. Det er en stor opgradering for både Windows 7 og 8-brugere

More information

VHDL programmering H2

VHDL programmering H2 VHDL programmering H2 VHDL (Very high speed Integrated circuits) Hardware Description Language IEEE standard 1076-1993 Den benytter vi!! Hvornår blev den frigivet som standard første gang?? Ca. 1980!!

More information

Questionnaire #1: The Patient (Spørgeskema, må gerne besvares på dansk)

Questionnaire #1: The Patient (Spørgeskema, må gerne besvares på dansk) Table of Contents Questionnaire #1: The Patient... 2 Questionnaire #2: The Medical Staff... 4 Questionnaire #3: The Visitors... 6 Questionnaire #4: The Non-Medical Staff... 7 Page1 Questionnaire #1: The

More information

CHAPTER 5 INTELLIGENT TECHNIQUES TO PREVENT SQL INJECTION ATTACKS

CHAPTER 5 INTELLIGENT TECHNIQUES TO PREVENT SQL INJECTION ATTACKS 66 CHAPTER 5 INTELLIGENT TECHNIQUES TO PREVENT SQL INJECTION ATTACKS 5.1 INTRODUCTION In this research work, two new techniques have been proposed for addressing the problem of SQL injection attacks, one

More information

Consuming a Web Service(SOAP and RESTful) in Java. Cheat Sheet For Consuming Services in Java

Consuming a Web Service(SOAP and RESTful) in Java. Cheat Sheet For Consuming Services in Java Consuming a Web Service(SOAP and RESTful) in Java Cheat Sheet For Consuming Services in Java This document will provide a user the capability to create an application to consume a sample web service (Both

More information

Web Development with Java EE JavaBeans and JDBC

Web Development with Java EE JavaBeans and JDBC Applied Autonomous Sensor Systems Web Development with Java EE JavaBeans and JDBC AASS Mobile Robotics Lab, Teknik Room T2222 fpa@aass.oru.se Contents 1. Introduction 2. JavaBeans Basics, JSP Integration

More information

Kotlin for Android Developers

Kotlin for Android Developers Kotlin for Android Developers Learn Kotlin in an easy way while developing an Android App Antonio Leiva This book is for sale at http://leanpub.com/kotlin-for-android-developers This version was published

More information

EASRestoreService. Manual

EASRestoreService. Manual Manual Introduction EAS is a powerful Archiving Solution for Microsoft Exchange, Lotus Notes, Sharepoint and Windows based File systems. As one of the Top 5 Enterprise Archiving Solutions worldwide is

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