javaÖÐ120¸ö¾µäÎÊÌâ4
91¡¢ServletÖ´ÐÐʱһ°ãʵÏÖÄļ¸¸ö·½·¨£¿
public void init(ServletConfig config)
public ServletConfig getServletConfig()
public String getServletInfo()
public void service(ServletRequest request,ServletResponse response)
public void destroy()
92¡¢j2ee³£ÓõÄÉè¼Æģʽ£¿ËµÃ÷¹¤³§Ä£Ê½¡£
JavaÖеÄ23ÖÖÉè¼Æģʽ£º
Factory£¨¹¤³§Ä£Ê½£©£¬ Builder£¨½¨Ôìģʽ£©£¬ Factory Method£¨¹¤³§·½·¨Ä£Ê½£©£¬Prototype£¨ÔʼģÐÍģʽ£©£¬Singleton£¨µ¥Àýģʽ£©£¬ Facade£¨ÃÅÃæģʽ£©£¬Adapter£¨ÊÊÅäÆ÷ģʽ£©£¬ Bridge£¨ÇÅÁºÄ£Ê½£©£¬ Composite£¨ºÏ³Éģʽ£©£¬Decorator£¨×°ÊÎģʽ£©£¬ Flyweight£¨ÏíԪģʽ£©£¬ Proxy£¨´úÀíģʽ£©£¬Command£¨ÃüÁîģʽ£©£¬ Interpreter£¨½âÊÍÆ÷ģʽ£©£¬ Visitor£¨·ÃÎÊÕßģʽ£©£¬Iterator£¨µü´ú×Óģʽ£©£¬ Mediator£¨µ÷Í£Õßģʽ£©£¬ Memento£¨±¸Íü¼ģʽ£©£¬Observer£¨¹Û²ìÕßģʽ£©£¬ State£¨×´Ì¬Ä£Ê½£©£¬ Strategy£¨²ßÂÔģʽ£©£¬Template Method£¨Ä£°å·½·¨Ä£Ê½£©£¬ Chain Of Responsibleity£¨ÔðÈÎÁ´Ä£Ê½£©
¹¤³§Ä£Ê½£º¹¤³§Ä£Ê½ÊÇÒ»ÖÖ¾³£±»Ê¹Óõ½µÄģʽ£¬¸ù¾Ý¹¤³§Ä£Ê½ÊµÏÖµÄÀà¿ÉÒÔ¸ù¾ÝÌṩµÄÊý¾ÝÉú³ÉÒ»×éÀàÖÐijһ¸öÀàµÄʵÀý£¬Í¨³£ÕâÒ»×éÀàÓÐÒ»¸ö¹«¹²µÄ³éÏó¸¸ÀಢÇÒʵÏÖÁËÏàͬµÄ·½·¨£¬µ«ÊÇÕâЩ·½·¨Õë¶Ô²»Í¬µÄÊý¾Ý½øÐÐÁ˲»Í¬µÄ²Ù×÷¡£Ê×ÏÈÐèÒª¶¨ÒåÒ»¸ö»ùÀ࣬¸ÃÀàµÄ×ÓÀàͨ¹ý²»Í¬µÄ·½·¨ÊµÏÖÁË»ùÀàÖеķ½·¨¡£È»ºóÐèÒª¶¨ÒåÒ»¸ö¹¤³§À࣬¹¤³§Àà¿ÉÒÔ¸ù¾ÝÌõ¼þÉú³É²»Í¬µÄ×ÓÀàʵÀý¡£µ±µÃµ½×ÓÀàµÄʵÀýºó£¬¿ª·¢ÈËÔ±¿ÉÒÔµ÷ÓûùÀàÖеķ½·¨¶ø²»±Ø¿¼Âǵ½µ×·µ»ØµÄÊÇÄÄÒ»¸ö×ÓÀàµÄʵÀý¡£
93¡¢EJBÐèÖ±½ÓʵÏÖËüµÄÒµÎñ½Ó¿Ú»òHome½Ó¿ÚÂð£¬Çë¼òÊöÀíÓÉ¡£
Ô¶³Ì½Ó¿ÚºÍHome½Ó¿Ú²»ÐèÒªÖ±½ÓʵÏÖ£¬ËûÃǵÄʵÏÖ´úÂëÊÇÓÉ·þÎñÆ÷²úÉúµÄ£¬³ÌÐòÔËÐÐÖжÔӦʵÏÖÀà»á×÷Ϊ¶ÔÓ¦½Ó¿ÚÀàÐ͵ÄʵÀý±»Ê¹Óá£
 
