A. Al数据处理是什么意思
个人理解,AI是人工智能的意思,数据处理那就应该是程序员的意思呗。如果你真的是做这个行业的。又怎么可能不知道这个工作的工作内容是什么?
B. ALDSP涓锷ㄦ佹暟鎹琛ㄨ块梾镄勮В鍐虫柟妗
銆銆涓嶅皯绯荤粺涓閮芥湁锷ㄦ佹暟鎹琛ㄧ殑瀛桦湪 姣斿傛寜镞ユ垨钥呮寜链埚湪鏁版嵁搴扑腑鐢熸垚涓涓琛 浠ユ棩琛ㄤ负渚 鍏惰〃钖岖殑褰㈠纺涓篢ableName_XXXX_XX_XX 濡俆ableName_ _ _ 绛 琛ㄦ槑鍏惰〃鍐呮暟鎹瀛樻斁镄勬槸 骞 链 镞ユ墍浜х敓镄勬暟鎹 鍦ㄨ繖浜涙棩琛ㄤ腑 琛ㄧ粨鏋勫畬鍏ㄧ浉钖 鍙鏄鍦ㄨ〃钖崭笂链夋墍鍖哄埆
銆銆钥屽湪ALDSP浠庡叧绯绘暟鎹搴扑腑瀵煎叆鍏冩暟鎹锛坕mport Meta Data锛夋椂 镞犺烘槸鐩存帴浠庤〃瀵煎叆 杩樻槸浠岙QL璇鍙ュ煎叆 閮藉繀椤绘彁渚涘叾琛ㄥ悕 钖﹀垯镞犳硶鐢熸垚Data Services 浣嗘槸鍦ㄤ笉灏戝㈡埛镄勫簲鐢ㄤ腑 缁忓父鏄瑕佹牴鎹阃夋嫨镄勬椂闂磋寖锲存潵锷ㄦ佺殑镆ヨ涓涓琛ㄦ垨钥呭氢釜琛 镙规嵁瀹㈡埛鎻愬嚭镄勮繖浜涜佹眰 缁忚繃镰旂┒鍙戠幇 鍦ˋLDSP涓瑕佹瘆杈冩柟渚跨殑瑙e喅杩欎釜闂棰 涓昏佸彲浠ラ氲繃涓や釜阃斿缎瑙e喅 鍏朵竴鏄鍦ㄦ暟鎹搴撶鐢熸垚涓涓鍑芥暟锛坒unction锛夋垨钥呭瓨鍌ㄨ繃绋嬶纸store procere锛 璁惧畾琛ㄥ悕浣滀负鍙傛暟 铹跺悗鐢盇LDSP瀵煎叆鐢熸垚Data Services 鍏朵簩鏄鐩存帴鍒╃敤ALDSP鍙浠ヤ粠鍑芥暟瀵煎叆鍏冩暟鎹镄勫姛鑳 鍏堢敓鎴愪竴涓浠ヨ〃钖崭负鍙傛暟镄勫嚱鏁 铹跺悗瀵煎叆ALDSP鐢熸垚Data Services
銆銆浠ヤ笅涓昏佷粙缁岖浜岀嶆柟娉旷殑瀹炵幇
銆銆鍦ˋLDSP涓 鍙浠ヤ粠澶氱嶅纾鏋勬暟鎹婧愪腑鍙栧缑鏁版嵁 鍖呮嫭鏁版嵁搴 flatfile xml鏂囦欢 Web Services Java鍑芥暟绛 浠嶫ava鍑芥暟涓鐢熸垚Data Services链夊嚑镣硅佹敞镒忕殑鍦版柟 璇﹁佸叾涓鍖呮嫭鍑芥暟镄勫畾涔夊繀椤讳负static 杩樻湁灏辨槸杩斿洖鍊兼湁浜涢檺鍒 涓昏佸彲浠ヨ繑锲炰袱绉岖被鍨 鍏朵竴涓筼ava铡熷嬬被鍨嬶纸primitive types锛夋垨钥呭师濮嬬被鍨嬬殑鏁扮粍 鍏朵簩涓哄嶆潅绫诲瀷锛坧lex types锛夋垨钥呭嶆潅绫诲瀷镄勬暟缁 鍦ㄤ竴鑸镄凧ava绋嫔簭涓 杩斿洖澶嶆潅绫诲瀷鏁版嵁涓鑸浼氱敤鍒癑avaBean鎴栬匤avaBean镄勬暟缁勬垨钥呯洿鎺ョ敤涓涓瀹瑰櫒杩斿洖 浣嗘槸瀵笰LDSP钥岃█ 镞犺烘槸瀹瑰櫒鎴栬匤avaBean镄勬暟鎹 ALDSP鍧囦笉鑳戒粠涓銮峰彇鍒版墍闇镄勫厓鏁版嵁锛圡eta Data锛変俊鎭 瑕佹弧瓒矨LDSP鍏冩暟鎹銮峰彇镄勮佹眰 鎴戜滑鍙浠ラ氲繃涓涓狫ava to XML鎴栬匤avaBena镄勬妧链𨱒ュ瑰叾杩斿洖鍊艰繘琛屽皝瑁
銆銆阍埚逛互涓婅繖浜涙儏鍐 鎴戜滑阃氲繃涓涓妯℃嫙镄勪緥瀛愭潵瀹炵幇杩欎釜瑙e喅鏂规 棣栧厛鍦ㄦ暟鎹搴扑腑鐢熸垚涓ゅ紶琛ㄨ〃钖崭负table 鍜宼able 缁撴瀯濡备笅
銆銆 瀛楁靛悕 绫诲瀷 ID 瀛楃︿覆鍨 NAME 瀛楃︿覆鍨 镙规嵁琛ㄧ殑绫诲瀷 璁捐XMLBean镄刋ML Schema𨱒ラ傚簲鎴戜滑镄勯渶瑕
銆銆浠ヤ笅涓哄浘褰㈠寲瑙嗗浘锛堢敱XMLSPY鐢熸垚锛
銆銆
銆銆XML鏂囦欢婧愪唬镰佸备笅
銆銆<锛焫ml version= 锛> <xs schema xmlns xs= xmlns tns= targetNamespace= elementFormDefault= qualified attributeFormDefault= unqualified > <xs element name= AllUser > <xs plexType> <xs sequence> <xs element name= User minOccurs= maxOccurs= unbounded > <xs plexType> <xs sequence> <xs element name= ID type= xs string /> <xs element name= Name type= xs string /> </xs sequence> </xs plexType> </xs element> </xs sequence> </xs plexType> </xs element> </xs schema>铹跺湪鍦╓orkshop閲屾柊寤轰竴涓搴旂敤绋嫔簭 鍐嶆柊寤轰竴涓猄chema Project 鍐嶆柊寤轰竴涓猉ML Schema濡备笅镓绀
銆銆淇濆瓨AllUser xsd钖庝细镊锷ㄧ紪璇戞垚鐢焁MLBean镄勫寘
銆銆
銆銆杩欐牱 鎴戜滑灏卞彲浠ュ湪瀹氢箟镄凧ava绫讳腑杩斿洖XMLBean绫诲瀷镄勬暟鎹浜
銆銆
銆銆鎺ヤ笅𨱒ュ湪褰揿墠搴旂敤绋嫔簭涓鏂板缓涓涓狫ava宸ョ▼ 锷犱竴涓狫ava绫 鐢熸垚涓涓绫诲备笅
銆銆import java sql Connection import java sql Driver import java sql ResultSet import java sql Statement import java util Hashtable import javax naming Context import javax naming InitialContext import javax sql DataSource import openuri temp testDynamicTable allUser AllUserDocument
銆銆public class DynamicTable { //鍑芥暟镄勫嚱鏁颁负琛ㄥ悕public static AllUserDocument getUser锛圫tring tablename锛
銆銆{ AllUserDocument doc AllUserDocument AllUser alluser AllUserDocument AllUser User user //鍏堢敓鎴愪竴涓猉MLBean镄勫疄渚媎oc = AllUserDocument Factory newInstance锛堬级 //镀忚繖涓瀹炰緥涓锷犲叆涓涓鑺傜偣alluser = doc addNewAllUser锛堬级 try { Hashtable env = new Hashtable锛堬级 Context ctx = null ctx = new InitialContext锛堬级 DataSource ds = 锛图ataSource锛塩tx lookup锛 cgDataSource 锛 Connection conn = ds getConnection锛堬级 Statement stmt = conn createStatement锛堬级 ResultSet rs = stmt executeQuery锛 select id name from +tablename锛 //阃氲繃JDBC鍙栧缑鏁版嵁闆哛esultSet while锛坮s next锛堬级锛
銆銆{ //铹跺悗灏嗘暟鎹闆嗕腑镄勬暟鎹锷犲叆鍒疖MLBean涓璾ser = alluser addNewUser锛堬级 user setID锛坮s getString锛 id 锛夛级 user setName锛坮s getString锛 name 锛夛级 } System out println锛坉oc toString锛堬级锛 } catch锛圗xception ex锛
銆銆{ ex printStackTrace锛堬级 } //灏嗙粨鏋滈泦鍖呰呬负XMLBean钖庤繑锲沥eturn doc }浠ヤ笂浠g爜镄勪富瑕佸师鐞嗘槸 阃氲繃JNDI鍙栧缑鏁版嵁婧 铹跺悗浣跨敤镙规嵁浼犲叆镄勮〃钖嶆嫾瑁呭嚭涓涓猄QL镆ヨ㈣鍙 铹跺悗鐢卞彇寰楃粨鏋滈泦钖庣敓鎴怷MLBean杩斿洖
銆銆缁忚繃缂栬疟钖庡氨鍙浠ュ煎叆鐢熸垚涓涓狣ata Services浜
銆銆
銆銆链钖庢祴璇旷粨鏋滃备笅
銆銆
lishixin/Article/program/Java/hx/201311/26163