CD Database Server (CDDB) Zachary Carter Alan Savage Diana Abbas Kyle Dorman.

Slides:



Advertisements
Similar presentations
J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialistica in Informatica – Università di Trento.
Advertisements

11 Copyright © 2005, Oracle. All rights reserved. Creating the Business Tier: Enterprise JavaBeans.
Objectives In this session, you will learn to:
Approaches to EJB Replication. Overview J2EE architecture –EJB, components, services Replication –Clustering, container, application Conclusions –Advantages.
6/1/20151 Luca Simone Software Engineering 2 a.a. 2001/2002.
1 Softsmith Open Learning - EJB 21-Nov Enterprise Java Beans Introduction –Application ServerApplication Server –Java 2 Enterprise EditionJava.
ManageEngine TM Applications Manager 8 Monitoring Custom Applications.
Technical Architectures
Sapana Mehta (CS-6V81) Overview Of J2EE & JBoss Sapana Mehta.
Introduction to Enterprise JavaBeans. Integrating Software Development Server-side Component Model Distributed Object Architecture –CORBA –DCOM –Java.
Enterprise Java Beans Welcome to the world of “Distributed System” Presented By: Sameer Nanda Date: 12/17/03.
1. Introducing Java Computing  What is Java Computing?  Why Java Computing?  Enterprise Java Computing  Java and Internet Web Server.
Application Server Lecture Paulo Barroso Kris Carver Todd Kitterman Eric Silva.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Apache Tomcat Server Typical html Request/Response cycle
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
J2EE Kenneth M. Anderson CSCI Web Technologies October 3, 2001.
Structure of a web application1 Dr Jim Briggs. MVC Structure of a web application2.
CS 483 Enterprise and Web Application Programming
© 2004 IBM Corporation BEA WebLogic Server Introduction and Training.
Emmanuel Cecchet et al.  Performance Scalability of J2EE application servers.  Test effect of: ◦ Application Implementation Methods ◦ Container Design.
Distributed System Using Java 2 Enterprise Edition (J2EE)
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
EJB Overview Celsina Bignoli Distributed Business Applications Server DB Client DB Server DB.
Distributed Multitiered Applications The J2EE platform uses a multitiered distributed application model. Application logic is divided into components 1.
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
Chapter 4: Core Web Technologies
1 J2EE Components. 2 Application Servers relieve the programming burden for business distributed components. They provide support for system level services.
CS 493/693: Distributed Systems Programming V. “Juggy” Jagannathan CSEE, West Virginia University March 21, 2005.
Entity Beans BMP Celsina Bignoli
© D. Wong  Indexes  JDBC  JDBC in J2EE (Java 2 Enterprise Edition)
Enterprise Java Beans Part I Kyungmin Cho 2001/04/10.
Replication & EJB Graham Morgan. EJB goals Ease development of applications –Hide low-level details such as transactions. Provide framework defining the.
Enterprise Java Bean Matt. 2 J2EE 3 J2EE Overview.
The Triad of Beans I Oleh: Dini Addiati ( ) Fahrurrozi Rahman ( Y) Irfan Hilmy ( ) Salman Azis A ( ) Aziiz Surahman.
Enterprise JavaBeans. Lesson 1: Introduction to Server-Side Component Software.
Enterprise JavaBeans. What is EJB? l An EJB is a specialized, non-visual JavaBean that runs on a server. l EJB technology supports application development.
Introduction to J2EE Architecture Portions by Kunal Mehta.
TDDD05 EJB Lab (Part of slides reused from Mikhail’s) Lu Li
第十四章 J2EE 入门 Introduction What is J2EE ?
J2EE Structure & Definitions Catie Welsh CSE 432
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
Webcommerce Computer Networks Webcommerce by Linnea Reppa Douglas Martindale Lev Shalevich.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.
1 Java EE Programming Enterprise JavaBeans. 2 Topics J2EE Overview Enterprise JavaBeans Overview Enterprise Entity Beans Case Study How to build them.
Enterprise Java Beans. Model 1 J2EE – Web View Model/View/Controller Model View Control Data base Web Server Model One Architecture HTTP Request HTTP.
Introduction to Enterprise JavaBeans Topics In Systems Architecture Barry Herbold
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
Introduction to EJB. What is an EJB ?  An enterprise java bean is a server-side component that encapsulates the business logic of an application. By.
Introduction to EJB. What is an EJB ?  An enterprise java bean is a server-side component that encapsulates the business logic of an application. By.
Java Programming: Advanced Topics 1 Enterprise JavaBeans Chapter 14.
©NIIT Introducing Enterprise JavaBeans (EJB) Lesson 1A / Slide 1 of 43J2EE Server Components Objectives In this lesson, you will learn about: The features.
EJB Enterprise Java Beans JAVA Enterprise Edition
EJB. Introduction Enterprise Java Beans is a specification for creating server- side scalable, transactional, multi-user secure enterprise-level applications.
The process of establishing a connection between a client and a server is called as Client – Server communication.
Enterprise Java Beans. Contents  Understanding EJBs  Practice Section.
Structure of a web application
EJB (Enterprise Java Beans)
Introduction to J2EE Architecture
Enterprise Java Bean. Overview of EJB View of EJB Conversation Roles in EJB, Types of Enterprise Beans Lifecycle of Beans Developing Applications using.
Distributed System Using Java 2 Enterprise Edition (J2EE)
Luca Simone Software Engineering 2 a.a. 2001/2002
Tiers vs. Layers.
Component-based Applications
Understanding and Designing with EJB
Enterprise Java Beans Bina Ramamurthy 4/5/2019 B.Ramamurthy.
Enterprise Java Beans.
Presentation transcript:

