Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java ѧϰÐĵÃÌå»á(¶þ)


66.  EJBÈÝÆ÷ÌṩµÄ·þÎñ
        Ö÷ÒªÌṩÉùÃ÷ÖÜÆÚ¹ÜÀí¡¢´úÂë²úÉú¡¢³ÖÐøÐÔ¹ÜÀí¡¢°²È«¡¢ÊÂÎñ¹ÜÀí¡¢ËøºÍ²¢·¢ÐйÜÀíµÈ·þÎñ¡£
67.  EJB¹æ·¶¹æ¶¨EJBÖнûÖ¹µÄ²Ù×÷ÓÐÄÄЩ£¿
        1.²»ÄܲÙ×÷Ï̺߳ÍÏß³ÌAPI(Ïß³ÌAPIÖ¸·ÇÏ̶߳ÔÏóµÄ·½·¨Èçnotify,waitµÈ)£¬2.²»ÄܲÙ×÷awt£¬3.²»ÄÜʵÏÖ·þÎñÆ÷¹¦ÄÜ£¬4.²»ÄܶԾ² ̬ÊôÉú´æÈ¡£¬5.²»ÄÜʹÓÃIO²Ù×÷Ö±½Ó´æÈ¡Îļþϵͳ£¬6.²»ÄܼÓÔر¾µØ¿â.£¬7.²»Äܽ«this×÷Ϊ±äÁ¿ºÍ·µ»Ø£¬8.²»ÄÜÑ­»·µ÷Óá£
68.  remote½Ó¿ÚºÍhome½Ó¿ÚÖ÷Òª×÷ÓÃ
        remote½Ó¿Ú¶¨ÒåÁËÒµÎñ·½·¨£¬ÓÃÓÚEJB¿Í»§¶Ëµ÷ÓÃÒµÎñ·½·¨¡£
        home½Ó¿ÚÊÇEJB¹¤³§ÓÃÓÚ´´½¨ºÍÒƳý²éÕÒEJBʵÀý
69.  bean ʵÀýµÄÉúÃüÖÜÆÚ
        ¶ÔÓÚStateless Session Bean¡¢Entity Bean¡¢Message Driven BeanÒ»°ã´æÔÚ»º³å³Ø¹ÜÀí£¬¶ø¶ÔÓÚEntity BeanºÍStatefull Session Bean´æÔÚCache¹ÜÀí£¬Í¨³£°üº¬´´½¨ÊµÀý£¬ÉèÖÃÉÏÏÂÎÄ¡¢´´½¨EJB Object£¨create£©¡¢ÒµÎñ·½·¨µ÷Óá¢removeµÈ¹ý³Ì£¬¶ÔÓÚ´æÔÚ»º³å³Ø¹ÜÀíµÄBean£¬ÔÚcreateÖ®ºóʵÀý²¢²»´ÓÄÚ´æÇå³ý£¬¶øÊDzÉÓûº³å ³Øµ÷¶È»úÖƲ»¶ÏÖØÓÃʵÀý£¬¶ø¶ÔÓÚ´æÔÚCache¹ÜÀíµÄBeanÔòͨ¹ý¼¤»îºÍÈ¥¼¤»î»úÖƱ£³ÖBeanµÄ״̬²¢ÏÞÖÆÄÚ´æÖÐʵÀýÊýÁ¿¡£
70.  EJBµÄ¼¤»î»úÖÆ
        ÒÔStateful Session Bean ΪÀý£ºÆäCache´óС¾ö¶¨ÁËÄÚ´æÖпÉÒÔͬʱ´æÔÚµÄBeanʵÀýµÄÊýÁ¿£¬¸ù¾ÝMRU»òNRUËã·¨£¬ÊµÀýÔÚ¼¤»îºÍÈ¥¼¤»î״̬֮¼äǨÒÆ£¬¼¤»î»úÖÆÊǵ±¿Í»§¶Ëµ÷ ÓÃij¸öEJBʵÀýÒµÎñ·½·¨Ê±£¬Èç¹û¶ÔÓ¦EJB Object·¢ÏÖ×Ô¼ºÃ»Óа󶨶ÔÓ¦µÄBeanʵÀýÔò´ÓÆäÈ¥¼¤»îBean´æ´¢ÖУ¨Í¨¹ýÐòÁл¯»úÖƴ洢ʵÀý£©»Ø¸´£¨¼¤»î£©´ËʵÀý¡£×´Ì¬±äǨǰ»áµ÷ÓöÔÓ¦µÄ ejbActiveºÍejbPassivate·½·¨¡£
