Communication Software Exam 5º Ingeniero de Telecomunicación January 26th Name:
|
|
- Beatrice Lee
- 6 years ago
- Views:
Transcription
1 Duration: Marks: 2.5 hours (+ half an hour for those students sitting part III) 8 points (+ 1 point for part III, for those students sitting this part) Part II: problems Duration: 2 hours Marks: 4 points Answer two of the following three questions, each question on a separate sheet of paper. The use of books or notes is not permitted. Question 1 (2 points) (a) (1,25 points) A shop database contains the following tables: Products Product_code Supplier_ref Units_per_pack Product_info Order_details Order_date Order_ref Product_code Quantity Orders Order_ref Supplier_ref Amount Payment_method Stock Stock_ref Product_code Quantity Storage_location Suppliers Supplier_ref Name Address Tel Fax Web Sales Product_code Price Year Week Units_sold where each product is obtained from one and only one supplier and the Amount of an order is the sum of the price of all the products of that order. You may assume the existence of the functions currentdate(), currentweek() and currentyear(), that return the current date, the current week and the current year, respectively, in the required format. Now Provide SQL sentences that implement the following instructions:
2 (i) (1 point) We wish to order exactly 1 pack of each product that is out of stock (i.e. STOCK.Quantity = 0) in the warehouse (Storage_location = 'warehouse'); provide the commands to modify the database accordingly. You may assume that: 1. no more than one order can be placed with a given supplier each day so that each new Order_ref can be constructed by concatenating the current date to the end of the corresponding Supplier_ref (the SQL concatenation operator is written ), 1. the value of Payment_method for all Orders is the string 'CASH', 2. all the products to be ordered have a (non-zero) price in Euros which can change weekly (the current price can be obtained from the Sales table), 3. the default value for the Order_date column is the result of executing the function currentdate(). Hints: 1. You will need to create new rows, first in Order_details, then in Orders; do not worry about the transactional aspects of the two commands used to do so. 2. There is a variant of the command to create new rows in which, instead of simply providing the values for the new row, you provide an SQL query (in parentheses) which, when executed, returns the values for one or more new rows. 3. In the command to create new rows, if not all the columns are explicitly assigned values then when the command is executed, the remaining columns will be assigned default values (null, if the schema specifies no default value for the column). A column specification a comma-separated list of column names in square brackets placed immediately before the row values (or before the query that returns the values for one or more rows, see previous hint) can be used to avoid ambiguity with regard to which of the columns are explicitly being given values. 4. The elements of a select list (i.e. the comma-separated list following the SELECT keyword) can be SQL value expressions (i.e. they do not have to be column names). (ii) (0.15 points) An article whose Product_code is is sold; provide the command to modify the Sales table of the database accordingly. (iii) (0.1 points) Delete from the Sales table all the entries from 2005 whose price was less than 10 Euros. (b) (0,75 points) Figure 1 contains a UML diagram representing the domain model of a Spanish university department. Study the model and then answer the following questions: (i) (0.25 points) What type of UML diagram is this and to what diagram category does it belong? What does the box labelled Empleado represent? What does the text contained in this box represent? What other information could have been provided in the boxes? (ii) (0.25 points) What is the meaning of the line labelled Es autor connecting the boxes labelled Publicación and Empleado? What is the meaning of the text autores_locales placed at the Empleado-extremity of this line (i.e. where this line meets the box labelled Empleado)? What is the meaning of the annotation * that appears at the Publicación-extremity and of the annotation 1..* that appears at the Empleadoextremity of this line? What is the meaning of the absence of such an annotation at an extremity of a line connecting two boxes of the diagram (e.g. the Empleado-extremity of the line labelled Es responsable connecting Publicación and Empleado)? (iii) (0.25 points) What is the meaning of the line connecting the boxes labelled Grupo_Investigación and Línea_Investigación (don't forget to take into account the diamond shape and to explain what it means in practical terms)? What is the meaning of the lines connecting the box labelled Empleado_Universidad and the boxes labelled PDI and PAS?
3 Question 2 (2 points) Study the following code conforming to the EJB3 specification (due to Bill Burke and Richard Monson-Haefel) and then answer the questions appearing below it. In file TravelAgentRemote.java: package com.titan.travelagent; import com.titan.processpayment.creditcarddo; import javax.ejb.remote; import public interface TravelAgentRemote { public Customer findorcreatecustomer(string first, String last); public void updateaddress(address addr); public void setcruiseid(int cruise); public void setcabinid(int cabin); public TicketDO bookpassage(creditcarddo card, double price) throws IncompleteConversationalState; In file TravelAgentBean.java: package com.titan.travelagent; import com.titan.processpayment.*; import com.titan.domain.*; import javax.ejb.*; import javax.persistence.*; import javax.annotation.ejb; import public class TravelAgentBean implements TravelAgentRemote private EntityManager private ProcessPaymentLocal processpayment; private Customer customer; private Cruise cruise; private Cabin cabin; public Customer findorcreatecustomer(string first, String last) { try { Query q = entitymanager.createquery( "from Customer c where c.firstname = :first" + " and c.lastname = :last"); q.setparameter("first", first); q.setparameter("last", last); this.customer = (Customer) q.getsingleresult(); catch (NoResultException notfound) { this.customer = new Customer(); this.customer.setfirstname(first); this.customer.setlastname(last); entitymanager.persist(this.customer); return this.customer;
4 public void updateaddress(address addr) { this.customer.setaddress(addr); this.customer = entitymanager.merge(customer); public void setcabinid(int cabinid) { this.cabin = entitymanager.find(cabin.class, cabinid) ; if (cabin == null) throw new NoResultException("Cabin not found"); public void setcruiseid(int cruiseid) { this.cruise = entitymanager.find(cruise.class, cruiseid); if (cruise == null) throw new NoResultException("Cruise not public TicketDO bookpassage(creditcarddo card, double price) throws IncompleteConversationalState { if (customer == null cruise == null cabin == null) { throw new IncompleteConversationalState(); try { Reservation reservation = new Reservation( customer, cruise, cabin, price, new Date()); entitymanager.persist(reservation); processpayment.bycredit(customer, card, price); TicketDO ticket = new TicketDO(customer, cruise, cabin, price); return ticket; catch(exception e) { throw new EJBException(e); In file Customer.java: package com.titan.domain; public class Customer implements java.io.serializable { private long id; private String firstname; private nullable=false, columndefinition="integer") public long getid() { return id; public void setid(long id) { this.id = length=20, nullable=false) public String getfirstname() { return firstname; public void setfirstname(string firstname) { this.firstname = firstname; public String getlastname() { return lastname; public void setlastname(string lastname) { this.lastname = lastname;
5 (a) (0.7 points) Explain briefly the use of each of the following annotations: (see TravelAgentRemote @EJB (see TravelAgentBean (see Customer class) (b) (0.4 points) Explain briefly the role of the EntityManager class and the use of each of the following methods of this class: createquery(), persist(), merge() and find(). (c) (0.4 points) Suppose we are not generating the database tables from the Java code (nor vice versa). Provide the SQL code to create the database table corresponding to the Customer class. (d) (0.4 points) If we were to use the following code for the Customer class instead of that appearing above, what would the SQL code to create the database table corresponding to this class now public class Customer implements java.io.serializable private long id; private String firstname; private String lastname; public long getid() { return id; public void setid(long id) { this.id = id; public String getfirstname() { return firstname; public void setfirstname(string firstname) {this.firstname = firstname; public String getlastname() { return lastname; public void setlastname(string lastname) {this.lastname = lastname; (e) (0,1 point) What annotation would you use if you wanted the values of the primary key of the database table corresponding to the Customer class to be automatically-generated?
6 Question 3 (2 points) Study the following code for the service method of a Java servlet and then answer the questions appearing below it. Note that the method getproductitem is passed a list of products and a product ID and returns the product from the list having that ID or null if there is no such product on the list. public void service(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { List<Product> products = null; try { HttpSession session = object1.method1(false); if (session == null) { object2.method3(object2.encoderedirecturl("/shop/login")); Cart cart = (Cart) object3.method2("cart"); if (cart == null) { object2.method3(object2.encoderedirecturl("/shop/login")); String productidtoadd = object1.method4("buy"); String productid = (String) object1.method4("productid"); products = (Vector) object3.method2("products"); if (productidtoadd!= null) { Product item = getproductitem(products, productidtoadd); cart.add(new LineItem(item, 1, 0)); object1.method5("productpurchased", item.getname()); this.getservletcontext().getrequestdispatcher( "/catalog.jsp").method6(request, response); else if (productid!= null) { object1.method5("productitem", getproductitem(products, productid)); this.getservletcontext().getrequestdispatcher( "/productinfo.jsp").method6(request, response); else { if (products == null) { products = catalog.getproductlist(); object3.method7("products", products); this.getservletcontext().getrequestdispatcher( "/catalog.jsp").method6(request, response); catch (Exception e) { e.printstacktrace();
7 (a) (0.3 points) What are the respective roles of the request and response objects (i.e. the objects of class HttpServletRequest and HttpServletResponse) that appear as arguments of the service method)? (b) (0.1 points) The way this servlet is implemented by overriding the service method is not the usual way of implementing a servlet. What is the usual way? (c) (1.0 points) Provide the names of the objects object1, object2 and object3 and of the methods method1, method2, method3, method4, method5, method6, and method7. If you cannot remember the name of a method, instead, explain very briefly what it does. (d) (0.4 points) Explain very briefly the difference between method3 and method6. For each of the three calls to method6, state how the functionality would be affected if the call to this method of the requestdispatcher object were replaced by a call to object2.method3. (e) (0.2 points) As far as you can tell, does the application of which this code forms a part follow the MVC pattern? You must justify your answer (very briefly).
EJB 3 Entities. Course Multi Tier Business Applications with Java EE. Prof. Dr. Eric Dubuis Berner Fachhochschule Biel. Berner Fachhochschule
Berner Fachhochschule Technik und Informatik EJB 3 Entities Course Multi Tier Business Applications with Java EE Prof. Dr. Eric Dubuis Berner Fachhochschule Biel Content Characteristics of entities Programming
More informationJPA Entities. Course Multi Tier Business Applications with Java EE. Prof. Dr. Eric Dubuis Berner Fachhochschule Biel. Berner Fachhochschule
Berner Fachhochschule Technik und Informatik JPA Entities Course Multi Tier Business Applications with Java EE Prof. Dr. Eric Dubuis Berner Fachhochschule Biel Content Characteristics of entities Programming
More informationEntities are classes that need to be persisted, usually in a relational database. In this chapter we cover the following topics:
Entities are classes that need to be persisted, usually in a relational database. In this chapter we cover the following topics: EJB 3 entities Java persistence API Mapping an entity to a database table
More informationModule 8 The Java Persistence API
Module 8 The Java Persistence API Objectives Describe the role of the Java Persistence API (JPA) in a Java EE application Describe the basics of Object Relational Mapping Describe the elements and environment
More informationUnit 6 Hibernate. List the advantages of hibernate over JDBC
Q1. What is Hibernate? List the advantages of hibernate over JDBC. Ans. Hibernate is used convert object data in JAVA to relational database tables. It is an open source Object-Relational Mapping (ORM)
More informationChapter 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 informationExploring EJB3 With JBoss Application Server Part 6.2
By Swaminathan Bhaskar 01/24/2009 Exploring EJB3 With JBoss Application Server Part 6.2 In this part, we will continue to explore Entity Beans Using Java Persistence API (JPA). Thus far, we have seen examples
More informationCreate a Java project named week9
Objectives of today s lab: Through this lab, students will explore a hierarchical model for object-oriented design and examine the capabilities of the Java language provides for inheritance and polymorphism.
More informationUsing Java reflection to reduce Code and Development time in DFS
Using Java reflection to reduce Code and Development time in DFS Java reflections is one of the most powerful API s of Java Language, this can be used to reduce code significantly. Most of the Current
More informationJava EE Architecture, Part Three. Java EE architecture, part three 1(69)
Java EE Architecture, Part Three Java EE architecture, part three 1(69) Content Requirements on the Integration layer The Database Access Object, DAO Pattern Frameworks for the Integration layer Java EE
More informationCommunication Software Exam 5º Ingeniero de Telecomunicación February 18th Full name: Part I: Theory Exam
Part I: Theory Exam Duration, exam (this year's students): 3 hours () (last year's students): 2 hours 45 minutes Duration, part I: 2 hours, 30 minutes The use of books or notes is not permitted. Reply
More informationPART 1. Eclipse IDE Tutorial. 1. What is Eclipse? Eclipse Java IDE
PART 1 Eclipse IDE Tutorial Eclipse Java IDE This tutorial describes the usage of Eclipse as a Java IDE. It describes the installation of Eclipse, the creation of Java programs and tips for using Eclipse.
More informationSharpen your pencil. entity bean synchronization
Using the interfaces below, write a legal bean class. You don t have to write the actual business logic, but at least list all the methods that you have to write in the class, with their correct declarations.
More informationMARATHWADA INSTITUTE OF TECHNOLOGY, AURANGABAD DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS ADVANCE JAVA QUESTION BANK
MARATHWADA INSTITUTE OF TECHNOLOGY, AURANGABAD DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS ADVANCE JAVA QUESTION BANK Second Year MCA 2013-14 (Part-I) Faculties: Prof. V.V Shaga Prof. S.Samee Prof. A.P.Gosavi
More informationTP 6 des architectures logicielles Séance 6 : Architecture n-tiers avec du JPA avec plusieurs entités. 1 Préparation de l environnement Eclipse
TP 6 des architectures logicielles Séance 6 : Architecture n-tiers avec du JPA avec plusieurs entités 1 Préparation de l environnement Eclipse 1. Environment Used JDK 7 (Java SE 7) JPA 2.0 Eclipse MySQL
More informationApplied Cognitive Computing Fall 2016 Android Application + IBM Bluemix (Cloudant NoSQL DB)
Applied Cognitive Computing Fall 2016 Android Application + IBM Bluemix (Cloudant NoSQL DB) In this exercise, we will create a simple Android application that uses IBM Bluemix Cloudant NoSQL DB. The application
More informationLessons learned so far... Wednesday, January 26, :16 PM
Consistency_and_Concurrency Page 1 Lessons learned so far... Wednesday, January 26, 2011 4:16 PM Last lecture: syntax: A cloud application is a java serial program that interacts with persistent instances
More informationJava EE Architecture, Part Three. Java EE architecture, part three 1(57)
Java EE Architecture, Part Three Java EE architecture, part three 1(57) Content Requirements on the Integration layer The Database Access Object, DAO Pattern Frameworks for the Integration layer Java EE
More informationExploring EJB3 With JBoss Application Server Part 6.3
By Swaminathan Bhaskar 02/07/2009 Exploring EJB3 With JBoss Application Server Part 6.3 In this part, we will continue to explore Entity Beans Using Java Persistence API (JPA). In the previous part, we
More informationIntroduction to Java Enterprise Edition For Database Application Developer
CMP 420/758 Introduction to Java Enterprise Edition For Database Application Developer Department of Mathematics and Computer Science Lehman College, the CUNY 1 Java Enterprise Edition Developers today
More informationChapter 12: Inheritance
Chapter 12: Inheritance Objectives Students should Understand the concept and role of inheritance. Be able to design appropriate class inheritance hierarchies. Be able to make use of inheritance to create
More information= "categories") 1 public class Category implements java.io.serializable { 2 private static final long serialversionuid = 1L;
@Entity @Table(name = "categories") 1 public class Category implements java.io.serializable { 2 private static final long serialversionuid = 1L; @Id @GeneratedValue 3 private Long id; 4 private String
More informationMIS2502: Data Analytics Relational Data Modeling. Jing Gong
MIS2502: Data Analytics Relational Data Modeling Jing Gong gong@temple.edu http://community.mis.temple.edu/gong Where we are Now we re here Data entry Transactional Database Data extraction Analytical
More informationInheritance and Polymorphism
Object Oriented Programming Designed and Presented by Dr. Ayman Elshenawy Elsefy Dept. of Systems & Computer Eng.. Al-Azhar University Website: eaymanelshenawy.wordpress.com Email : eaymanelshenawy@azhar.edu.eg
More informationInheritance and Interfaces
Inheritance and Interfaces Object Orientated Programming in Java Benjamin Kenwright Outline Review What is Inheritance? Why we need Inheritance? Syntax, Formatting,.. What is an Interface? Today s Practical
More informationChapter 10. Object-Oriented Analysis and Modeling Using the UML. McGraw-Hill/Irwin
Chapter 10 Object-Oriented Analysis and Modeling Using the UML McGraw-Hill/Irwin Copyright 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Objectives 10-2 Define object modeling and explain
More informationSUN Sun Cert Bus Component Developer Java EE Platform 5, Upgrade. Download Full Version :
SUN 310-092 Sun Cert Bus Component Developer Java EE Platform 5, Upgrade Download Full Version : https://killexams.com/pass4sure/exam-detail/310-092 D. A javax.ejb.nosuchentityexception is thrown. Answer:
More informationCSE 530A. Lab 3. Washington University Fall 2013
CSE 530A Lab 3 Washington University Fall 2013 Table Definitions The table definitions for lab 3 are slightly different from those for lab 2 Serial ID columns have been added to all of the tables Lab 2:
More informationHIBERNATE - INTERCEPTORS
HIBERNATE - INTERCEPTORS http://www.tutorialspoint.com/hibernate/hibernate_interceptors.htm Copyright tutorialspoint.com As you have learnt that in Hibernate, an object will be created and persisted. Once
More informationTopics in Enterprise Information Management
Topics in Enterprise Information Management Dr. Ilan Kirsh JPA Basics Object Database and ORM Standards and Products ODMG 1.0, 2.0, 3.0 TopLink, CocoBase, Castor, Hibernate,... EJB 1.0, EJB 2.0: Entity
More informationCSE 142 Wi03 Midterm 2 Sample Solution All Versions Page 1 of 6
CSE 142 Wi03 Midterm 2 Sample Solution All Versions Page 1 of 6 Question 1. (5 points) One of your colleagues is having a terrible time with the following code, which doesn t work properly. /** A simple
More informationProgramming II (CS300)
1 Programming II (CS300) Chapter 02: Using Objects MOUNA KACEM mouna@cs.wisc.edu Fall 2018 Using Objects 2 Introduction to Object Oriented Programming Paradigm Objects and References Memory Management
More informationSSE3052: Embedded Systems Practice
SSE3052: Embedded Systems Practice Minwoo Ahn minwoo.ahn@csl.skku.edu Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu SSE3052: Embedded Systems Practice, Spring 2018, Jinkyu Jeong
More informationDEZVOLTAREA APLICATIILOR WEB CURS 7. Lect. Univ. Dr. Mihai Stancu
DEZVOLTAREA APLICATIILOR WEB CURS 7 Lect. Univ. Dr. Mihai Stancu S u p o r t d e c u r s suport (Beginning JSP, JSF and Tomcat) Capitolul 3 JSP Application Architectures DEZVOLTAREA APLICATIILOR WEB CURS
More information********************************************************************
******************************************************************** www.techfaq360.com SCWCD Mock Questions : Servlet ******************************************************************** Question No :1
More informationGrails Seminar 11/12/09. Groovy And Grails. An Overview
Grails Seminar 11/12/09 Groovy And Grails An Overview Groovy What Is Groovy? Groovy... Is A Dynamic Language For The Java Virtual Machine (JVM) Takes inspiration from Smalltalk, Python and Ruby (etc...)
More informationJava Persistence Advanced Concepts
Java Persistence Advanced Concepts Multitier Application Architecture Java Persistence API Revisited Transaction Management EntityManager Detailed JPA Queries Added to DAO Cooperation with the Web Tier
More informationJava Persistence API. Patrick Linskey EJB Team Lead BEA Systems Oracle
Java Persistence API Patrick Linskey EJB Team Lead BEA Systems Oracle plinskey@bea.com Patrick Linskey EJB Team Lead at BEA JPA 1, 2 EG Member Agenda JPA Basics What s New ORM Configuration APIs Queries
More informationServlet for Json or CSV (or XML) A servlet serving either Json or CSV (or XML) based on GET parameter - This version uses org.json
Servlet for Json or CSV (or XML) A servlet serving either Json or CSV (or XML) based on GET parameter - This version uses org.json A Servlet used as an API for data Let s say we want to write a Servlet
More informationMIS2502: Data Analytics Relational Data Modeling. Jing Gong
MIS2502: Data Analytics Relational Data Modeling Jing Gong gong@temple.edu http://community.mis.temple.edu/gong Where we are Now we re here Data entry Transactional Database Data extraction Analytical
More informationINSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad
INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 INFORMATION TECHNOLOGY TUTORIAL QUESTION BANK Course Name Course Code Class Branch : Web Technologies : ACS006 : B. Tech
More informationMITS5502 Developing Enterprise Systems
MITS5502 Developing Enterprise Systems Project 50% deduction for Late Submission within one week 0 mark for Late Submission more than one week 0 mark for duplicated Submission or Shared Work You will be
More informationI BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++
No. of Printed Pages : 3 I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination 05723. June, 2015 BCS-031 : PROGRAMMING IN C ++ Time : 3 hours Maximum Marks : 100 (Weightage 75%)
More informationQ: I just remembered that I read somewhere that enterprise beans don t support inheritance! What s that about?
session beans there are no Dumb Questions Q: If it s so common to leave the methods empty, why don t they have adapter classes like they have for event handlers that implement all the methods from the
More informationKotlin for Android developers
ROME - APRIL 13/14 2018 Kotlin for Android developers Victor Kropp, JetBrains @kropp Kotlin on JVM + Android JS In development: Kotlin/Native ios/macos/windows/linux Links Kotlin https://kotlinlang.org
More informationWhat are Non-Catalog Orders?
What are Non-Catalog Orders? Non-Catalog Orders are intended to address purchasing needs that fall outside of typical requests within a punch-out site, catalog or form. Prior to beginning a Purchase Request,
More informationObjectives. Inheritance. Inheritance is an ability to derive a new class from an existing class. Creating Subclasses from Superclasses
Objectives Inheritance Students should: Understand the concept and role of inheritance. Be able to design appropriate class inheritance hierarchies. Be able to make use of inheritance to create new Java
More informationCSC309: Introduction to Web Programming. Lecture 11
CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat Servlets+JSP Model 2 Architecture 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern 3 Servlets+JSP Model 2 Architecture Controller
More informationIntroduction to Session beans. EJB - continued
Introduction to Session beans EJB - continued Local Interface /** * This is the HelloBean local interface. * * This interface is what local clients operate * on when they interact with EJB local objects.
More informationIntroduction to JPA. Fabio Falcinelli
Introduction to JPA Fabio Falcinelli Me, myself and I Several years experience in active enterprise development I love to design and develop web and standalone applications using Python Java C JavaScript
More informationSpring 2016 Programming Languages Qualifying Exam
This is a closed book test. Clear, correct and concise responses will receive the best mark. Correct, clear and precise answers receive full marks Please start a new page for each question. 1 P a g e 1.
More informationWorking with Databases and Java
Working with Databases and Java Pedro Contreras Department of Computer Science Royal Holloway, University of London January 30, 2008 Outline Introduction to relational databases Introduction to Structured
More informationAssoc. Prof. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.
Assoc. Prof. Marenglen Biba (C) 2010 Pearson Education, Inc. All Inheritance A form of software reuse in which a new class is created by absorbing an existing class s members and enriching them with
More information5/2/2017. Querying. Querying. Querying. Entities can be retrieved using EntityManager.find() when the primary key is known
Querying Software Architectures and Methodologies - Entities can be retrieved using EntityManager.find() when the primary key is known JPA: Querying to obtain the primary key either the key is natural
More informationPractical EJB 3.0. Bill Burke JBoss Fellow Red Hat. Easier for application and framework developers. Professional Open Source
Practical EJB 3.0 Easier for application and framework developers Bill Burke JBoss Fellow Red Hat JBoss, Inc. 2003-2005. 10/30/2007 1 Agenda Using EJB with JPA How EJBs makes JPA easier for application
More informationObject Oriented Programming
Object Oriented Programming Objectives To review the concepts and terminology of object-oriented programming To discuss some features of objectoriented design 1-2 Review: Objects In Java and other Object-Oriented
More informationWeb Programming. Lecture 11. University of Toronto
CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat University of Toronto Servlets+JSP Model 2 Architecture University of Toronto 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern
More informationFraud Detection And Integrity Of Database Without Using Pl-SQL Logic
Fraud Detection And Integrity Of Database Without Using Pl-SQL Logic Rohit Miri Head, Dept of CSE Pushpa Sharma M.Tech. C.S.E. Scholar Bilaspur, India S. R.Tandan Asst. Professor Department of Computer
More informationDeveloping Applications with Java EE 6 on WebLogic Server 12c
Developing Applications with Java EE 6 on WebLogic Server 12c Duration: 5 Days What you will learn The Developing Applications with Java EE 6 on WebLogic Server 12c course teaches you the skills you need
More informationObject Oriented Programming
Object Oriented Programming Objectives To review the concepts and terminology of object-oriented programming To discuss some features of objectoriented design 1-2 Review: Objects In Java and other Object-Oriented
More informationCMPSC 487W Software Engineering and Design Group Assignment #4 Fall 2018
CMPSC 487W Software Engineering and Design Group Assignment #4 Fall 2018 Due Date: Wednesday, December 5, 2017 Total Points: 100 Description: The first three steps of developing a software product in ICONIX
More informationCSE 143 Final Part 1, August 18, 2011 Sample Solution
Question 1. (16 points) Binary Search Trees. (a) Draw a picture that shows the integer binary search tree that results when the following numbers are inserted into a new, empty binary search tree in the
More information1Z Oracle. Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade
Oracle 1Z0-861 Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-861 A. The Version attribute
More informationMIS2502: Review for Exam 2. Jing Gong
MIS2502: Review for Exam 2 Jing Gong gong@temple.edu http://community.mis.temple.edu/gong Overview Date/Time: Thursday, March 24, in class (1 hour 20 minutes) Place: Regular classroom Please arrive 5 minutes
More informationWeb Application Services Practice Session #2
INTRODUCTION In this lab, you create the BrokerTool Enterprise Application project that is used for most of the exercises remaining in this course. You create a servlet that displays the details for a
More informationThis is an almost-two week homework; it is almost twice as long as usual. You should complete the first half of it by October 2.
Homework 4 1.264, Fall 2013 Data model for the aircraft parts distributor Due: Monday, October 7 This is an almost-two week homework; it is almost twice as long as usual. You should complete the first
More informationSession 20 Data Sharing Session 20 Data Sharing & Cookies
Session 20 Data Sharing & Cookies 1 Reading Shared scopes Java EE 7 Tutorial Section 17.3 Reference http state management www.ietf.org/rfc/rfc2965.txt Cookies Reading & Reference en.wikipedia.org/wiki/http_cookie
More informationContents at a Glance
Contents at a Glance 1 Java EE and Cloud Computing... 1 2 The Oracle Java Cloud.... 25 3 Build and Deploy with NetBeans.... 49 4 Servlets, Filters, and Listeners... 65 5 JavaServer Pages, JSTL, and Expression
More informationThree hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 21 st May Time:
COMP67032 Three hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE Building Web Applications Date: Friday 21 st May 2010 Time: 14.00 17.00 Answer Question 1 from Section A and TWO questions out
More informationHIBERNATE - COMPONENT MAPPINGS
HIBERNATE - COMPONENT MAPPINGS http://www.tutorialspoint.com/hibernate/hibernate_component_mappings.htm Copyright tutorialspoint.com A Component mapping is a mapping for a class having a reference to another
More informationCloud Computing Platform as a Service
HES-SO Master of Science in Engineering Cloud Computing Platform as a Service Academic year 2015/16 Platform as a Service Professional operation of an IT infrastructure Traditional deployment Server Storage
More informationHIBERNATE MOCK TEST HIBERNATE MOCK TEST IV
http://www.tutorialspoint.com HIBERNATE MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Hibernate Framework. You can download these sample mock tests
More informationCOMSC-051 Java Programming Part 1. Part-Time Instructor: Joenil Mistal
COMSC-051 Java Programming Part 1 Part-Time Instructor: Joenil Mistal Chapter 4 4 Moving Toward Object- Oriented Programming This chapter provides a provides an overview of basic concepts of the object-oriented
More informationDEVELOPING DATABASE APPLICATIONS (INTERMEDIATE MICROSOFT ACCESS, X405.5)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Database Program: Microsoft Access Series DEVELOPING DATABASE APPLICATIONS (INTERMEDIATE MICROSOFT ACCESS, X405.5) Section 4 AGENDA
More informationAnswer ALL Questions. Each Question carries ONE Mark.
SECTION A (10 MARKS) Answer ALL Questions. Each Question carries ONE Mark. 1 (a) Choose the correct answer: (5 Marks) i. Which of the following is not a valid primitive type : a. char b. double c. int
More informationJava and XML. XML documents consist of Elements. Each element will contains other elements and will have Attributes. For example:
Java and XML XML Documents An XML document is a way to represent structured information in a neutral format. The purpose of XML documents is to provide a way to represent data in a vendor and software
More informationActual4Test. Actual4test - actual test exam dumps-pass for IT exams
Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 070-761 Title : Querying Data with Transact- SQL Vendor : Microsoft Version : DEMO Get Latest & Valid
More informationBabu Madhav Institute of Information Technology 2016
5 Years Integrated M.Sc. (IT) 5 th Semester Practical Problems 060010503: Advanced Java Practical No : 1 Practical Problem Duration for completion PEO(s) to be PO(s) to be CO(s) to be Solution must contain
More informationCorticon Rule Modeling Challenge Jan 2018 Order Promotions
Corticon Rule Modeling Challenge Jan 2018 Order Promotions Mike Parish The Problem The objective of this challenge is to help merchants to define various promotions for their sales orders and to automatically
More informationOracle NoSQL Database Parent-Child Joins and Aggregation O R A C L E W H I T E P A P E R A P R I L,
Oracle NoSQL Database Parent-Child Joins and Aggregation O R A C L E W H I T E P A P E R A P R I L, 2 0 1 8 Table of Contents Introduction 1 Parent Table Child Table Joins 2 Comparison to RDBMS LEFT OUTER
More informationInterrogating a database design for supported functionality
Interrogating a database design for supported functionality Lets consider database designs intended to support purchases and shipments of products by and to customers Product s Translate this UML fragment
More informationDB - Week 3 Lab1-2 Introduction to Databases. Dina A. Said
DB - Week 3 Lab1-2 Introduction to Databases Dina A. Said dasaid@ucalgary.ca Relationships Create a relationship as follows: One-to-many s.t. field author_id in titles table is a foreign key from field
More informationWhat is a cloud? Monday, January 25, :13 PM
Introduction Page 1 What is a cloud? 12:13 PM What is "Cloud Computing"? A programming paradigm for distributed applications A business paradigm for reassigning business risk An infrastructure paradigm
More informationInjection Of Entitymanager
Injection Of Entitymanager Example injection-of-entitymanager can be browsed at https://github.com/apache/tomee/tree/master/examples/injection-ofentitymanager This example shows use of @PersistenceContext
More informationTypes. Inner join ( Equi Joins ) Outer(left, right, full) Cross. Prepared By : - Chintan Shah & Pankti Dharwa 2
Sometimes it necessary to work with multiple tables as through they were a single entity. Then single SQL sentence can manipulate data from all the tables. Join are used to achive this. Tables are joined
More informationJava Persistence Query Language (JPQL)
Java Persistence Query Language (JPQL) P E M R O G R A M A N W E B L A N J U T ( C ) 2 0 1 6 N I K O I B R A H I M F A K U L T A S T E K N O L O G I I N F O R M A S I U N I V E R S I T A S K R I S T E
More informationAdvanced 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 informationStudent Number: Please fill out the identification section above as well as the one on the back page, and read the instructions below. Good Luck!
CSC 343H1S 2013 Test 2 Duration 50 minutes Aids allowed: none Last Name: Lecture Section: Day Student Number: First Name: Instructor: Horton Please fill out the identification section above as well as
More information6 February 2014 CSE-3421M Test #1 w/ answers p. 1 of 14. CSE-3421M Test #1. Design
6 February 2014 CSE-3421M Test #1 w/ answers p. 1 of 14 CSE-3421M Test #1 Design Sur / Last Name: Given / First Name: Student ID: Instructor: Parke Godfrey Exam Duration: 75 minutes Term: Winter 2014 Answer
More informationCPS221 Lecture: Relational Database Querying and Updating
CPS221 Lecture: Relational Database Querying and Updating last revised 8/5/10 Objectives: 1. To introduce the SQL select statement 2. To introduce the SQL insert, update, and delete statements Materials:
More informationSCALAMODULES A Scala DSL to ease OSGi development Heiko Seeberger, WeigleWilczek
SCALAMODULES A Scala DSL to ease OSGi development Heiko Seeberger, WeigleWilczek WHAT S SCALA? mature object-functional statically typed lightweight WHAT S SCALA? expressive concise pragmatic interoperabel
More informationHow 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 informationCS1100: Data, Databases, and Queries QUERY CONSTRUCTION. CS1100 Microsoft Access 1
CS1100: Data, Databases, and Queries QUERY CONSTRUCTION CS1100 Microsoft Access 1 Microsoft Access Tutorial: Data, Databases, and Queries LAYOUT OF THE ORDERS DATABASE CS1100 Microsoft Access 2 The Orders
More informationCPS221 Lecture: Relational Database Querying and Updating
CPS221 Lecture: Relational Database Querying and Updating Objectives: last revised 10/29/14 1. To introduce the SQL select statement 2. To introduce the SQL insert, update, and delete statements Materials:
More informationChecked and Unchecked Exceptions in Java
Checked and Unchecked Exceptions in Java Introduction In this article from my free Java 8 course, I will introduce you to Checked and Unchecked Exceptions in Java. Handling exceptions is the process by
More informationServlets. 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 informationServer-side Web Programming
Server-side Web Programming Lecture 12: Server-side Databases and Drivers Databases and E-Commerce Long term information stored in s Queries used to produce lists of products Never hardwired in! Generated
More informationTUTORIAL QUESTION BANK
+ INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Course Name Course Code Class Branch : Web Technologies : ACS006
More informationAgenda: Discussion Week 7. May 11, 2009
Agenda: Discussion Week 7 Method signatures Static vs. instance compareto Exceptions Interfaces 2 D arrays Recursion varargs enum Suggestions? May 11, 2009 Method signatures [protection] [static] [return
More informationAccess - Introduction to Queries
Access - Introduction to Queries Part of managing a database involves asking questions about the data. A query is an Access object that you can use to ask the question(s). The answer is contained in the
More information