中文一二三区_九九在线中文字幕无码_国产一二区av_38激情网_欧美一区=区三区_亚洲高清免费观看在线视频

首頁 > 考試輔導 > 計算機考試 > JAVA認證 > JAVA認證交流指導 > 一位通過SCJD的外國人的心得

一位通過SCJD的外國人的心得

       today i check and found myself passed scjd. i used to think that sun will email me about the result but it is not necessary. i downloaded the assignment(flight by night) on march 13, 2002, uploaded on may 3rd, 2002(unable to upload first, solved 1 day after i emailed who2contact), and took the essay test (only 5 questions) on may 12th, 2002, got passed on may 23th, 2002. result:
  test: sun certified developer for the java 2 platform (310-027)
  date taken: 2002-05-23 01:31:17.153
  grade: p
  score: 0142
  general considerations(maximum = 58): 54
  documentation(maximum = 20): 20
  gui(maximum = 24): 19
  server(maximum = 53): 49
  
  my major design choice and considerations are as follows: (almost my designchoice.txt)
  i think most of them are common, nothing particular.
  
  1) rmi vs object stream. i use rmi instead of sockets
  
  2) i modify the database class - suncertify.db.data for easy usage. also there are 2 deprecated methods in suncertify.db.data, which need modification.
  
  3) my search logic is pretty simple. for example, say we got three search criteria (origin='', destiny='', carrier=''), i will search three times respectively with each criteria and get three result sets. the record which exists in each of the three result sets is the one we need.
  
  4) local/network
  i have a interface named remotedata, which have all the public methods of data. the remotedataimpl is the rmi implementation in server of this interface, which just maps the remote invocations to local ones. also in data class, i have a dobook() method which is used to deal with the booking process in the sequence of lock, read, modify if applicable and unlock the target record. it might mot be very suitable to put this business method in a data class, but this is the easiest way to conform local mode with network mode, and make sure the booking process is in the same thread in server with network mode. so i can use the reference of current thread as the owner of the lock.

5) lock/unlock
  i use wait/notify mechanism for lock/unlock. i use the reference to the current thread
  as the id(owner) of the lock. when a locked record is to be unlocked, the reference of unlocking thread will be compared with the owner of the lock, if same, unlock the record, otherwise do nothing.
  
  6) server
  my data server just instantiates a remotedataimpl object and bind it with a predefined name.
  i don't designs a gui for server.
  
  7) client gui
  i hava entry class to start the mainscreen according the mode the user selects
  in the command line parameter. the first parameter (-l or -n) indicates the local mode or
  network mode. in local mode, the location of db.db is needed as the second parameter.
  in network mode, the address and port of data server
  
  as to the deployment, i decide to pack the _stud.class into client.jar instead of downloading it from the server for facilitation. so i do not use a securitymanager for the clients.
  
  
  i would like to thank mark, sid, sai, adam and javaranch. next i will run for scwcd.
  
  good luck, every one!
  
  leon wang
  5-29-2002

主站蜘蛛池模板: 免费欧美精品 | 综合视频在线观看 | 操少妇逼 | GOGOGO免费视频观看高清国语 | 日本在线二区 | 伊在人亚洲香蕉精品区麻豆 | 久久婷婷色香五月综合激激情狠狠做五月 | 91国内在线观看 | 嫩草影院久久91 | 天天舔天天爽 | 丁香色欲久久久久久综合网 | 久久亚洲综合色一区二区三区 | 亚洲欧美视频一区 | 久久久久久久久久久久久久av | 性感美女久久久 | 国产乱码精品一区二区三区手机版 | 殴美黄色录像 | 国产一区二区三区精品在线观看 | 日本精品一区二区三区在线观看 | 国产伦一区二区三区免费 | 免费AV一区二区三区3ATV | 大地影视mv高清视频 | 丰满日韩放荡少妇无码视频 | 国产一区二区视频精品 | 办公室艳妇潮喷视频 | 99视频免费观看 | 伦理一区二区 | 亚洲s码欧洲m码国产AV | 久久精品免费在线观看 | 美国一区二区 | 国产内射爽爽大片 | 综合激情亚洲 | 国产欧美亚洲精品第一区软件 | 91精品久久久久久久 | 亚洲三级av在线 | 青青草免费在线观看视频 | 成在人av抽搐高潮喷水流白浆 | 中字幕一区二区三区乱码 | 秋霞在线观看片无码免费 | 国产伦精品一区二区三区免费迷 | 免费的欧美gv在线网站 |