71.  EJBµÄ¼¸ÖÖÀàÐÍ
        »á»°£¨Session£©Bean £¬ÊµÌ壨Entity£©Bean ÏûÏ¢Çý¶¯µÄ£¨Message Driven£©Bean
        »á»°BeanÓÖ¿É·ÖΪÓÐ״̬£¨Stateful£©ºÍÎÞ״̬£¨Stateless£©Á½ÖÖ
        ʵÌåBean¿É·ÖΪBean¹ÜÀíµÄ³ÖÐøÐÔ£¨BMP£©ºÍÈÝÆ÷¹ÜÀíµÄ³ÖÐøÐÔ£¨CMP£©Á½ÖÖ
72.  ¿Í·þ¶Ëµ÷ÓÃEJB¶ÔÏóµÄ¼¸¸ö»ù±¾²½Öè
 &nb


Ïà¹ØÎĵµ£º

javaÖÐHashMap±éÀú·½·¨

·½·¨Ò»£º
Map map = new HashMap();
Iterator iter = map.entrySet().iterator();
while (iter.hasNext()) {
    Map.Entry entry = (Map.Entry) iter.next();
    Object key = entry.getKey();
    Object val = entry.getValue();
}
·½·¨¶þ£º
Map map = n ......

Java Concurrent°üѧϰ֮BlockingQueue

BlockingQueueÊÇÒ»¸ö½Ó¿Ú£¬Ëü´ÓQueue¼Ì³Ð¶øÀ´£¬
°üº¬ÁËQueueµÄËùÓй¦ÄÜ£¬²¢ÔÚQueueµÄ»ù´¡ÉÏÌṩÁË2¸öÐµĹ¦ÄÜ£º
    1. ¼ìË÷ÔªËØʱµÈ´ý¶ÓÁбäΪ·Ç¿Õ
    2. ´æ´¢ÔªËØʱµÈ´ý¿Õ¼ä±äµÃ¿ÉÓá£
 
ÏÂÃ泭¼һЩJDKÎĵµÖйØÓÚBlockingQueueµÄ½éÉÜ£º
BlockingQueue ¿ÉÒÔÊÇÏÞ¶¨ÈÝÁ¿µÄ¡£ËüÔ ......

´«ÖDz¥¿Íjavaѧϰ ¹¤×÷Á÷³õ²½


ÎÒ½ñÌìԤϰÁ˹¤×÷Á÷µÄ֪ʶ£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
¹¤×÷Á÷£¨Workflow£©
¹¤×÷Á÷¾ÍÊǹ¤×÷Á÷³ÌµÄ¼ÆËã»ú»¯£¬¼´½«¹¤×÷Á÷³ÌÖеŤ×÷ÈçºÎÇ°ºó×éÖ¯ÔÚÒ»ÆðµÄ
Âß¼­ºÍ¹æÔòÔÚ¼ÆËã»úÖÐÒÔÇ¡µ±µÄÄ£ÐͽøÐбíʾ²¢¶ÔÆäʵʩ¼ÆËã¡£
¹¤×÷Á÷Òª½â¾öµÄÖ÷ÒªÎÊÌâÊÇ£ºÎªÊµÏÖij¸öÒµÎñÄ¿±ê£¬ÔÚ¶à¸ö²ÎÓëÕßÖ®¼ä£¬ÀûÓüÆ
Ëã»ú£¬°´Ä³ÖÖÔ¤¶¨¹æÔò×Ô¶¯´«µÝÎÄ ......

´«ÖDz¥¿Íjavaѧϰ jpa³õ²½


ÎÒ½ñÌìѧϰÁËÐìÀÏʦ½²µÄjpa£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
JPA(Java Persistence API)ÊÇSun¹Ù·½Ìá³öµÄJava³Ö¾Ã»¯¹æ·¶¡£ËüΪJava¿ª·¢ÈËÔ±ÌṩÁËÒ»ÖÖ¶ÔÏó/¹ØϵӳÉ乤¾ßÀ´¹ÜÀíJavaÓ¦ÓÃÖеĹØϵÊý¾Ý¡£ËûµÄ³öÏÖÖ÷ÒªÊÇΪÁ˼ò»¯ÏÖÓеij־û¯¿ª·¢¹¤×÷ºÍÕûºÏORM¼¼Êõ£¬½áÊøÏÖÔÚHibernate¡¢TopLinkµÈORM¿ò¼Ü¸÷×ÔΪӪµÄ¾ÖÃæ¡£ÖµµÃ×¢ÒâµÄÊÇ£¬JP ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