Javaѧϰ±Ê¼Ç£¨2£©ÌåÑéÔƼÆËã
ÏÖÔÚ£¬Ì¸ÔƼÆËãµÄ¿É¶àÁË£¬²»¹ý£¬Ò»°ã±È½Ï¹Ø×¢µÄÊÇGoogleºÍAmazonµÄÔÆ·þÎñ¡£´Ó´ó·¶Î§À´¿´£¬Ò²Ö»ÓÐÕâÁ½¼Ò»ñµÃÁ˹«Öڵĸü¶à¹Ø×¢¡£±ÈÈ磬ÎÒ¸öÈ˺ܸÐÐËȤµÄ£¬¾ÍÊÇGoogleµÄApp EngineʹÓû§Äܹ»ÔÚGoogle»ù´¡ÉèÊ©ÉϹ¹½¨ºÍÍÐ¹Ü Web Ó¦ÓóÌÐò¡£ÖÁÓÚAmazon£¬ËüµÄAmazonWeb Services»¹°üÀ¨Elastic Cloud Compute (EC2)¼ÆËãWeb·þÎñ£¬¸Ã·þÎñ¿ÉÒÔÔÚAmazonµÄ»ù´¡ÉèÊ©ÉÏÍйÜÓ¦ÓóÌÐò¡£ÖÁÓÚMicrosoft®µÄ Azure£¬Sun Microsystems£¬ÎÒÃÇ´ó¼ÒµÈ×Å¿´ÈÈÄÖ°É¡£ÒÔAmazonµÄS3²úƷΪÀý¡£AmazonSimple Storage Service (S3)ÊÇÒ»¸ö¹«¿ªµÄ·þÎñ£¬WebÓ¦ÓóÌÐò¿ª·¢ÈËÔ±¿ÉÒÔʹÓÃËü´æ´¢Êý×Ö×ʲú£¬°üÀ¨Í¼Æ¬¡¢ÊÓƵ¡¢ÒôÀÖºÍÎĵµ¡£S3Ìṩһ¸ö RESTful APIÒÔ±à³Ì·½Ê½ÊµÏÖÓë¸Ã·þÎñµÄ½»»¥¡£¹ËÃû˼Ò壬ÕâÊÇÒ»¸ö¹«¿ªµÄ·þÎñ£¬Ê¹ Web ¿ª·¢ÈËÔ±Äܹ»´æ´¢Êý×Ö×ʲú(ÈçͼƬ¡¢ÊÓƵ¡¢ÒôÀÖºÍÎĵµµÈ)£¬ÒÔ±ãÔÚÓ¦ÓóÌÐòÖÐʹÓá£Ê¹ÓÃS3ʱ£¬Ëü¾ÍÏñÒ»¸öλÓÚ Internet µÄ»úÆ÷£¬ÓÐÒ»¸ö°üº¬Êý×Ö×ʲúµÄÓ²ÅÌÇý¶¯¡£ 1.Ò»¸öJavaµÄÑÝʾÀý×Ó ÏÂÃ棬×öÒ»¸ö²âÊÔµÄÀý×Ó£¬ÌåÑéһϡ°ÔÆ¡±µÄ¸Ð¾õ£¬¿´µ½µ×»á²»»á·¢ÔΣ¡ ÀíÂÛÉÏ£¬S3ÊÇÒ»¸öÈ«Çò´æ´¢ÇøÓòÍøÂç(SAN)£¬Ëü¿´ÉÏÈ¥ÏñÒ»¸ö³¬´óµÄÓ²ÅÌ¡£´æ´¢¶ÎÔÚS3ÖÐÊÇURIµÄ¸ù¡£Ò²¾ÍÊÇ˵£¬´æ´¢¶ÎµÄÃû³Æ½«ÊÇÖ¸ÏòS3ÖÐij¸ö¶ÔÏóµÄURIµÄÒ»²¿·Ö¡£ÀýÈ磬Èç¹ûÎÒÓÐÒ»¸öÃûΪ agdocs µÄ´æ´¢¶ÎÒÔ¼°Ò»¸öÃûΪ whitepaper.pdf µÄ¶ÔÏó£¬URI½«ÊÇ£ºhttp://agdocs.s3.amazonaws.com/whitepaper.pdf ¡£Ê¹Óñà³ÌÊÖ¶Îͨ¹ý JetS3t µÇ¼S3¿ÉÒÔ·ÖΪÁ½²½¡£Ê×ÏÈ£¬±ØÐë´´½¨Ò»¸ö AWSCredentials ¶ÔÏó£¬È»ºó½«Ëü´«µÝµ½ S3Service ¶ÔÏó¡£AWSCredentials ¶ÔÏó·Ç³£¼òµ¥¡£Ëü½«·ÃÎÊÃÜÔ¿ºÍÃØÃÜÃÜÔ¿ÊÓΪ String¡£S3Service ¶ÔÏóʵ¼ÊÉÏÊÇÒ»¸ö½Ó¿ÚÀàÐÍ¡£ÒòΪS3ͬʱÌṩRESTful APIºÍÒ»¸ö SOAP API£¬JetS3t ¿â¿ÉÒÔÌṩÁ½ÖÖʵÏÖÀàÐÍ£ºRestS3Service ºÍ SoapS3Service¡£¾Í±¾ÎĶøÑÔ(°üÀ¨´ó²¿·ÖS3ÊÂÎñ)£¬RESTful APIµÄ¼ò½àÐÔÈÃËü³ÉΪһ¸öºÜºÃµÄÑ¡Ôñ¡£ ´´½¨Ò»¸öÁ¬½ÓµÄ RestS3Service ʵÀýºÜ¼òµ¥£¬ÈçÇåµ¥ 1 Ëùʾ£º ²½Öè 1. ´´½¨Ò»¸ö JetS3t µÄ RestS3Service ʵÀý def awsAccessKey = "blahblah" def awsSecretKey = "blah-blah" def awsCredentials = new AWSCredentials(awsAccessKey, awsSecretKey) def s3Service = new RestS3Service(awsCredentials) ÏÖÔÚ¿ÉÒÔÖ´ÐÐһЩÓÐȤµÄ²Ù×÷ÁË£ºÀýÈ磬´´½¨´æ´¢¶Î¡¢Ìí¼ÓÒ»¸öӰƬ£¬È»ºó»ñÈ¡Ò»¸öÓÐÊ
Ïà¹ØÎĵµ£º
½ñÌì½â´ðһЩͬѧÔÚѧ¿ª·¢¹ý³ÌÖеÄÆÕ±éÎÊÌâ,¾ÍÊÇÈçºÎѧºÃÒ»ÃÅÓïÑÔ?
ÎÒÊÇÕâÑùÀ´Àí½âµÄ,Òª×öÈκÎÊÂÎï,Ê×ÏÈÒª·ÖÎöΪʲôҪ×ö,Ö»ÓаѺËÐĵÄ,ÄÚÐĵÄÔÒòÕÒµ½²ÅÄÜ°ÑÒ»¼þÊÂÇé×öºÃ,·ñÔò,Ä㻨ÔÙ¶àµÄѧ·ÑѧijÖÖ¼¼ÊõÈÔÈ»»áÒ»ÎÞËù»ò,´ÓÎÒ¸öÈ˵ijɳ¤¹ý³ÌÀ´½«ÎÒÊÇ´Ó97Äê½Ó´¥¼ÆËã»ú,¿ªÊ¼Ñ§µÄһ̤ºýÍ¿,²»ÖªµÀÀÏʦÔÚ½²Ê²Ã´,²»ÖªµÀѧÁË»áÓÐʲ ......
Ò»Ö±¶¼¸Ðµ½ºÜÃÔ㣬¶ÔÓÚÓïÑÔµÄÑ¡Ôñ£¬ÒòΪ»¹ÊDzËÄñµÄÔÒò£¬ÎÞ·¨¿´Í¸ÀïÃæµÄÖÖÖÖ¹Øϵ£¬Ò»Ö±ÔÚ¾À½áÆäÖС£Æäʵ×Ô¼ºÒ²Ã÷°×“´óµÀÖÁ¼ò”£¬µ«»¹ÊÇ°´ÄͲ»×¡¿ñÏëµÄ˼Ð÷£¬ÌرðÊǵ±´Ó¹«Ë¾³ö²î»ØÀ´Ö®ºó£¬¼¸Ì춼ûÓÐ×öʲôÊÂÇé¡£
¶ÔCÓÐÒ»ÖÖÆ«ºÃ£¬ËùÒÔÒ»Ö±ÔÚÐÄÀï¾ÍÓеãÅųâjava¡£ËäÈ»javaÖÐÒ²ÓкܶණÎ÷Ҫѧ£¬µ«ÊÇDZÒâʶÀïÃæ¶ÔÕ ......
×òÌ죬ÎÒµÄÅóÓÑÇë½ÌÎÒÕýÔò±í´ïʽ¡£ÎÒÒ²ºÃ¾ÃûÓÐд¹ýÕýÔò±í´ïʽÁË£¬×òÌì¸ÕºÃ¿´ÁËÏÂÈçÅôÍø´´Ê¼ÈËÑîÖпÆÀÏʦ¹ØÓÚÕýÔò±í´ïʽµÄ½²½â¡£Ê¹ÎÒ¼ÓÉîÁËÕýÔò±í´ïʽµÄÓ¡Ïñ¡£ÏÖÎÒ°ÑËû×ܽáÏ£º
Ðí¶àÓïÑÔ£¬°üÀ¨Perl¡¢PHP¡¢Python¡¢JavaScriptºÍJScript£¬¶¼Ö§³ÖÓÃÕýÔò ......
Java ×îеÄʼþ´¦Àí·½·¨ÊÇ»ùÓÚÊÚȨʼþÄ£ÐÍ
ʼþÔ´Éú³Éʼþ²¢½«Æä·¢ËÍÖÁÒ»¸ö»ò¶à¸ö¼àÌýÆ÷
¼àÌýÆ÷¼òµ¥µØµÈ´ý£¬Ö±µ½ËüÊÕµ½Ò»¸öʼþ¡£Ò»µ©Ê¼þ±»½ÓÊÜ£¬¼àÌýÆ÷½«´¦ÀíÕâЩʼþ£¬È»ºó·µ»Ø¡£
ʼþ£ºÔÚÊÚȨʼþÄ£ÐÍÖУ¬Ê¼þÊÇÒ»¸öÃèÊöʼþԴ״̬¸Ä±äµÄ¶ÔÏó ¡£
ͨ¹ýÊó±ê¡¢¼üÅÌÓë GUI ½çÃæÖ±½Ó»ò¼ä½Ó½»»¥¶¼»áÉú³ÉÊ ......
Ò»¡¢Ê²Ã´ÊÇJavaÐéÄâ»ú
JavaÐéÄâ»úÊÇÒ»¸öÏëÏóÖеĻúÆ÷,ÔÚʵ¼ÊµÄ¼ÆËã»úÉÏͨ¹ýÈí¼þÄ£ÄâÀ´ÊµÏÖ¡£JavaÐéÄâ»úÓÐ×Ô¼ºÏëÏóÖеÄÓ²¼þ,Èç´¦ÀíÆ÷¡¢¶ÑÕ»¡¢¼Ä´æÆ÷µÈ,»¹¾ßÓÐÏàÓ¦µÄÖ¸Áîϵͳ¡£
1.ΪʲôҪʹÓÃJavaÐéÄâ»ú
JavaÓïÑÔµÄÒ»¸ö·Ç³£ÖØÒªµÄÌصã¾ÍÊÇÓëƽ̨µÄÎÞ¹ØÐÔ¡£¶øʹÓÃJavaÐéÄâ»úÊÇʵÏÖÕâÒ»ÌصãµÄ¹Ø¼ü¡£Ò»°ãµÄ¸ß¼¶ÓïÑÔÈç¹ ......