"Babes-Bolyai" University of Cluj-Napoca
Faculty of Mathematics and Computer Science

Distributed programming - Java platforms
Code
Semes-
ter
Hours: C+S+L
Credits
Type
Section
MI028
6
2+0+1
5
optional
Informatică
MI028
6
2+0+1
5
optional
Matematică-Informatică
Teaching Staff in Charge
Prof. BOIAN Florian Mircea, Ph.D., florin@cs.ubbcluj.ro
Aims
Learning by the students the fundamental, low and middle level, technologies for implement distributed applications. All these technologies are Java based, especially by j2sdk1.4.0 şi j2sdkee1.4 distridutions. Them are directly used in little and medium distributed applications. The middleware - high level - technologies use these technologies in them.
Content
1Java compendium
1.1Main characteristics
1.2First exemples
1.3Java presentation by comparing with C and C++
1.4Exceptions
1.5Java interfaces
1.6Symple programms
2Locale I/O; java.io package, JDBC:ODBC gate , Mailer class
2.1Stream access and random access
2.2FIle system management: File class
2.3Inputs and outputs
2.4Programms using I/O operations
2.5The gate JDBC:ODBC for some kinds of data bases access
2.6Electronic mail send: the class Mailer
3Java threads
3.1External processes start from Java
3.2Java threads
3.3Programs using Java threads
4Java communications with socket
4.1The java.net package
4.2InetAddress class
4.3Send and receive with UDP
4.4TCP communications
4.5Simple TCP examples
4.6Access to Internet resources by URL
4.7Communications using CGI and URLConnection
5Remote Method Invocations
5.1RMI scene with one example
5.2Inside of RMI
5.3RMI with activation
5.4The $Note$ (Marks) disrributed application using RMI
6Java servlet technology
6.1The servlet concept
6.2Servlet containers
6.3Compilers a sourse servlet
6.4First servlet examples
6.5Servlet versus CGI
6.6Specific servlet facilities
6.7Few complex examples
7Java Server Pages (JSP)
7.1Introduction
7.2HTML static text and comments
7.3JSP tags
7.4Using beans in JSP
References
1. Athanasiu I., Limbajul Java, Editura Computer Libris Agora, Cluj, 1998
2. Boian F.M., Ferdean C. M., Boian R.F. Dragos R.C. Programare concurenta pe platforme Unix, Windows, Editura Albastra - grupul Microinformatica, Cluj, 2002
3. Boian F.M., Programare distribuita în Internet; metode si aplicatii, Editura Albastra, Cluj, 1998
4. Darwin I. Java CookBook, O@ Reilly, 2001
5. Geary D.M. Advanced Java Server Pages, O@ Reilly, 2001
6. Hunter J. Java Servlet Programming O@;Reilly, 1998
7. Kurniawan B. Java for the Web with Servlet, JSP, and EJB: A Developer@s Guide to J2EE Solutions. Wrox press, 2003
8. Neward T. Server Based Java Programming, O@ Reilly, 2000
9. *** http://java.sun.com/docs/guide/net/index.html
10. *** http://java.sun.com/docs/guide/rmi/index.html
Assessment
A compulsory application exam on finish of the semester. The mark is a mean between:
· the application exam mark 65%;
· the semester activity: quality of programms, documentations etc. 35%