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

JAVAѧϰ˳Ðò

Java·¢Õ¹µ½ÏÖÔÚ£¬°´Ó¦ÓÃÀ´·ÖÖ÷Òª·ÖΪÈý´ó¿é£ºJ2SE,J2MEºÍJ2EE¡£ÕâÈý¿éÏ໥²¹³ä£¬Ó¦Ó÷¶Î§²»Í¬¡£
J2SE¾ÍÊÇJava2µÄ±ê×¼°æ£¬Ö÷ÒªÓÃÓÚ×ÀÃæÓ¦ÓÃÈí¼þµÄ±à³Ì£»
J2MEÖ÷ÒªÓ¦ÓÃÓÚǶÈëÊÇϵͳ¿ª·¢£¬ÈçÊÖ»úºÍPDAµÄ±à³Ì£»
J2EEÊÇJava2µÄÆóÒµ°æ£¬Ö÷ÒªÓÃÓÚ·Ö²¼Ê½µÄÍøÂç³ÌÐòµÄ¿ª·¢£¬Èçµç×ÓÉÌÎñÍøÕ¾ºÍERPϵͳ¡£
ÏÈѧϰj2se
Ҫѧϰj2ee¾ÍÒªÏÈѧϰj2se£¬¸Õ¿ªÊ¼Ñ§Ï°j2seÏȽ¨Ò鲻ҪʹÓÃIDE£¬È»ºó½¥½¥µÄ¹ý¶Éµ½Ê¹ÓÃIDE¿ª·¢£¬±Ï¾¹ÓÃËü·½±ãÂѧϰj2seÍƼöÁ½±¾Ê飬¡¶java2ºËÐļ¼ÊõÒ»¶þ¾í¡·£¬¡¶java±à³Ì˼Ïë¡·£¬¡¶javaģʽ¡·¡£ÆäÖС¶java±à³Ì˼Ïë¡·ÒªÑжÁ£¬¾«¶Á¡£ÕâÒ»¶Îʱ¼äÊÇ»ù±¾¹¦Ñ§Ï°£¬Ê±¼ä»áºÜ³¤£¬Ò²¿ÉẠ̈ܺܶ¬ÕâÒª¿´Ñ§Ï°Õß×ÔÉíˮƽ¶ø¶¨¡£
²»Òª±»IDE¾À²ø
ÔÚѧϰjavaºÍj2ee¹ý³ÌÖУ¬Äã»áÓöµ½Î廨°ËÃŵÄIDE£¬²»Òª±»ËûÃÇÃÔ»ó£¬Ñ§JAVAµÄʱºò£¬ÒªÑ§ÓïÑÔ±¾ÉíµÄ¶«Î÷£¬²»ÒªÌ«ÔÚÒâIDEµÄ¸½¼Ó¹¦ÄÜ£¬JAVA±à³ÌÔÚ²»Í¬IDEÖ®¼äµÄת»»ÊǺÜÈÝÒ׵ģ¬¹ýÓÚµÄÔÚÒâIDEµÄ¹¦ÄÜ·´¶øÈÝÒ×µ¢Îó¶ÔÓïÑÔ±¾ÉíµÄÀí½â¡£Ä¿Ç°Á÷ÐеÄIDEÓÐjbuilder£¬eclipseºÍeclipseµÄ¼ÓÇ¿°æWSAD¡£ÓúÃÆäÖÐÒ»¸ö¾Í¿ÉÒÔÁË£¬ÍƼö´ÓeclipseÈëÊÖj2ee¡£ÒòΪJbuilder¸üÊʺÏÓÚдj2se³ÌÐò¡£
Ñ¡ÔñºÍѧϰ·þÎñÆ÷ʹÓÃÅäÖÃ
µ±ÄãÓÐÁËj2seºÍIDEµÄ¾­Ñéʱ£¬¿ÉÒÔ¿ªÊ¼j2eeµÄѧϰÁË£¬web·þÎñÆ÷£ºtomcat£¬ÎðÓ¹ÖÃÒÉ£¬tomcatΪѧϰweb·þÎñÊ×Ñ¡¡£¶øÓ¦Ó÷þÎñÆ÷Ä¿Ç°Ö÷ÒªÓÐÈý¸ö£ºjboss¡¢weblogic¡¢websphere¡£ÓкܶàÏîÄ¿¿ªÊ¼²ÉÓÃjboss£¬²¢ÇÒÓдóÁ¿µÄ¹«Ë¾¿ªÊ¼×öwebsphere»òweblogicÏòjbossÓ¦Ó÷þÎñÆ÷µÄÒÆÖ²£¨½ÚÊ¡³É±¾£©£¬ÕâÀïҪ˵µÄÊÇ£¬Ñ§Ï°tomcatºÍjbossÎÒÈÏΪÊÇÊ×Ñ¡£¬Ò²ÊÇ×îÈÝÒ×ÉÏÊֵġ£Ñ§Ï°·þÎñÆ÷ʹÓÃÅäÖÃ×îºÃȥѯÎÊÓо­ÑéµÄÈË£¨ÓÐÌõ¼þµÄ»°£©£¬ÒòΪËûÃÇ»òÐíÒ»¾ä»°¾ÍÄܽâ¾öÎÊÌ⣬Äã×Ô¼ºÉÏÍøÃþË÷¿ÉÄÜÒªÒ»Á½Ì죨ÎҾ͸ɹýÕâÖÖɵÊ£©£¬ÎÒÃÇÓ¦¸Ã°ÑÖ÷Ҫʱ¼ä·ÅÔÚѧϰԭÀíºÍÀíÂÛÉÏ£¬Ò»ÏîÌض¨¼¼ÊõµÄʹÓÃÓÀÔ¶´úÌæ²»ÁËÒ»¸öÈ˵Ä֪ʶºÍѧÎÊ¡£
ѧϰweb֪ʶ
Èç¹ûÄãÊÇÔÚ×öµç×ÓÉÌÎñÍøÕ¾µÈʱ£¬Äã¿ÉÄÜÒª³äµ±¼¸¸ö½ÇÉ«£¬ÕâÊÇÄ㻹Ҫѧϰ£º
html£¬¿ÉÄÜÒªÓõ½dreamwaveµÈIDE¡£
Javascript£¬Ñ§»á¼òµ¥µÄÊý¾ÝУÑ飬Êý¾ÝÁª¶¯ÏÔʾµÈµÈ
J2eeAPIѧϰ
ѧϰj2eeAPIºÍѧϰ·þÎñÆ÷Ó¦¸ÃÊÇÒ»¸öµü´úµÄ¹ý³Ì¡£
ÏÈѧϰjspºÍservlet±à³Ì£¬Õâ·½ÃæµÄÊéºÜ¶à£¬ÎÒ½¨Á¢¿´oreilly¹«Ë¾µÄÁ½±¾¡¶jspÉè¼Æ¡·ºÍ¡¶java servlet±à³Ì¡·£¬oreilly³öµÄÊé×ÜÊÇÄDZ¾ÓÅÐ㣬²»µÃ²»Åå·þ¡£
ѧϰjdbcÊý¾Ý¿â±à³Ì£¬j2eeÏîÄ¿´ó¶à¶¼ÊÇMISϵͳ£¬·ÃÎÊÊý¾Ý¿âÊǺËÐÄ¡£Õâ±¾Ó¦ÊôÓÚj2seѧϰÖУ¬ÕâÀïÄóöÀ´Ç¿µ÷һϡ£
ѧϰjndi ap


