LinuxÏÂÒÆÖ²jvmµÄ¹ý³Ì
ת×Ô£ºhttp://hi.baidu.com/deep_pro/blog/item/b4253550bb5ab7561138c27a.html
ÕâÀïתÔصÄÊÇLinuxÏÂÒÆÖ²jvmµÄ¹ý³Ì£¬ÒòΪ½ö½öÊÇCDC
J2ME CDC£¨Connected Device Configuration£¬Á¬½ÓʽÉ豸ÅäÖü¯£©
ʹÓÃCVM£¬ÃæÏòÄÇЩ¾ßÓиüÇ¿¼ÆËãÄÜÁ¦µÄǶÈëʽÉ豸£¬°üº¬ÁËJavaÀà¿âµÄºËÐIJ¿·Ö£¬ÊÇÓ¦ÓÃJava¼¼ÊõÔÚǶÈëʽÉ豸ÉϽøÐпª·¢ËùÐèÀà¿âµÄ×îС¼¯ºÏ¡£
Ëü¾ßÓÐÈçÏÂÓŵ㣺
¸ß¼¶ÍøÂçÌØÐÔ£ºCDCλ»ùÓÚÌ×½Ó×ÖµÄÍøÂç±à³Ì¼¼ÊõÌṩÁË×îÐÂJava API
Âú×ãJini¼¼ÊõµÄÐèÇ󣺻ùÓÚCDCÔ¶³Ì·½·¨µ÷Óã¨RMI£©¿ÉÑ¡°ü¿ÉʵÏÖ¶Ô»ùÓÚÍêÈ«Jini¼¼ÊõµÄÉ豸֧³Ö¡£
·½±ãµÄÒÆÖ²£ºCDCµÄFoundation Profile£¨»ù´¡ÃèÊö¼¯£©ºËÐÄÀà¿â°üÀ¨Á˹ãΪʹÓõÄjava.lang¡¢java.net¡¢java.io¡¢java.util¡¢java.securityºÍjava.text°ü
Çå³ýÁËdeprecated·½·¨£º³ÌÐò¸ü°²È«¡¢Ò×ÓÚÀí½â
¿ÉÒÔÀûÓøü¸ß¼¶µÄ°ü½øÐÐÀ©Õ¹£¬±ÈÈç˵Personal Basis Profile£¨PBP¸öÈË»ù´¡ÃèÊö¼¯£©ºÍPersonal Profile£¨PP¸öÈËÃèÊö¼¯£©µÈ¡£
CDCÏòСÐÍÉ豸չÏÖÁË´óÁ¿µÄJava 2¼¼Êõ£¬ÓëJini¼¼ÊõµÄ½áºÏÌá¸ßÁËÉ豸µÄÁé»îÐÔ£¬ÒÔ¼°Äܹ»²»¶Ï½ø»¯·¢Õ¹µÄÄÜÁ¦£¬ÊµÏÖ¼´²å¼´Ó㬷ֲ¼¼ÆËãµÈµÈ¡£
CDC¶Ô×ÊÔ´µÄÒªÇó£º
Äڴ棺2MB ROM¡¢512KB RAM
´¦ÀíÆ÷£º32λCPU
ÍøÂçÁ¬½ÓÄÜÁ¦£ºÖÁÉÙÖ§³ÖUDP£¬¸½¼ÓµÄprofile¿ÉÌí¼Ó¶ÔTCP/IPµÄÍêÈ«Ö§³Ö
Óû§½çÃ棺ûÓÐÖ§³ÖͼÐÎÓû§µÄGUI£¬¿ÉÌí¼ÓÃèÊö¼¯ÊµÏÖ¡£
Ô×÷
http://blog.chinaunix.net/u1/49274/showart_2058477.html
J2ME CDC£¨Connected Device Configuration£¬Á¬½ÓʽÉ豸ÅäÖü¯£©
ʹÓÃCVM£¬ÃæÏòÄÇЩ¾ßÓиüÇ¿¼ÆËãÄÜÁ¦µÄǶÈëʽÉ豸£¬°üº¬ÁËJavaÀà¿âµÄºËÐIJ¿·Ö£¬ÊÇÓ¦ÓÃJava¼¼ÊõÔÚǶÈëʽÉ豸ÉϽøÐпª·¢ËùÐèÀà¿âµÄ×îС¼¯ºÏ¡£
Ëü¾ßÓÐÈçÏÂÓŵ㣺
¸ß¼¶ÍøÂçÌØÐÔ£ºCDCλ»ùÓÚÌ×½Ó×ÖµÄÍøÂç±à³Ì¼¼ÊõÌṩÁË×îÐÂJava API
Âú×ãJini¼¼ÊõµÄÐèÇ󣺻ùÓÚCDCÔ¶³Ì·½·¨µ÷Óã¨RMI£©¿ÉÑ¡°ü¿ÉʵÏÖ¶Ô»ùÓÚÍêÈ«Jini¼¼ÊõµÄÉ豸֧³Ö¡£
·½±ãµÄÒÆÖ²£ºCDCµÄFoundation Profile£¨»ù´¡ÃèÊö¼¯£©ºËÐÄÀà¿â°üÀ¨Á˹ãΪʹÓõÄjava.lang¡¢java.net¡¢java.io¡¢java.util¡¢java.securityºÍjava.text°ü
Çå³ýÁËdeprecated·½·¨£º³ÌÐò¸ü°²È«¡¢Ò×ÓÚÀí½â
¿ÉÒÔÀûÓøü¸ß¼¶µÄ°ü½øÐÐÀ©Õ¹£¬±ÈÈç˵Personal Basis Profile£¨PBP¸öÈË»ù´¡ÃèÊö¼¯£©ºÍPersonal Profile£¨PP¸öÈËÃèÊö¼¯£©µÈ¡£
CDCÏòСÐÍÉ豸չÏÖÁË´óÁ¿µÄJava 2¼¼Êõ£¬ÓëJini¼¼ÊõµÄ½áºÏÌá¸ßÁËÉ豸µÄÁé»îÐÔ£¬ÒÔ¼°Äܹ»²»¶Ï½ø»¯·¢Õ¹µÄÄÜÁ¦£¬ÊµÏÖ¼´²å¼´Ó㬷ֲ¼¼ÆËãµÈµÈ¡£
CDC¶Ô×ÊÔ´µÄÒªÇó£º
Äڴ棺2MB ROM¡¢5
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
1¡¢LinuxÀï²é¿´ËùÓÐÓû§
¡¡¡¡linuxÀï,²¢Ã»ÓÐÏñwindowsµÄnet user,net localgroupÕâЩ·½±ãµÄÃüÁîÀ´ÖÎÀíÓû§.
¡¡¡¡Xwindows½çÃæµÄ¾Í²»ËµÁË.
¡¡¡¡£¨1£©ÔÚÖÕ¶ËÀï.ÆäʵֻÐèÒª²é¿´ /etc/passwdÎļþ¾ÍÐÐÁË.
¡¡¡¡£¨2£©¿´µÚÈý¸ö²ÎÊý:500ÒÔÉϵÄ,¾ÍÊǺóÃ潨µÄÓû§ÁË.ÆäËüÔòΪϵͳµÄÓû§.
¡¡¡¡»òÕßÓÃcat /etc/passwd |cut -f ......
mountÊÇÓÃÀ´¹ÒÔØÎļþϵͳµÄ£¬¿ÉÒÔÔÚÆô¶¯µÄʱºò¹ÒÔØÒ²¿ÉÒÔÔÚÆô¶¯ºó¹ÒÔØ¡£ÔÚÆô¶¯ºó¹ÒÔØ¿ÉÒÔʹÓÃmountÃüÁîʵÏÖ£¬ÒªÊµÏÖÆô¶¯Ê±×Ô¶¯¹ÒÔØÉ豸ÔòÐèÆô¶¯autofs·þÎñ¾ÍÌṩÕâÖÖ¹¦ÄÜ¡£¸Ã¹¦ÄܾÍÏñwindowsÖеĹâÇý×Ô¶¯´ò¿ª¹¦ÄÜ£¬Äܹ»¼°Ê±¹ÒÔض¯Ì¬¼ÓÔصÄÎļþϵͳ¡£ÃâÈ¥ÎÒÃÇÊÖ¶¯¹ÒÔÚÂé·³¡£ÒªÊµÏÖ¹âÇý£¬ÈíÅ̵ȵĶ¯Ì¬×Ô¶¯¹ÒÔØ£¬ÐèÒª½øÐÐÏà¹Øµ ......
ת×Ô£º http://www.diybl.com/course/6_system/linux/Linuxxl/20081124/152557.html
ºÃºÃѧϰ£¬ÌìÌìÏòÉÏ
ÒýÑÔ
¡¡¡¡ Ị̈߳¨thread£©¼¼ÊõÔçÔÚ60Äê´ú¾Í±»Ìá³ö£¬µ«ÕæÕýÓ¦ÓöàÏ̵߳½²Ù×÷ϵͳÖÐÈ¥£¬ÊÇÔÚ80Äê´úÖÐÆÚ£¬ solarisÊÇÕâ·½ÃæµÄٮٮÕß¡£´«Í³µÄUnixÒ²Ö§³ÖÏ̵߳ĸÅÄµ«ÊÇÔÚÒ»¸ö½ø³Ì£¨process£©ÖÐÖ»ÔÊÐíÓÐÒ»¸öỊ̈߳¬ÕâÑù ......