Presentation

Download Report

Transcript Presentation

CS 542 Final Project
Overview
Purdue University
Spring 2016
Don’t miss those dates
• The hard deadline for Project Proposal is Feb. 11, 2016.
• Last Date for Project Submission: April 14, 2016, 11:59 pm.
• Demonstration of projects will be scheduled on the next week after
submission.
Project proposal
• Due to Feb 11
• You can choose your own topic or one from the list.
• Must include:
•
Project title
• Good idea to include:
•
•
Description
Implementation ideas and details
•
•
•
•
•
Platform
Programming Language
Additional software
Functionality
Conditions and limitations
Java RMI
useful links
• Overview
• Getting Started Using JavaTM RMI
• Example from the course web page
Java RMI Concept
Java RMI
• Processes 1, 2, 3 run only once at the start and the rest of the time
applications communicate with each other directly using only stub of
remote object.
• Starting the application it is necessary to set option
“-Djava.rmi.server.codebase”
to the full path of the directory with binary files of the project.
Linux socket API
useful links
• Beej's Guide to Network Programming
Using Internet Sockets
• Programming Linux sockets, Part 1: Using TCP/IP
• Programming Linux sockets, Part 2: Using UDP
• More examples
Connection
establishment
Data (request)
Data reply