Lecture 15 Jini Technology Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University

Slides:



Advertisements
Similar presentations
1 Jini Tutorial, Part 3 Jini Programming. 2 Tutorial outline Part 1 Introduction Distributed systems Java basics Remote Method Invocation (RMI) Part 2.
Advertisements

Mini project /2 Jini - a new computing paradigm.
Sequential Statements
Java Card Technology Ch07: Applet Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Computer Science & Engineering.
1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
Sockets For Servers Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
ALEPH version 21 Task Manager. New Task Manager Interface Admin tab 2 The Task Manager interface has been removed from the ALEPH menu, and is now found.
DT211/3 Internet Application Development JSP: Processing User input.
11-Jun-15 Getting Ready for CIT Registering and labs If you are not yet registered (and want to be), be sure I have your name and student ID We.
CS 603 Jini April 10, What is Jini? Java Middleware Tools to construct federation –Multiple devices, each with Java Virtual Machine –Multiple services.
1 of 3 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Eric Claus Assistant Network Administrator Network+ Ernest Staats Master Science Information Assurance, (CISSP)®, CEH, MCSE, CNA, CWNA,
Java Programming Language Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan
Intro to PHP at Winthrop CSCI 297 Scripting Languages Day One.
1 ISA Server 2004 Installation & Configuration Overview By Nicholas Quinn.
Java Building Elements Lecture 2 Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University Computer Aided Circuit Design.
Introduction - What is Jini Technology?
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
C O M P U T E R G R A P H I C S Jie chen Computer graphic -- OpenGL Howto.
1 Outline Week 1: Survey on various distributed Systems Week 2: Web Services Using JEE 5 or Glassfish Week 3: Multicast Week 3: RMI Callback, Security.
Sun’s Jini Lab 2 Service Registration Client Lookup.
Hardware Design Environment Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan, Ph.D.
( ) 1 ISYE 7210—Fall 2005 Design of Real-Time Interactive Simulations (in Java) Initial Notes Christine M. Mitchell Director & Professor Center for.
COP 3330 Notes 1/12. Today's topics Downloading Java and Eclipse Hello World Basic control structures Basic I/O Strings.
Java Card Technology Ch09: Applet Firewall and Object Sharing Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Computer.
3C Technologies & Information Appliances Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
WEB SCIENCE. What is the difference between the Internet and the World Wide Web? Internet is the entire network of connected computers and routers used.
How to install Office 2007  Step 1: Insert the Microsoft Office 2007 Enterprise CD. If the Setup Wizard does not automatically begin, then click Start.
Chapter 6 Server-side Programming: Java Servlets
Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
Java Programming Lecture 1 Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Lecture 4 Chap 5 Types Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
1 Lecture 16 Jini Technology Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung Institute of Technology
How to Install the JDK (Java Development Kit) Click hereClick here to download the JDK.
1 JSK 1.1 A practical Approach Contents –Working with JSK 1.1 –Jini environments –Writing Jini software revisited –Important software packages in the JSK.
Jini Technology Basics Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
Java -- A very Hot Object- Oriented Language Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung Institute of.
Instructions for ConnectK Game AI project
VHDL Background Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
Remote Method Invocation Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
Setting up Dreamweaver to use your local WAMP testing Server
Dawn Pedersen. What is JavaScript? JavaScript is the basis for both jQuery and Spry applications JavaScript is referred to as a client-side scripting.
1 Lecture 5 More Programming Constructs Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung Institute of Technology.
Fall CIS 764 Database Systems Engineering L15: Deployment Deploy … to place or arrange for deliberate (intended) purpose.
Java Card Technology Ch05: Atomicity and transactions Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Computer.
Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
1 Lecture 15 Remote Method Invocation Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung Institute of Technology.
Learning Aim C.  In this section we will look at some simple client-side scripts, browser compatibility, exporting and compressing and suitable file.
Jini Technology 제 1 회 한국 자바 개발자 컨퍼런스 발표자 : 강신동 Mobile : 소속 : ㈜ idosi.com 대표이사 주최 : JavaCommunity.Org.
Control Structures Lecture 3 Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
Only a Newsgroup account If possible tell Thunderbird that you want to create a Newsgroup account. If you must tell it to be an client be careful.
Debugging RTC CLI in Eclipse
How to Start SQL Server and SSDT BI in Local
Object Spaces 9/22/2018.
Network and Distributed Programming in Java
The Jini Technology: An overview
Run Java file with Window cmd
JCreator Settings Only
Access ProQuest Searchware
Presentation transcript:

