javaµÄÇáÁ¿¼¶Ó¦ÓÃseasar+flex
Seasar2
Ò»¸öÏîÄ¿ÖÐÒªÓõ½seasar+flex,¾Ý˵Õâ¸ö¶«Î÷ÔÚСÈÕ±¾ÄÇÀïÒѾ´óÁ¿ÓÃÓÚÆóÒµ¼¶B/SÓ¦Ó㬵±È»Õâ¸ö¿ªÔ´×é¼þÒ²ÊÇËûÃÇ¿ª·¢µÄ,ËùÒÔÊÕ¼¯Ò»Ð©Ïà¹Ø×ÊÁÏ,±¸Íü..
Ëùν“Seasar2”¾ÍÊÇÒ»¸ö“ÇáÁ¿¼¶ÈÝÆ÷”£¬ÃæÏòÎÞ·¨°ÚÍÑ“Java Ó¦Óÿª·¢”Ö®·³ÄÕµÄËùν“¿ª·¢Õß”£¬ËüÄܹ»±£Ö¤¿ª·¢µÄ“¸ßÉú²úÂʺ͸ßÆ·ÖÊ”¡£²¢ÇÒͬ“ÆäËüÇáÁ¿¼¶ÈÝÆ÷”²»Í¬µÄÊÇ£¬“ÍêÈ«²»ÐèÒªÊéдÉ趨Îļþ”£¬“¾ÍËãÊÇÓ¦ÓóÌÐò·¢Éú¸Ä¶¯Ò²ÎÞÐèÔÙ´ÎÆ𶯼´¿ÉÖ±½Óʶ±ð±ä¸ü£¬Òò´Ë¾ßÓнű¾ÓïÑÔµÄÁé»îÐÔ”.
ΪÁ˲»ÓÃдÉ趨ÎļþÒ²Äܹ»ÔËÐУ¬Convention over ConfigurationµÄ˼ÏëµÃÒÔ²ÉÓá£Convention over Configuration¾ÍÊÇÖ¸£¬“Ö»Òª×ñÊØÒ»¸öÊʵ±µÄ¹æÔ¼£¬¼´Ê¹²»ÓýøÐзdz£Âé·³µÄÉ趨£¬¿ò¼Ü½á¹¹Ò²¿ÉÒÔ×Ô¶¯ÌæÎÒÃǸ㶨µÄ˼Ï딣¬Õâһ˼ÏëÊÇRuby on RailsÖÐËù³«µ¼µÄ¡£Seasar2µÄConvention over ConfigurationÊÇ´ÓRuby on Rails ÄÇÀïµÃµ½µÄÌáʾ¶ø²úÉúµÄ¡£
ʹÓÃSeasar2µÄ»°£¬¶ÔÓÚ½ö½öÐèҪά»¤Êý¾Ý±íÕâÑù¼òµ¥µÄÓ¦Ó㬿ÉÒÔÔÚ²»µ½3·ÖÖÓµÄʱ¼äÀï×÷³É¡£
»ùÓÚ¶¯»(Flash)µÄÑÝʾ°æÔÚÕâÀï
Ó¦ÓóÌÐò·¢Éú¸Ä¶¯Ö®Ê±Ò²ÎÞÐèÆô¶¯±ã¿ÉÁ¢¼´Ê¶±ð±ä¸üµÄ»úÄÜÔÚSeasar2Àï±»³ÆΪHOT deploy¡£
Seasar2µÄ´´×÷Öвο¼ÁËRuby on Rails¡¢ Spring Framework¡¢ PicoContainer
Ïà¹ØÎĵµ£º
JAVA Ìåϵ¼°Æä±à³ÌµÄ¹ý³Ì
°¥£¬±ÏÒµÁËÒ²Ò»¶Îʱ¼äÁË£¬Ö»ÖªµÀÌìÌì³´úÂ룬 JAVA µÄ»ù´¡ÖªÊ¶»ù±¾ÊÇÍüµôÁË£¬¼ÓÉÏÒÔǰһֱûÓÐϵͳµØѧϰ¹ý£¬¸Ð¾õ¿ìÒª·ÏÁË¡£»¹ÊǺúþ²ÏÂÐÄÀ´Ñ§Ñ§»ù´¡°É¡£²»ÄÜÌìÌ쿼³´úÂë¹ýÈÕ×Ó°¡¡£¡£¡£¡££¨ÏÂÎÄ´ó¶àÀ´×Կα¾ÒÔ¼°Ò»Ð©¼¼ÊõÊÓƵÉϵÄÄÚÈÝ£¬»ù±¾Àí½âÁËһЩÁË£¬Ê£ÏµÄÓÉÒÔºóµÄѧϰÂýÂýÔ ......
ÔÚJAVAÖÐʹÓÃÍÏק¹¦ÄÜ
sunÔÚjava2ÖÐÒýÈëÁËһЩеķ½·¨À´°ïÖúʵÏÖÍÏק¹¦ÄÜ£¬ÕâЩеÄÀàÔÚjava.awt.dnd°üÖÐ
ʵÏÖÒ»¸öD&D²Ù×÷Ò»°ã°üÀ¨Èý¸ö²½Öè:
Ê×ÏÈʵÏÖÒ»¸öÍÏקԴ£¬Õâ¸öÍÏקԴºÍÏàÓ¦µÄ×é¼þÊǹØÁªÆðÀ´µÄ
µÚ¶þ²½ÊµÏÖÒ»¸öÍÏקĿ±ê£¬Õâ¸öÄ¿±êÓÃÀ´ÊµÏÖÍÏקÎïµÄ½ÓÊÕ
µÚÈý²½ÊµÏÖÒ»¸öÊý¾Ý´«Êä¶ÔÏó ......
ÕâÊÇÒ»¸öʵսÖзdz£ÖØÒªµ«ÊÇÈÝÒ×±»ºöÊӵĸÅÄ˵ËüÖØÒª£¬ÊÇÒòΪËü±ÈDatcbaseÖØÒª£»ËµËüÈÝÒ×±»ºöÊÓÒ²ÊÇͬÑùµÄÔÒò£¬Ëü¾³£±»Datcbase¸ÅÄîÌæ´ú¡£
¡¡¡¡Èç¹ûÄã¾ÑéºÍ¾ÀúÖÐûÓÐ״̬Õâ¸ö¸ÅÄ¼«¶ËµØ˵£º¿ÉÄÜÄãµÄjava±à³Ì±à³ÌSys¾Ñ黹δ»ýÀÛµ½Ò»¶¨³Ì¶È£¬×´Ì¬ÊÇÿ¸öjava±à³Ì±à³Ì³ÌʽԱÉîÈëjava±à³Ì±à³ÌSysºó±ØÈ»Åöµ½µÄÎÊÌâ¡£
......
µÚÒ»£¬Ì¸Ì¸final, finally, finalizeµÄÇø±ð¡£
final ÐÞÊηû£¨¹Ø¼ü×Ö£©Èç¹ûÒ»¸öÀà±»ÉùÃ÷Ϊfinal£¬Òâζ×ÅËü²»ÄÜÔÙÅÉÉú³öеÄ×ÓÀ࣬²»ÄÜ×÷Ϊ¸¸Àà±»¼Ì³Ð¡£Òò´ËÒ»¸öÀ಻Äܼȱ»ÉùÃ÷Ϊ abstractµÄ£¬ÓÖ±»ÉùÃ÷ΪfinalµÄ¡£½«±äÁ¿»ò·½·¨ÉùÃ÷Ϊfinal£¬¿ÉÒÔ±£Ö¤ËüÃÇÔÚʹÓÃÖв»±»¸Ä±ä¡£±»ÉùÃ÷ΪfinalµÄ±äÁ¿±ØÐëÔÚÉùÃ÷ʱ¸ø¶¨³õÖµ£¬¶øÔÚÒÔ ......
±¾Ê¾Àý´ÓÍøÉÏÏÂÔØÒ»±¾Ð¡Ëµ£¬²¢±£´æΪ UTF-8 ¸ñʽ¡£
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.net.MalformedURLException;
......