卓越計劃進度報告 JNDI Java Naming and Directory Interface 網際網路實驗室 報告人 894346 潘燕弘.

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

TERMINAL SERVER DEPLOYMENT PLAN. STEP 1: PREPARATION  UTILIZE THE CURRENT SERVER FOR: ACTIVE DIRECTORY (AD) ACTIVE DIRECTORY (AD) NEEDED FOR STORAGE.
國立台灣大學 資訊工程學系 Chapter 4: Threads. 資工系網媒所 NEWS 實驗室 Objectives To introduce the notion of a thread — a fundamental unit of CPU utilization that forms the.
JNDI Java Naming Directory Interface JNDI is an API specified in Java that provides naming and directory functionality to applications written in Java.
CS 6401 The Domain Name System Outline Domain Name System.
Java Naming and Directory Interface JNDI. v001025JNDI2 Topics Naming and Directory Services JNDI Overview Features and Code Samples JNDI Providers References.
Presentation Outline  Project Aims  Introduction of Digital Video Library  Introduction of Our Work  Considerations and Approach  Design and Implementation.
OCT 1 Master of Information System Management Organizational Communications and Distributed Object Technologies Lecture 14: Naming.
Layer 7- Application Layer
1. Introducing Java Computing  What is Java Computing?  Why Java Computing?  Enterprise Java Computing  Java and Internet Web Server.
Directory & Naming Services CS-328 Dick Steflik. A Directory.
OCT1 Principles From Chapter One of “Distributed Systems Concepts and Design”
後卓越進度報告 蔡育仁老師實驗室 2006/07/10. Non-uniform Deployment for Lifetime-based Sensor Networks Propose a non-uniform density for random deployment based on the.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
Basics of JNDI Alessio Bechini June Naming and Directory Services: Rationale A fundamental element in every application is the capability to find.
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
1.2 Language Processing Activities The fundamental language processing activities divided into two parts. 1. Program generation activities 2. Program execution.
Nikolaos Korfiatis The Java 2 Enterprise Edition Platform Dept. of Management & Technology-Athens University of Economics and Business Java 2 Platform.
後卓越進度報告 蔡育仁老師實驗室 2006/05/01. Implementation — Coverage-preserving Routing (1/2) R1, R2 and R3: disjoint routes to the destination Coverage Metric: R2.
後卓越計畫 — 子計畫四 進度報告 陳文村 校長實驗室 MNET. Lab.2 Group Guiding Services in WSNs Leader tracking Help service Member -recall.
Naming Names in computer systems are used to share resources, to uniquely identify entities, to refer to locations and so on. An important issue with naming.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Creating a Hello App Using Google App Engine. What are Google apps? Apps is an abbreviation for application. An app is a piece of software. It can run.
Common Services in a network Server : provide services Type of Services (= type of servers) –file servers –print servers –application servers –domain servers.
ODBC Open DataBase Connectivity a standard database access method developed by Microsoft to access data from any application regardless of which database.
BASIC NETWORK CONCEPTS (PART 6). Network Operating Systems NNow that you have a general idea of the network topologies, cable types, and network architectures,
IT 210 The Internet & World Wide Web introduction.
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Corso di Formazione Sodalia “Enterprise Java Beans” JNDI Java Naming and Directory Interface.
Chapter 9: Novell NetWare
1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
An XMPP (Extensible Message and Presence Protocol) based implementation for NHIN Direct 1.
第十四章 J2EE 入门 Introduction What is J2EE ?
NETWORK FILE ACCESS SECURITY Daniel Mattingly EKU, Dept. of Technology, CEN/CET.
Topic : JNDI Kaster Nurmukan. JNDI2(c)CDAC(Formerly NCST) What is JNDI? Naming and Directory Services Naming Concepts Issues JNDI Architecture Programming.
Middleware Technology (J2EE/EJB) RMI-IIOP/JNDI. 2 Distributed Objects EJB components are based on distributed objects. A distributed object can be called.
Advanced Programming Rabie A. Ramadan 7.
Java Naming and Directory Interfaces. A naming service is an entity that performs the following tasks:  It associates names with objects. Similar to.
Computer and Information Science Ch1.3 Computer Networking Ch1.3 Computer Networking Chapter 1.
Active Directory Harikrishnan V G 18 March Presentation titlePage 2 Agenda ► Introduction – Active Directory ► Directory Service ► Benefits of Active.
1 Welcome to CSC 301 Web Programming Charles Frank.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
1 Java EE Programming Enterprise JavaBeans. 2 Topics J2EE Overview Enterprise JavaBeans Overview Enterprise Entity Beans Case Study How to build them.
CORBA Common Object Request Broker Architecture. Basic Architecture A distributed objects architecture. Logically, an object client makes method calls.
1 Web Servers (Chapter 21 – Pages( ) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System Architecture.
Jini Architecture Introduction System Overview An Example.
Network protocols –Nodes of a network must obey some rules if they want to communicate with each other. The set of rules is called network protocol. –The.
Assignment of JAVA id : BSSE-F10-M-10-JAVA1 Overview of J2EE/Session 2/Slide 1 of 38.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
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.
MICROSOFT TESTS /291/293 Fairfax County Adult Education Courses 1477/1478/1479.
後卓越計畫 進度報告 楊舜仁老師實驗室 SCTP Multihoming.
後卓越計畫 進度報告 楊舜仁老師實驗室 Outline  Introduction  SIP based mobile QoS model  MH registers the SIP based service  MH initiates the SIP based.
Java Naming and Directory Interface. Contents Naming and directory services JNDI RMI Conclusion.
INFN OCCI implementation on Grid Infrastructure Michele Orrù INFN-CNAF OGF27, 13/10/ M.Orrù (INFN-CNAF) INFN OCCI implementation on Grid Infrastructure.
Networking Mehdi Einali Advanced Programming in Java 1.
Distributed Systems.
Master of Information System Management
後卓越計畫進度報告 陳志成教授實驗室 2008/01/06.
Advanced Programming in Java
Java Messaging Service (JMS)
Java Messaging Service (JMS)
Communications & Computer Networks Resource Notes - Introduction
Programming Languages
ACTIVE DIRECTORY An Overview.. By Karan Oberoi.
Web Servers (IIS and Apache)
Presentation transcript:

卓越計劃進度報告 JNDI Java Naming and Directory Interface 網際網路實驗室 報告人 潘燕弘

Outline  Naming and Directory Concepts  What is JNDI?  JNDI Overview  Preparations

Naming and Directory Concepts  The primary function of a naming system is to map names to objects. It maps people-friendly names to addresses, identifiers, or objects typically used by computer programs. For example, the Internet Domain Name System (DNS) maps machine names (such as to IP addresses (like ). A file system maps a file name (c:\bin\autoexec.bat for example) to a file handle that a program can use to access the contents of the file.Internet Domain Name System (DNS)

Naming and Directory Concepts(cont.)  Directory : A directory object is a particular type of object that is used to represent the variety of information in a computing environment. A printer directory object, for example, might be used to represent a printer  Attributes : A directory object can have attributes associated with it. For example, a printer directory object might have as attributes its speed, resolution, and color. A user directory object might have as attributes the user's address, various telephone numbers, postal mail address, and computer account information. An attribute has an attribute identifier and a set of attribute values. The address, for example, might have an attribute identifier of "mail" and value of

What is JNDI?  The Java TM Naming and Directory Interface TM (JNDI) is an API specified in the Java programming language. It provides naming and directory functionality to applications written in the Java programming language. The JNDI is defined to be independent of any specific directory service implementation. Thus, a variety of directories--new, emerging, and already deployed ones--can be accessed in a common way.namingdirectory

JNDI Overview  The JNDI architecture consists of an API (Application Programming Interface) and an SPI (Service Provider Interface). Java applications use the JNDI API to access a variety of naming and directory services. The JNDI SPI enables a variety of naming and directory services to be plugged in transparently, allowing the Java application using the JNDI API to access their servicesThe JNDI SPI

JNDI Overview(cont.)

 The JNDI is divided into three packages –javax.namingjavax.naming –javax.naming.directoryjavax.naming.directory –javax.naming.spijavax.naming.spi

Preparations  Required Software –Here's a checklist of software/systems that you need:  Java Platform Software Java Platform Software  JNDI Software JNDI Software  Service Provider Software Service Provider Software  Naming and Directory Server Software Naming and Directory Server Software

JNDI Overview(cont.)  Context –Lookup() : Printer printer = (Printer)ctx.lookup("treekiller"); printer.print(report);  Names  Bindings  The Initial Context  Exceptionsbackback

JNDI Overview(cont.)  The Directory Context –getAttributes()getAttributes() –modifyAttributes()modifyAttributes() –Searchesbackback