CD Database Server (CDDB) Zachary Carter Alan Savage Diana Abbas Kyle Dorman

What Does a CDDB Server Do? Provides Internet-based access to CD database Database Provides music CD information –Artist –Track Titles –Release Date Because most music CDs do not have this information

Why Another CDDB Server? Gracenote denies non-certified music players, and only supports CDDB2 Gracenote is not free Provide a platform independent server Provide an alternative when other free databases are down

Implementation CDDB level 1 protocol –A text-based protocol TCP/IP connection MySQL and Enterprise JavaBeans (EJB) manage database OpenEJB Container

Data Flow CD Player Protocol Server MySQL Server EJB

Music Player Must Support CDDBP level 1 Client Configuration –Connect via TCP/IP to CDDB server

Server CD Player connects to multithreaded server Server instantiates a client thread Client thread sends and receives data to the CD player Client thread uses ServerProtocol to process CD player requests Client thread dies when transactions finish

ServerProtocol Implements CDDBP level 1 protocol Parses and interprets client requests Provides appropriately formatted responses Requests CD database information from EJBClient

What is an EJB? Enterprise Java Bean Server-side objects Aids in transactions between client and database Consists of methods that encapsulate business logic

EJB Architecture Three tiers: –The client (makes calls to remote EJBs) –The EJB server (where the container resides) –The database (EJB business methods directly accesses database)

EJB Container Provides support for: –Transactions –Persistence –Management of multiple instances of a given bean –Concurrent execution of many beans –Keeping track of their state Does not allow the bean to be accessed directly from the client Protects the bean from the client

EJB Analogy EJB Bean EJB Container EJB Server Operating System Applications Programs Operating System BIOS Hardware Layering in EJBs Layering in typical operating system

A High-Level View of an EJB Conversation Finding the bean Getting access to a bean Calling the bean’s methods

EJB Conversation Finding a bean: Java Naming and Directory Interface (JNDI) Access to a bean: Home Interface Calling the bean’s methods: Remote Interface Analogous to JNDI: DNS translation from symbolic names

Entity Beans Track beans and CDAlbum beans Life cycle includes: –Nonexistence –Pooled (Beans exist in the container with no identity) –Ready (Business methods can be invoked)

MySQL An opensource database Data elements are organized using primary keys generated by MySQL database SQL statements inserts data into the database using a script

Advantages of EJB’s Transaction processing Persistent storage of objects Platform independence Multitiered architecture “Write once, run anywhere”

Visions Implement higher level CDDB protocols Implement a façade pattern Index database by discid Implement search features –Artist, disc title, track name, genre Add file logging –Usage Statistics Create a server side GUI

The End! Questions?