Ïà¹ØÎĵµ£º
ÀàµÄ³õʼ»¯ºÍ¶ÔÏó³õʼ»¯ÊÇ JVM ¹ÜÀíµÄÀàÐÍÉúÃüÖÜÆÚÖзdz£ÖØÒªµÄÁ½¸ö»·½Ú£¬Google ÁËÒ»±éÍøÂ磬ÓйØÀà×°ÔØ»úÖƵÄÎÄÕµ¹ÊDz»ÉÙ£¬È»¶øÀà³õʼ»¯ºÍ¶ÔÏó³õʼ»¯µÄÎÄÕ²¢²»¶à£¬ÌرðÊÇ´Ó×Ö½ÚÂëºÍ JVM ²ã´ÎÀ´·ÖÎöµÄÎÄÕ¸üÊÇÏÊÓÐËù¼û¡£
±¾ÎÄÖ÷Òª¶ÔÀàºÍ¶ÔÏó³õʼ»¯È«¹ý³Ì½øÐзÖÎö£¬Í¨¹ýÒ»¸öʵ¼ÊÎÊÌâÒýÈ룬½«Ô´´úÂëת»»³É JVM ×Ö½ÚÂëºó£¬ ......
JavaÈÕ»ýÔÂÀÛ-1£ºJavaÖÐbooleanÀàÐ͵ÄλÔËËã
1. Ê×ÏȻعËÒ»ÏÂjavaÖеÄ8Öлù±¾ÀàÐͼ°Æä´æ´¢ËùÕ¼ÓõÄbitÊý¡£
ÀàÐÍ
bitÊý
byte
8
short
16
int
32
float
32
long
64
double
64
char
16
boolean
1
2. ÔٻعËÒ»ÏÂjavaµÄÔËËã·ûºÍÓÅÏȼ ......
Tiger ÖеÄÒ»¸öÖØÒªÐÂÌØÐÔÊÇö¾Ù¹¹Ô죬ËüÊÇÒ»ÖÖеÄÀàÐÍ£¬ÔÊÐíÓó£Á¿À´±íʾÌض¨µÄÊý¾Ý Ƭ¶Ï£¬¶øÇÒÈ«²¿¶¼ÒÔÀàÐÍ°²È«µÄÐÎʽÀ´±íʾ¡£Tiger ר¼Ò¡¢developerWorks µÄ¶à²ú×÷Õß Brett McLaughlin½«½âÊÍö¾ÙµÄ¶¨Ò壬½éÉÜÈçºÎÔÚÓ¦ÓóÌÐòÖÐÔËÓÃö¾Ù£¬ÒÔ¼°ËüΪʲôÄܹ»ÈÃÄúÅ×ÆúËùÓоɵÄ
public static final ´úÂë¡£
& ......
31¡¢EJB°üÀ¨£¨SessionBean,EntityBean£©Ëµ³öËûÃǵÄÉúÃüÖÜÆÚ£¬¼°ÈçºÎ¹ÜÀíÊÂÎñµÄ£¿
SessionBean£ºStateless Session Bean µÄÉúÃüÖÜÆÚÊÇÓÉÈÝÆ÷¾ö¶¨µÄ£¬µ±¿Í»§»ú·¢³öÇëÇóÒª½¨Á¢Ò»¸öBeanµÄʵÀýʱ£¬EJBÈÝÆ÷²»Ò»¶¨Òª´´½¨Ò»¸öеÄBeanµÄʵÀý¹©¿Í»§»úµ÷Ó㬶øÊÇËæ±ãÕÒÒ»¸öÏÖÓеÄʵÀýÌṩ¸ø¿Í»§»ú¡£µ±¿Í»§»úµÚÒ» ......