ONLINE BOOKSTORE DATABASE CSC 8490 BY: Chaya Gaddamanugu

Slides:



Advertisements
Similar presentations
DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
Advertisements

A Prototype Implementation of a Framework for Organising Virtual Exhibitions over the Web Ali Elbekai, Nick Rossiter School of Computing, Engineering and.
Active Directory: Final Solution to Enterprise System Integration
Project 1 Introduction to HTML.
ManageEngine TM Applications Manager 8 Monitoring Custom Applications.
Web Server Hardware and Software
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Building Enterprise Information Portal using Oracle Portal 3
Introduction Booktruck.com aims to: Combine the strengths of the first two generations, while avoiding many of their weaknesses Penetrate sizable existing.
Implementation of One Stop Search by XSLT By Dave Low University of Hong Kong 9-Dec-2003.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
1 Alternate Title Slide: Presentation Name Goes Here Presenter’s Name Infrastructure Solutions Division Date GIS Perfct Ltd. Autodesk Value Added Reseller.
CONTENTS  ABSTRACT  INTRODUCTION  HARDWARE & SOFTWARE REQUIREMENTS  PROBLEM ANALYSIS  MODULES DESCRIPTION  TABLE DESIGN  ER DIAGRAM  SCREEN SHOTS.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
STOCKDOC Advanced Stock Management System
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter 1 Introduction to HTML, XHTML, and CSS
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
ITIS 1210 Introduction to Web-Based Information Systems Chapter 24 How Websites Work with Databases How Websites Work with Databases.
Overview of SQL Server Alka Arora.
Samuvel Johnson nd MCA B. Contents  Introduction to Real-time systems  Two main types of system  Testing real-time software  Difficulties.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Bookstore Web Application Introducing Visual Web Developer 2008 Express and the.
Getting started on informaworld™ How do I register my institution with informaworld™? How is my institution’s online access activated? What do I do if.
Classroom User Training June 29, 2005 Presented by:
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
Tutorial 1: Getting Started with Adobe Dreamweaver CS4.
First things, First Do you belong in here? – 10 – 12 – Comp. Discovery or Keyboard/Comp Apps – Do you have any experience with Web Page Design?????
Chemical Toxicity and Safety Information System Shuanghui Luo Ying Li Jin Xu.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
Summary Data Modeling SDLC What is Data Modeling Application Audience and Services Entities Attributes Relationships Entity Relationship Diagrams Conceptual,Logical.
M1G Introduction to Database Development 6. Building Applications.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
ONLINE BOOKS PURCHASING SYSTEM Presented By :- Vidit Sharma MCA (6 th Sem ) BVICAM Batch
ABC Insurance Co. Paul Barry Steve Randolph Jing Zhou CSC8490 Database Systems & File Management Dr. Goelman Villanova University August 2, 2004.
SQL Queries Relational database and SQL MySQL LAMP SQL queries A MySQL Tutorial and applications Database Building Assignment.
SURENDER SARA 10GAS Building Corporate KPI’s
1 OPOL Training (OrderPro Online) Prepared by Christina Van Metre Independent Educational Consultant CTO, Business Development Team © Training Version.
CakePHP is an open source web development framework. It follows Model-View- Controller and is developed using PHP. IT is the basic for user to create.
National Center for Supercomputing Applications NCSA OPIE Presentation November 2000.
Near East University Department of Computer Engineering E-COMMERCE FOR LAPTOPS SELLING COMPANY Abdul Halim Abu Kuwaik
Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog:
Is Your Business Ready For The Ultimate Business ERP Solution.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
ABSTRACT The JDBC (Java Database Connectivity) API is the industry standard for database- independent connectivity between the Java programming language.
Final Project Presentation Distributed Systems (CSC 8530)
Chapter 4: Working with ASP.NET Server Controls OUTLINE  What ASP.NET Server Controls are  How the ASP.NET run time processes the server controls on.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
JSP Server Integrated with Oracle8i Project2, CMSC691X Summer02 Ching-li Peng Ying Zhang.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
WEB SERVER SOFTWARE FEATURE SETS
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
CSE300 EAIusing EJB & XML CSE Enterprise Application Integration Using EJB and XML by Prithwis Sett Mumtaz Lohawala Nayana Paranjape.
23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 1: Introduction to IS2803 Rob Gleasure
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Executive Overview. Software modeling is essential, because it is the map that guides your developers. Additionally: Modeling Software  Visual information.
Institute for the Protection and Security of the Citizen HAZAS – Hazard Assessment ECCAIRS Technical Course Provided by the Joint Research Centre - Ispra.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
The Web Web Design. 3.2 The Web Focus on Reading Main Ideas A URL is an address that identifies a specific Web page. Web browsers have varying capabilities.
E-Business Infrastructure PRESENTED BY IKA NOVITA DEWI, MCS.
Architecture Review 10/11/2004
Web Programming Language
A Network Operating System Edited By Maysoon AlDuwais
Summary Data Modeling SDLC What is Data Modeling
Presentation transcript:

