Java ѧϰÀú³Ì
×î½üÂÛ̳ÉÏ¿´µ½ºÃ¼¸¸öÅóÓѶ¼ÔÚÎÊ£¬ÈçºÎѧϰ JavaµÄÎÊÌ⣬”ÎÒÒѾѧϰÁËJ2SE,ÔõôÑù²ÅÄÜתÏòJ2EE?”, “ÎÒ¿´ÍêÁËThinking in Java, ¿ÉÒÔѧϰJ2EEÁËô?”.ÓÚÊǾÍÓÐÁËдÕâƪÎÄÕµÄÏë·¨£¬Ï£ÍûÄÜ°ïÖú³õѧÕßÉÙ×ßһЩÍä·¡£Ò²ËãÊǶÔ×Ô¼º¼¸ÄêÀ´Ñ§Ï°JavaµÄÒ»¸ö×ܽá°É.
ÔÚ¿ªÊ¼Ö®Ç°ÓбØÒªÔÙÌÖÂÛÒ»ÏÂJ2ME, J2SE, J2EEÕâЩ¸ÅÄî¡£J2SE, The Micro Edition of the Java 2 Platform. Ö÷ÒªÓÃÓÚǶÈëʽJava,ÈçÊÖ»ú£¬PDAµÈµÈ¡£J2SE, Java 2 Platform, Standard Edition, ÎÒÃÇͨ³£Ëù˵µÄJDK(Java Development Kit)°üº¬ÔÚ´Ë£¬ÊÇJ2EEµÄ»ù´¡¡£J2EE, Java 2 Platform, Enterprise Edition , ¾ÍÊÇËùνµÄÆóÒµ¼¶Java. ÕâЩֻÊÇ´ÓAPI¼¶±ðÉϵĻ®·Ö£¬Êµ¼ÊÉÏSun¸øJ2EEµÄ¶¨ÒåÊÇ£º¿ª·¢»ùÓÚ×é¼þµÄ¶à²ãµÄÆóÒµ¼¶Ó¦ÓõĹ淶¡£Ò²¾ÍÊÇΪ¸÷ÖÖ²»Í¬µÄ¼¼Êõ¶¨ÒåÒ»¸öJavaµÄ¹æ·¶£¬Ê¹ÕâЩ²»Í¬µÄ¼¼Êõ½áºÏÆðÀ´£¬ÔÚJavaƽ̨ÉϹ¹½¨Ç¿×³µÄÆóÒµ¼¶Ó¦ÓᣴÓÕâÒ»µãÀ´¿´£¬J2EEÕâ¸ö¸ÅÄîÓ¦¸ÃÊǺ¸ÇJ2ME, J2SEµÄ¡£±ÈÈçÒ»¸öµäÐ͵ÄJ2EEÓ¦Óã¬ÍøÉÏÉ̵꣬ ËüÖ§³Öweb ·½Ê½Ï¶©µ¥£¬Ò²Ö§³ÖÊÖ»ú϶©µ¥¡£ÏÔÈ»±ØÐëÓõ½J2SE,J2ME. ËùÒÔÒ²¾Í²»´æÔÚËùνµÄ´ÓJ2SEתÏòJ2EEµÄÎÊÌâÁË£¬Ö»ÊǺóÕß°üº¬µÄ·¶Î§¸ü¹ã¶øÒÑ¡£
À´¿´¿´Sun¸ø³öµÄJ2EE Ïà¹Ø¼¼ÊõÖ÷Òª·ÖΪ¼¸´ó¿é¡£
1. Web Service¼¼Êõ
- Java API for XML Processing (JAXP)
- Java API for XML Registries (JAXR)
- Java API for XML-based RPC (JAX-RPC)
- SOAP with Attachments API for Java (SAAJ)
2. ×é¼þÄ£Ðͼ¼Êõ£¨Component Model Technologies£©
- Java Servlet
- JavaServer Pages
- JavaServer Faces
- Enterprise JavaBeans
- Java Message Service
- J2EE Connector Architecture
3 .¹ÜÀí¼¼Êõ(Management Technologies)
- J2EE Deployment Specification
- J2EE Management Specification
- J2EE Client Provisioning
- Java Authorization Contract for Containers
4.ÆäËûÏà¹Ø¼¼Êõ(Other J2EE Technologies)
- JDBC
- Java Data Objects (JDO)
- CORBA (Java IDL and Java RMI-IIOP)
- JavaMail
- Transactions
Èç´ËÖ®¶àµÄ¼¼ÊõÄÑÃâʹ³õѧÕßÎÞËùÊÊ´Ó£¬Íû¶øÈ´²½¡£¼´Ê¹ÊÇһλ¾Ñé·á¸»µÄJ2EE ¿ª·¢Õߣ¬ÓÖÓм¸¸öÈ˸Ò˵J2EEÏà¹Øµ
Ïà¹ØÎĵµ£º
jar Ó¦Óà ÏÈ´ò¿ªÃüÁîÌáʾ·û(win2000»òÔÚÔËÐпðÀïÖ´ÐÐcmdÃüÁwin98ΪDOSÌáʾ·û)£¬ÊäÈëjar
-help,È»ºó»Ø³µ(Èç¹ûÄãÅÌÉÏÒѾÓÐÁËjdk1.1»òÒÔÉÏ°æ±¾)£¬¿´µ½Ê²Ã´£º
Ó÷¨£ºjar {ctxu}[vfm0Mi] [jar-Îļþ]
[manifest-Îļþ] [-C Ŀ¼] ÎļþÃû ...
Ñ¡Ï
-c ´´½¨ÐµĴ浵
-t Áгö´æµµÄÚÈݵÄÁбí
-x
Õ¹¿ª´æµµÖеÄÃüÃûµ ......
ÔÚÒ»¸öÏîÄ¿ÖУ¬¿Í»§ÓÃC#ʵÏÖÁËDES¼ÓÃÜ£¬ÓÉÓÚÐèÒªºÍjava·½ÃæµÄ³ÌÐò½øÐÐÊý¾Ý½»»¥£¬ËùÒÔ±ØÐëÅäºÏ½øÐмӽâÃܹ¤×÷¡£¿Í»§ÌṩÁËÃÜÔ¿ºÍÏòÁ¿£¬ÎÒ¿´ÁË¿´´úÂ룬c#×öÕâ¸öÊÂÇ黹Âù¼òµ¥¡£ ÓÃjavaʵÏֹؼüÊÇÎÒ²»×Ö¶ÎÔõôÉèÖÃÏòÁ¿£¬Ò»°ãÓÃCipher¶ÔÏó¶¼ÊÇĬÈÏËæ»úÏòÁ¿¡£¸ãÁËÒ»Õ󣬷¢ÏÖÊÇÓÃIvParameterSpecÕâ¸öÀàÀ´ÉèÖá£ÓÚÊÇÓÐÁËÒÔÏ´ú ......
һЩjavaÀàÖÐΪʲôÐèÒªÖØÔØ serialVersionUID ÊôÐÔ¡£
ÔÚJavaÖУ¬Èí¼þµÄ¼æÈÝÐÔÊÇÒ»¸ö´óÎÊÌ⣬ÓÈÆäÔÚʹÓõ½¶ÔÏó´®ÐÐÐÔµÄʱºò£¬ÄÇôÔÚijһ¸ö¶ÔÏóÒѾ±»´®Ðл¯ÁË£¬¿ÉÊÇÕâ¸ö¶ÔÏóÓÖ±»Ð޸ĺóÖØв¿ÊðÁË£¬ÄÇôÔÚÕâÖÖÇé¿öÏ£¬ ÓÃÀÏÈí¼þÀ´¶ÁÈ¡ÐÂÎļþ¸ñʽËäÈ»²»ÊÇʲôÄÑÊ£¬µ«ÊÇÓпÉÄܶªÊ§Ò»Ð©ÐÅÏ¢¡£
serialVersionUID À´½â¾öÕâЩΠ......
java»ñÈ¡µ±Ç°Â·¾¶[ת]
¹Ø¼ü×Ö: java ·¾¶
java »ñÈ¡µ±Ç°Â·¾¶
1 ¡¢ÀûÓà System.getProperty() º¯Êý»ñÈ¡µ±Ç°Â·¾¶£º
System.out.println(System.getProperty("user.dir"));//user.dir Ö¸¶¨Á˵±Ç°µÄ·¾¶
2 ¡¢Ê¹Óà File ÌṩµÄº¯Êý»ñÈ¡µ±Ç°Â·¾¶£º
File directory = new File("");// É趨Ϊµ±Ç°Îļþ ......
Java´®¿ÚͨѶ
´®ÐÐͨѶÐÒéÓкܶàÖÖ£¬ÏñRS232£¬RS485£¬RS422£¬ÉõÖÁÏÖ½ñÁ÷ÐеÄUSBµÈ¶¼ÊÇ´®ÐÐͨѶÐÒé¡£¶ø´®ÐÐͨѶ¼¼ÊõµÄÓ¦ÓÃÎÞ´¦²»ÔÚ¡£¿ÉÄÜ´ó¼Ò¼ûµÄ×î¶à¾ÍÊǵçÄԵĴ®¿ÚÓëModemµÄͨѶ¡£¼ÇµÃÔÚPC»ú¸Õ¿ªÊ¼ÔÚÖйúÁ÷ÐÐÆðÀ´Ê±(´óÔ¼ÊÇÔÚ90Äê´úÇ°ÎåÄê)£¬ÄÇʱÉõÖÁÓÐÈËÓÃÒ»Ìõ´®ÐÐÏß½øÐÐÁ½Ì¨µçÄÔÖ®¼äµÄ ......