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
Ïà¹ØÎĵµ£º
×î¼òµ¥µÄ·þÎñÆ÷½ÓÊܵ¥Óû§ÇëÇóµÄsocket±à³ÌÄ£ÐÍ£¬´úÂëдµÃ²»ºÃ£¬Ö»ÊÇÓÃÀ´²ûÃ÷Òâ˼
client side
import java.net.*;
import java.util.*;
import java.io.*;
public class Client {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
tr ......
Ò»¡¢JAVA¡£ÒªÏë³ÉΪJAVA£¨¸ß¼¶£©¹¤³Ìʦ¿Ï¶¨ÒªÑ§Ï°JAVA¡£Ò»°ãµÄ³ÌÐòÔ±»òÐíÖ»ÐèÖªµÀһЩJAVAµÄÓï·¨½á¹¹¾Í¿ÉÒÔÓ¦¸¶ÁË¡£µ«Òª³ÉΪJAVA£¨¸ß¼¶£©¹¤³Ìʦ£¬ÄúÒª¶ÔJAVA×ö±È½ÏÉîÈëµÄÑо¿¡£ÄúÓ¦¸Ã¶àÑо¿Ò»ÏÂJDBC¡¢IO°ü¡¢Util°ü¡¢Text°ü¡¢JMS¡¢EJB¡¢RMI¡¢Ï̡߳£Èç¹û¿ÉÄÜ£¬Ï£ÍûÄú¶ÔJAVAµÄËùÓаü¶¼ä¯ÀÀһϣ¬ÖªµÀ´ó¸ÅµÄAPI£¬ÕâÑùÄú¾Í·¢ÏÖÆä ......
JAVA Ìåϵ¼°Æä±à³ÌµÄ¹ý³Ì
°¥£¬±ÏÒµÁËÒ²Ò»¶Îʱ¼äÁË£¬Ö»ÖªµÀÌìÌì³´úÂ룬 JAVA µÄ»ù´¡ÖªÊ¶»ù±¾ÊÇÍüµôÁË£¬¼ÓÉÏÒÔǰһֱûÓÐϵͳµØѧϰ¹ý£¬¸Ð¾õ¿ìÒª·ÏÁË¡£»¹ÊǺúþ²ÏÂÐÄÀ´Ñ§Ñ§»ù´¡°É¡£²»ÄÜÌìÌ쿼³´úÂë¹ýÈÕ×Ó°¡¡£¡£¡£¡££¨ÏÂÎÄ´ó¶àÀ´×Կα¾ÒÔ¼°Ò»Ð©¼¼ÊõÊÓƵÉϵÄÄÚÈÝ£¬»ù±¾Àí½âÁËһЩÁË£¬Ê£ÏµÄÓÉÒÔºóµÄѧϰÂýÂýÔ ......
Ò»¡¢Array £¬ Arrays
JavaËùÓГ´æ´¢¼°Ëæ»ú·ÃÎÊÒ»Á¬´®¶ÔÏó”µÄ×ö·¨£¬arrayÊÇ×îÓÐЧÂʵÄÒ»ÖÖ¡£
1¡¢
ЧÂʸߣ¬µ«ÈÝÁ¿¹Ì¶¨ÇÒÎÞ·¨¶¯Ì¬¸Ä±ä¡£
array»¹ÓÐÒ»¸öȱµãÊÇ£¬ÎÞ·¨ÅжÏÆäÖÐʵ¼Ê´æÓжàÉÙÔªËØ£¬lengthÖ»ÊǸæËßÎÒÃÇarrayµÄÈÝÁ¿¡£
2¡¢JavaÖÐÓÐÒ»¸öArraysÀ࣬רÃÅÓÃÀ´²Ù×÷array¡£
a ......
dndÊÇdrag and dropµÄËõд.
javaÖеÄdndÖ÷ÒªÉæ¼°µ½3¸öÀà:TransferHandler(ÓÃÀ´´¦ÀíÊý¾ÝµÄÍϷŹý³Ì),Transferable(ÓÃÀ´°ü×°ÍϷŵÄÊý¾Ý),ºÍDataFlavor(ÓÃÀ´±íʾÍϷŵÄÊý¾ÝµÄÀàÐÍ).ÏÂÃæÀ´½éÉÜÕâ3¸öÀàµÄ·½·¨
1.javax.swing.TransferHandler
ËüÓÐÁ½¸ö¹¹Ô캯Êý:
TransferHandler() ×ÓÀàµÄ±ã½Ý¹¹Ôì·½·¨¡£
TransferHandler(St ......