Ïà¹ØÎĵµ£º

JavaÏß³ÌÖ®Thread Per Message Pattern

Thread-Per-Message PatternµÄ²ÎÓëÕߣº
1. Client£¨Î¯ÍÐÈË£©²ÎÓëÕß
    Client²ÎÓëÕß»á¶ÔHost²ÎÓëÕß·¢³öÇëÇó¡£Client²ÎÓëÕß²¢²»ÖªµÀHost²ÎÓëÕß»áÈçºÎʵÏÖÕâ¸öÇëÇó¡£
2. Host²ÎÓëÕß
    µ±Host²ÎÓëÕß½ÓÊÕµ½Client²ÎÓëÕßµÄÇëÇóʱ£¬»á½¨Á¢ÐµÄÏ̲߳¢Æô¶¯Ëü¡£
    Õâ¸öеÄÏ ......

java¼ÓÃܺÍÊý×ÖÇ©Ãû2 ˽Կ¼ÓÃÜ

½ü³õ²½½Ó´¥ÁËÏÂJava¼ÓÃܺÍÊý×ÖÇ©ÃûµÄÏà¹ØÄÚÈÝ£¬ÎÒѧϰµÄ¹ý³Ì´ó¸Å·ÖÎå²½£º
1£©ÏûÏ¢ÕªÒª
2£©Ë½Ô¿¼ÓÃÜ
3£©¹«Ô¿¼ÓÃÜ
4£©Êý×ÖÇ©Ãû
5) Êý×ÖÖ¤Êé
ÏÂÃæµÄ´úÂëÊǵڶþ²¿·Ö£ºË½Ô¿¼ÓÃÜ
Ï£ÍûÄÜΪ¸Õ¸Õ½Ó´¥Õâ¸öµÄÅóÓÑÃÇÊ¡µãÊÂ
package security;
import javax.crypto.Cipher;
import javax.crypto.KeyGenerator;
import ......

JAVA»ñµÃµ±Ç°Ê±¼ä

import java.util.Date;
import java.text.SimpleDateFormat; //ΪÁËÏÔʾʱ¼ä¶ø¼Ó
Date date = new Date(); //»ñµÃϵͳʱ¼ä.
String nowTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date);
//½«Ê±¼ä¸ñʽת»»³É·ûºÏTimestampÒªÇóµÄ¸ ......

linuxϲ鿴java·¾¶

ÓÃÃüÁî whereis java¾Í¿ÉÒÔ¿´µ½ÁË
eg:
-bash-3.1$ whereis java
java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java /opt/jdk1.6.0_01/bin/java

Èç¹û½ö½öÏëÖªµÀjavaÖ´Ðз¾¶ÔÚÄÇÀïµÄ»° ÓÃwhich java¾Í¿ÉÒÔÁË
eg:
-bash-3.1$ which java
/usr/bin/java ......

javaÖÐÈçºÎ»ñµÃ²Ù×÷ϵͳÏÂÓû§Ä¿Â¼


String usrHome = System.getProperty("user.home");
ÏÂÃæÊÇSystemµÄ²ÎÊýÁбí
Key                     Meaning
-------------------     ---------------------- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