20165210 Java ninth week learning summary

20165210 Java ninth week learning summary

Teaching material learning content

- Chapter 13 Learning Summary

  1. URL class:
  • URL constructor:
try { URL url = new URL("http://www.google.com");
}
catch(MalformedURLException e) {
    System.out.println ("Bad URL:"+url);
}
  • Read the resource in the URL
  1. InetAddress class:
  • Representation of address:
1. 域名
2. IP 地址
  • Get address:
1. 获取Internet上主机的地址
2. 获取本地机的地址
  1. socket
  • Socket overview
  • client socket
  • ServerSocket objects and server-side sockets
  • Use multithreading technology
  1. UDP datagram
  • send packets
  • accept packets
  1. broadcast datagram
  2. Java remote call
  • Remote objects and their proxies:
1. 远程对象
2. 代理与存根
3. Remote接口
  • Design details of RMI:
1. 扩展Remote接口
2. 远程对象
3. 存根与代理
4. 启动注册:rmiregistry
5. 启动远程对象服务
6. 运行客户端程序
  1. Application examples

    code hosting

Summary of the wrong questions in last week's class test




Comprehension:

There are experiments this week, so the code is not too much, but the content is still relatively difficult. If you can't find it, ask your classmates and ask your teacher. It is best to go to Baidu to solve it yourself. I hope you will learn more knowledge in the future.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325071989&siteId=291194637