Javaѧϰ·Ïßͼ
JAVAѧϰ·Ïßͼ
ÔÚ¿ªÊ¼Ö®Ç°ÓбØÒªÔÙÌÖÂÛÒ»ÏÂJ2ME£¬J2SE£¬J2EEÕâЩ¸ÅÄî¡£J2ME£¬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Ïà¹ØµÄ¼¼ÊõÎÒ¶¼ÊìÁ·ÕÆÎÕÁË¡£²»¹ý×÷ΪһÃûÆÕͨJ2EEÓ¦ÓóÌÐòµÄ¿ª·¢ÕßÀ´Ëµ£¬ÎÒÃÇÖ»ÐèÒªÖصãѧϰÆäÖеÄÒ»²¿·Ö¼¼
Ïà¹ØÎĵµ£º
Ôڳɹ¦ÊµÏÖJavaµ÷ÓÃC++Ö®ºó£¬½ÓÏÂÀ´Ïëµ½ÄÜ·ñͨ¹ýJNAʵÏÖJavaµ÷ÓÃFortran£¬½ñÌìÊÔÑéÁËһϣ¬»¹ÊDZȽÏÈÝÒ׵ġ£
ÍøÉÏÓÐÒ»¸öJavaµ÷ÓÃF95µÄÀý×Ó£¬µ«ÊÇÎÒ¿¼ÂDz»½öҪʵÏÖF95µÄµ÷Ó㬻¹ÒªÊµÏÖF77µÄµ÷Óã¬ËùÒÔ·ÑÁËһЩÖÜÕÛ¡£
ÎÊÌâµÄ¹Ø¼üÔÚÓÚF77Ϊ¹ý³ÌÃû×Ô¶¯Ìí¼ÓÁËÒ»¸öβ²¿µÄÏ»®Ïߣ¬ËùÒÔsub1Õâ¸ö¹ý³Ì£¬µ½JavaÒ»¶Ë£¬¾Í±ä³ÉÁËsub1_£¬ ......
ÒªÔÚJavaÖлñµÃijһ±äÁ¿µÄËø£¬±ØÐëÔÚ´úÂëµÄÊ×β¶þ¶Ë¼ÓÉÏsynchronized¹Ø½¡×Ö£¬Ö¸Ã÷ÐèÒª»ñµÃËøµÄ¶ÔÏó¡£Ò»µ©Ï߳̿ªÊ¼Ö´ÐÐsynchronized¿éÖеĴúÂ룬Ëü¾Í»ñµÃÁ˶ÔÕâÒ»¶ÔÏóµÄËøµÄ¿ØÖÆȨ¡£Í¬Ñù£¬Ò»µ©Ïß³ÌÒѾÀ뿪ÁËsynchronized¿é£¬ËüÒ²½«ÊÍ·ÅÕâÒ»¶ÔÏóµÄËø¡£ÎÒÃÇÒѾ֪µÀ£¬C#Ò²ÓÐÒ»¸öÏàËƵı»³Æ×÷lockµÄ¹Ø½¡×Ö¡£³ýÁËlockÕâ¸ö¹Ø½¡×Ö ......
Ò»¡¢JAVAÖж¨ÒåÁËÈýÖÖ×¢ÊÍÀàÐÍ£º
//µ¥ÐÐ×¢ÊÍ——×¢Ê͵½ÐÐβ
/*¶àÐÐ×¢ÊÍ*/
/**¿ÉÒÔÓÃÓÚÎĵµ´¦ÀíµÄµ¥ÐлòÕ߶àÐÐ×¢ÊÍ*/
// µ¥ÐÐ×¢ÊÍ
/*
¶àÐÐ×¢ÊÍ£¬´ËÄÚÈÝÒ²²»»á±»Ö´ÐÐ
*/
/**
Îĵµ×¢ÊÍ£¬ÓÐרÃŵŤ¾ß
*/
public class JavaDemo01
{
// Ö÷·½·¨
public static void main(String args[])
{
// Ô ......
http://lavasoft.blog.51cto.com/62575/27069
ÊØ»¤Ï̺߳ÍÓû§Ïß³Ì
ÊØ»¤Ïß³ÌÓëÆÕͨÏ̵߳ÄΨһÇø±ðÊÇ£ºµ±JVMÖÐËùÓеÄÏ̶߳¼ÊÇÊØ»¤Ï̵߳Äʱºò£¬JVM¾Í¿ÉÒÔÍ˳öÁË£»Èç¹û»¹ÓÐÒ»¸ö»òÒÔÉϵķÇÊØ»¤Ïß³ÌÔò²»»áÍ˳ö¡££¨ÒÔÉÏÊÇÕë¶ÔÕý³£Í˳ö£¬µ÷ÓÃSystem.exitÔò±Ø¶¨»áÍ˳ö£©
ËùÒÔsetDeamon(true)µÄΨһÒâÒå¾ÍÊǸæËßJVM²»ÐèÒªµÈ´ ......