Lecture 15 Jini Technology Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University

Installation Install jini1.1 to c:\jini1_1\ –doc\ –examples\ –lib\ –policy\ –source\ –index.html Install nuggets to c:\nuggets –about\ –images\ –pages\ –index.html

Installation Install jini setup script to c:\jiniSetup\ –addJiniClientLibs.bat –addJiniServerLibs.bat –startHTTPServer.bat –startRMID.bat –startReggie.bat Set path=%path%;c:\jiniSetup\ Also make sure JDK or 1.3 are installed

Start lookup service Start the first dos terminal Remove previous reggie data if necessary –>rmdir /s c:\temp\reggie_log –>rmdir /s c:\temp\reggie Check if jdk is setup ok (must and up) –>java –version Set up jini libs for both client and server –>addJiniServerLibs –>addJiniClientLibs

Start lookup service Start http server –startHTTPServer.bat Start RMI daemon –startRMID.bat Start lookup service(reggie) –startReggie.bat

Run HelloServer Start a dos terminal Add server setting –>addJiniServerLibs.bat cd c:\nuggets\pages\examples\jiniexample1 Make sure the settings of setInstallPoint.bat are correct. recompile HelloServer and HelloClient –>c.bat Run Hello Server (register service to LU service) –>cd server-side –>newRun.bat

Run HelloServer You should see the following output: server: JoinManager = server: LookupLocator = jini://localhost/ server: LookupLocator.host = localhost server: LookupLocator.port = 4160 server: ServiceRegistrar = server: ServiceID = 7e23b b-8c13-a6e0b1e57b0f server: received ServiceID = 32831a a-9298-a5ca617b6d40 server: ServiceMatches = server: num matches = 3 server: svc item 0: server: svc object 0: MyServer_Stub[RemoteStub [ref: [endpoint:[ :1945](remote),objID:[d107f:e6c86ceb27:-8000, 0]]]] server: svc item 1: server: svc object 1: MyServer_Stub[RemoteStub [ref: [endpoint:[ :2017](remote),objID:[0]]]] server: svc item 2: server: svc object 2: * *

Run Hello Client Start a dos terminal Add client setting –>addJiniClientLibs.bat cd c:\nuggets\pages\examples\jiniexample1 Make sure the settings of setInstallPoint.bat are correct. Run Hello Client –>cd client-side –>newRun.bat

Run Hello Client You should see the following output: client: LookupLocator = jini://localhost/ client: LookupLocator.host = localhost client: LookupLocator.port = 4160 client: ServiceRegistrar = client: ServiceID = 7e23b b-8c13-a6e0b1e57b0f client: ServiceTemplate = client: Service object = MyServer_Stub[RemoteStub [ref: [endpoint:[ :2017](remote),objID:[d107f:e6c877b55e:-8000, 0]]]] client: Calling sayHello() --->Hello World from MyServer!<---

Jini Example 2 Recompile if necessary and add Jini libs –>cd JiniExample2/ –>c.bat Start lookup service (as jini example 1) –Start already Run HelloServer –>cd JiniExample2/server-side –>r.bat Run HelloClient –>cd JiniExample2/client-side –>r.bat

Jini Example 3 Recompile if necessary and add Jini libs –>cd JiniExample3/ –>c.bat Start lookup service (as jini example 1) –Start already Run HelloServer –>cd JiniExample3/server-side –>r.bat Run HelloClient –>cd JiniExample3/client-side –>r.bat

Jini Example 4 Recompile if necessary and add Jini libs –>cd JiniExample4/ –>c.bat Start lookup service (as jini example 1) –Start already Run HelloServer –>cd JiniExample4/server-side –>r.bat Run HelloClient –>cd JiniExample4/client-side –>r.bat