ONLINE BOOKSTORE DATABASE CSC 8490 BY: Chaya Gaddamanugu Ramaselvi Bala Subhashini Rangu Sheela Anand

SSSR.COM Application overview: The business model for this project is an "http://153.104.204.169:8080/books.html" that allows customers to buy books from their homes through a web site. The bookstore maintains a web site that allows people to search through all the books currently available through the store. The web site also provides a way for new customers to sign up, as well as existing customers to view their account status and order information.

. Application Requirements: Product Description: Detailed descriptions of all its books. This includes details such as title, author, price, category, and other information that helps the bookstore organize its collection, and helps the members search for a book. Customer Information: Data on every customer member. This includes information such as name, password, address, and other details that enable the business corporation to contact, bill, and deliver books to the members.

Functionality of the web site Searching and Browsing: Visitors must be able to search for books based on various attributes (e.g. title, category/subject). They must also be able to browse through the book collection without doing a specific search. Transactions: Customers must be able to easily select books to buy and check out. They also need to be able to view their account status, find out which books they currently have ordered and the order status information.

IMPLEMENTATION TOOLS ORACLE 9i new features in Oracle 9i are its support for XML, Java and C++. Oracle9i continues to offer the best development platform for Internet and traditional application development. Key focus areas include: XML Enterprise Java Engine SQL and PL/SQL improvements

IMPLEMENTATION TOOLS XML XSL JAVA TOMCAT SERVER HTML SQL

DESIGN PHASES PHASE I Design and create a database that organizes and stores data about the books, customers, and orders. This includes creating tables to store data, and designing rules for how these tables relate to each other so that the data they store can be combined in meaningful ways. Also includes conceptual design model, logical mapping and physical implementation.

PHASE II Writing Java code that implements an interface to the database. To establish a connection to the oracle 9i through java, the listener should run. This can be run from lnsctrl.exe. The entire jar files used here need to have their classpaths set. Developing java servlet, which takes in requests from the user and process it accordingly. The result is displayed with proper format using xml and xsl.

PHASE III Developing an html page for user login and books browsing and searching.

PHASE I

BUSINESS RULES Each book must be one and only one among a textbook or a general book or a magazine or a novel. Each textbook must be one and only one book. Each generalbook must be one and only one book. Each magazine must be one and only one book. Each novel must be one and only one book. Each textbook may be available as one and only one newbook. Each textbook may be available as one and only one oldbook. Each newbook must be associated with one and only one textbook.  

BUSINESS RULES Each oldbook must be associated with one and only one textbook. Each customer may have one or more order-info. Each order-info must be associated with one and only one customer. Each order-info must be a book order of one or more books. Each book must be a book order of one or more order-infos.

SPECIALIZATION The EER diagram is a result of specialization(top down approach) The books database consists of different disjoint categories, each having a common set of attributes apart from its own set of attributes. This is the basis of specialization, resulting in BOOKS as super class entity, TEXTBOOKS, GENERALBOOKS, MAGAZINES AND NOVELS its subclass entities. Created a relation for each superclass and subclass with the Primary Key of the superclass as Primary Key of each subclass.

