Assignment 1 tutorial. Assignment 1 Programming part: – Socket programming: a chat room application – Individual assignment – Deadline 20 th Oct 2015.

Slides:



Advertisements
Similar presentations
 Please sit next to your partner.  If you don’t have a partner, please find one now.
Advertisements

COEN 445 Communication Networks and Protocols Lab 4
Multilingual Chat Client-Server-Client. Main Features : Its a GUI based Chat Server The multilingual chat currently features two languages English & Hindi.
Copyright © Mountain Home Training & Consulting, Inc. i MHTC VirtualOFFICE 3.0.
CHATROOM PROJECT Supervised by DAN WITZNER HANSEN Group Members ESWAR EMMADI SURESH KUMAR DONTHA.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
Introduction to Java Lab CS110A – Lab Section 004 Instructor: Duo Wei.
Programming project #4 1 CS502 Spring 2006 Programming Project #4 Web Server CS-502 Operating Systems Spring 2006.
A Chat Server DBI – Representation and Management of Data on the Internet.
CS-3103 & CS-502, Summer 2006 Programming Project #31 Programming Project #3 Web Server CS-3103 & CS-502 Operating Systems.
Chat Room Project (IM- E2003) Supervised by : Dan Witzner Hansen Group Member: Xijie Lu Vu Pham To IT University of Copenhagen 23rd Jan.2004.
Compress a File & Upload Assignments to Blackboard.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
19-Aug-15 About the Chat program. 2 Constraints You can't have two programs (or two copies of the same program) listen to the same port on the same machine.
CPSC 233 Tutorial 1 January 19 th /20 th, Introduction Narges Zirakchianzadeh
Inti Online Login Page (Lecturer/Student/Administrator View)
Fall CIS 764 Database Systems Engineering L3: Two Assignments Relating to J2EE.
Socket Lab Info. Computer Network. Requirement Use TCP socket to implement a pair of programs, containing a server and a client. The server program shall.
N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks.
COMP Introduction to Programming Yi Hong May 13, 2015.
Accessing & Submitting Homework myitlab Microsoft Office Professional 1 CSP 1203.
Welcome to the Second Tutorial Welcome to the second part of this information system website tutorial! This tutorial is for church planters. If you’d like.
Drexel University Software Engineering Research Group 1 Eclipse for SE101.
Java Environment CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
CSc2010 Lab Fall 2015 Bing Li. Contact  Name : Bing Li   Website : cs.gsu.edu/~bli6  Office : Suntrust.
Catie Welsh January 10, 2011 MWF 1-1:50 pm Sitterson 014.
Project 1. Goals  Write a simple TCP/IP client that supports a specific protocol  The server is running right now on login.ccs.neu.edu:27993  If your.
Creating and running a Java program. Eclipse Interactive Development Environment (IDE)  Eclipse is an Interactive Development Environment (IDE) for Java.
© Lethbridge/Laganière 2005 Chap. 3: Basing Development on Reusable Technology The Client-Server Architecture A distributed system is a system in.
COEN 445 Communication Networks and Protocols Lab 5
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Texas Forty-Two By: Nate Normandin CS 470. What is Texas Forty-Two? A Domino Game A way for people to learn the game A way for people to play others A.
Chapter 4 Communicating on the Internet. How Works? Most used Feature TCP breaks & reassembles messages into packets IP delivers packets to the.
Download and Install: 1.Java Development Kit (JDK) bin/INTERSHOP.enfinity/WFS/CDS- CDS_Developer-Site/en_US/- /USD/ViewProductDetail-Start?ProductRef=jdk-
XA R7.8 Link Manager How to Manage an R7.8 Environment Ruth Anne Pharr Sr. IT Consultant, CISTECH Inc.
By : SAG3 Members.  Cross platform client interface for Time recording/capturing  MS Project integration to Time tracker  integration to Time.
How to Install Eclipse Click hereClick here to download Eclipse.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Environmental Monitoring at MU Libraries Presented by Amanda Sprochi and Gary Cox.
Install CB 1.8 on Ubuntu. Steps Followed Install Ubuntu (Ubuntu LTS) on Virtual machine – (VMware Workstation) (
CPSC 372 John D. McGregor Module 6 Session 4 Sonar.
Data Communication EDA344, DIT420 Description of Lab 1 and Optional Programming HTTP Assignment Bapi Chatterjee Prajith R G.
1 Crosstalk iON Release 3. 2 New Live Chat Features iON 3  Session Notes –Add and modify notes to a customer session –Review from Chat History or Live.
COMP2322 Lab 4 Socket Programming Toby Lam March 2, 2016.
IBM Academic Initiative JazzHub Overview John Schilt Lead, IBM Academic Initiative Australia / New Zealand UNSW and IET (Young Professionals)
Computer Science I Lab 1 ISMAIL ABUMUHFOUZ | CS 180.
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
1 N. T. University of Athens University of Ljubljana University of Belgrade T. University of Bucharest Tips for the preparation of the e-learning procedure.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Debugging RTC CLI in Eclipse
The Chat Problem.
COMP2322 Lab 4 Socket Programming
Data Communication EDA344, DIT420 Description of Lab 1 and Optional Programming HTTP Assignment Aras Atalar Prajith R G.
Java SWING and Model View Controller (MVC)
CIS 406Competitive Success/tutorialrank.com
CIS 406 Education for Service-- tutorialrank.com.
slides borrowed and adapted from Alex Mariakis and CSE 390a
Programming Assignment I
Lab 10 Instructions You can use g++ on build server, visual studio on local machine or your preferred C++ IDE. Important Note: For your grade, please show.
Moodle Mobile offline features Daniel #mootus16.
Final Project Description
Vinod Kulathumani West Virginia University
Starting TCP Connection – A High Level View
Software Engineering for Internet Applications
Data Communication EDA344, DIT420 Description of Lab 1 and Optional Programming HTTP Assignment Aras Atalar Prajith R G 24/01/2018.
Assignment Preliminaries
Prepared by Janis L. Stevens, CIT 106 Course Coordinator
IBC233 Week 2 Updated Fall 2011.
Homework Reading Machine Projects Labs
Welcome to the Second Tutorial
Presentation transcript:

Assignment 1 tutorial

Assignment 1 Programming part: – Socket programming: a chat room application – Individual assignment – Deadline 20 th Oct 2015 Theory test: – MC questions on OLAT – Will be released next week. – Deadline 20 th Oct 2015

Programming part The chat room: – A server: Spawn a new thread for each new client. Receive and store all messages from producer clients. When a new listener client comes, it first sends all stored message to the client and keeps the client updated. – A producer: Identify to server, it is a “PRODUCER” Read a file and send to the server line by line, until read “.bye” – A listener: Identify to server, it is a “LISTENER” Output all message from the server.

How to start Download the assignment folder from OLAT Skeleton code are provided (you can directly import to Eclipse) Study socket programming in Java. Must be in TCP protocol Messages must be encoded by UTF-8

IDE Event Log Before you start, please follow an online tutorial and install an event logger. (<=5 minutes) Event logger will record every step you do during coding. After you finish your assignment. You need to follow the same tutorial, zip all the logs, and submit a zip file that contains all the logs to OLAT.

How to evaluate In the assignment folder, we provided the “test_script” The “test_script” woks on Mac OSX. You can use the student lab. If you are using your own Linux machine, you need to modify the “test_script” a bit. (details are in the description on OLAT)

What to Submit Export as a jar file, with your OLAT username. E.g., “sgao.jar” MUST include the source code. Event log zip file: “sgao.zip” OLAT forum. . Where to get help

Score assignment Assignment 1 (13 points) (10% of the total course) – Socket programming part. (9 points) Server 5, Producer 2, and Listener 2. – Event log files (2 points) – Theory test. (MC question on OLAT) (2 points)