AVOIDING NULL VALUES TEXTBOOKS TEXTBOOKS NEWBOOKS OLDBOOK ISBN ISBN ISBN ISBN SUBJECT SUBJECT NEWPRICE OLDPRICE TITLE TITLE NEWCOPIES OLDCOPIES AUTHOR AUTHOR CO_AUTH CO_AUTH PUBLICAT PUBLICAT EDITION EDITION PAGES PAGES BOOK_CD BOOK_CD DESC DESC DATE DATE NEWPRICE NEWCOPIES OLDPRICE OLDCOPIES

EER DIAGRAM n m m 1 1 1 1 1 books book_order info order_info d textbooks generalbooks magazines novels available newbook oldbook cust_info Account-order info n m m 1 1 1 EER DIAGRAM 1 1

MAPPING with CARDINALITY AND PARTICIPATION

PHASE II

DIRECTORY STRUCTURE textbooksstyle.xsl magstyle.xsl BIN novelstyle.xsl generalstyle.xsl textbooks.xml magazines.xml TOMCAT novels.xml BooksGen1.class CLASSES FinalGen1.class LIB All jar files books.html WEBAPPS ROOT records.html

PHASE II Servlet – captures user input from the browser – establishes connection with the database – processes the request – generates an XML file – applies an XSL stylesheet and outputs a HTML file. Establishing connection to the database try { DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); con = DriverManager.getConnection(conStr, user,password); } Use appropriate query to get data from the database. qryStr = "select * from textbooks t, newbook nb where t.isbn=nb.isbn"; qryStr = "select * from magazines"; if((topic.equals("Subject-Category")) && (category.equals("Textbooks"))){ qryStr = "select distinct * from textbooks t, newbook nb where subject like '%" + keyword + "%' and t.isbn=nb.isbn"; keyword is what the customer enters.  

PHASE II converts the data got from the database to an XML file, and save it in the bin directory of the server. The generated XML file and the stylesheet for the XML file are combined to form an HTML file. This HTML file is stored in the ROOT directory of the server. This file is the result of search.

A BRIEFING OF XML RESULT OF A NORMAL QUERY TITLE FNAME LNAME ISBN PUBLISHER Oracle9i XML handbook Ben Chang 123456 oracle press

XML Result in XML format <book> <title>Oracle9i XML handbook</title> <author> <fname>Ben</fname> <lname>Chang</lname> </author> <isbn>123456</isbn> <publisher>oracle press</publisher> </book>

XSL STYLESHEETS <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <head><title>Search Results</title></head> <body bgcolor="#FFCDAE"> <table border="0" cellspacing="7" cellpadding="1"> <xsl:for-each select="ROWSET/ROW"> <tr><th>TITLE</th><td><xsl:value-of select=“TITLE" /></td></tr> <tr><th>ISBN</th><td><xsl:value-of select=“ISBN" /></td></tr> </xsl:for-each> </table> </body> </html> </xsl:template> </xsl:stylesheet>

FINAL HTML FILE

PHASE III

PHASE III Develop an html file, books.html, which will be the front end of the web site. An html file for user authentication. And a final, system generated html file, that is the result of the search.

EXECUTION: Load the database. Start the database server (lsnrctl.exe). Start the Tomcat web server. Access the website http://153.104.204.169:8080/books.html from the browser.  Begin search and transactions.

DEMO

EXTENSIONS: What is a B2B Application? The project can be extended to a major B2B (Business To Business) application. The system would store detailed information about the products available, client information and the administrative side details. What is a B2B Application? A B2B application is a web application that helps organizations streamline processes, such as manufacturing and distribution, so they can do business more efficiently with their resellers and suppliers. It gives them a faster way to compare prices and availability of goods and services they need to buy. And it's an excellent way to show global customers what they have to offer.

XML AND CROSS-PLATFORM COMPATABILITY Different enterprises can have their data in different formats. Data exchange requires a high level of technological agreement about data types, structures etc. Since XML is in text form and is self-describing, it allows companies to integrate applications across the internet.

SUMMARY AND LESSONS LEARNT The project helped us understand the functionality of a web-based e-commerce application. We are now able to comprehend the role played by newer technologies in improving such applications. We now understand how to integrate Oracle 9i, XML and Java for the implementation of such an application. We also understand the importance of a web server.   It was a pleasant experience doing the project!