JAVA¸ß¼¶Èí¼þ¹¤³Ìʦ¾ÍÒµ°à
¿Î³ÌÄÚÈÝ
¸ü¼ÓʵÓÿÆѧµÄJava»ù´¡¿Î³Ì
¾ßÓÐÔúʵµÄ±àÂ빦µ×ÊÇÒ»¸öJava¹¤³Ìʦ±Ø±¸µÄÄÜÁ¦£¬ÎÒÃÇÁ¦Çó´ÓѧԱ½Ó´¥JavaµÄµÚÒ»ÌìÆð¾ÍÅàÑøÆäÐγÉÕýȷ˼¿¼ÎÊÌâµÄ·½Ê½¡£ÎÒÃǵĹØ×¢µã²»½ö½öÔÚÓÚ¶Ôij¸öÀà¿â£¨API£©µÄÕÆÎÕ£¬¸ü¶àµÄÊÇÏòѧԱչʾÆóÒµÖÐÕæÕýÒªÖØÊÓµÄÎÊÌ⣬ÀýÈçÒì³£ÈçºÎ´¦Àí¡¢Ëã·¨ÈçºÎÓÅ»¯µÈ¡£Í¬Ê±£¬ÎÒÃÇ×¢ÖØÈÃѧԱÑø³ÉÁ¼ºÃµÄ±àÂëºÍÎĵµ×¢ÊÍÏ°¹ß£¬±àд³öÆóÒµÈϿɵĴúÂë¡£
Ö÷ÒªÄÚÈÝ°üÀ¨£º
ÃæÏò¶ÔÏó³ÌÐòÉè¼Æ¡¢Java»ù´¡ºÍºËÐÄAPI£»Java¸ß¼¶ÌØÐÔ£¨¶àỊ̈߳¬·´É䣬¶¯Ì¬´úÀíµÈµÈ£©£»Éè¼Æģʽ¼°ÆäÓ¦Óã»Linux²Ù×÷ϵͳµÈ¡£
Á÷ÐеÄÊý¾Ý¿â¿Î³Ì
¶ÔÓÚÆóÒµ¼¶Ó¦ÓÃϵͳ£¬Êý¾Ý¿âÖÁ¹ØÖØÒª£¬¿Î³ÌÑ¡È¡ÁËÆóÒµ¼¶Êý¾Ý¿âOracleºÍ¹ã·ºÊ¹ÓõĿªÔ´Êý¾Ý¿âMySQL£¬Öصã¹Ø×¢Êý¾Ý¿âµÄÉè¼ÆºÍÊý¾ÝµÄ·ÃÎʼ¼ÇÉ¡£
Ö÷ÒªÄÚÈÝ°üÀ¨£º
OracleÊý¾Ý¿â»ù´¡£»Êý¾Ý¿âÉè¼Æ£»PL/SQL¸ß¼¶±à³Ì£»OracleÊý¾Ý·ÃÎÊÓÅ»¯£»MySQLÊý¾Ý¿â»ù´¡µÈ¡£
¸ü¾ßʵÓüÛÖµµÄ»ùÓÚB/SϵͳµÄ¿Î³ÌÌåϵ
»ùÓÚä¯ÀÀÆ÷µÄB/SÌåϵ½á¹¹£¬ÊÇÄ¿Ç°ÆóҵϵͳÖг£ÓÃÇÒ³ÉÊìµÄÌåϵ½á¹¹£¬ÊÇÎÒÃÇÏîĿʵսÖÐËù¹Ø×¢µÄÖص㡣
AJAX(Asynchronous Java script and XML)ÊǶàÖÖ¼¼ÊõµÄ×ۺϣ¬ÔÚÄ¿Ç°µÄWeb2.0Èȳ±Öеõ½Á˹㷺µÄÓ¦Óá£ÔÚÎÒÃǵĿγÌÌåϵÖн«½²ÊöÈçºÎʹÓÃAJAX¹¹½¨¸üΪ¶¯Ì¬£¬²¢ÇÒÏìÓ¦¸üÁéÃôµÄWebÓ¦ÓóÌÐò¡£
Ö÷ÒªÄÚÈÝ°üÀ¨£º
JDBC£»JSP/Servlet£»Tomcat·þÎñÆ÷»ù´¡£»Tomcat¸ß¼¶ÅäÖã»Java script ¸ß¼¶±à³Ì£»AJAXºËÐÄÄÚÈÝ£»AJAX³£Óÿò¼Ü¼°±êÇ©¿âµÈ¡£
J2EEÇáÁ¿¼¶½â¾ö·½°¸
Struts¡¢Spring¡¢HibernateÊÇÒµÄÚ¶¦¶¦´óÃûµÄ¿ªÔ´¿ò¼Ü¡£µ«ÎÒÃǹØ×¢µÄ²»½ö½öÊÇ֪ʶ±¾Éí£¬ ¸üÊÇÓ¦¸Ã×ñѵĹý³Ì£º“ÆóÒµÏîÄ¿ÖгöÏÖÁËʲôÎÊÌâ”→“ÕâЩ¿ò¼Ü½â¾öÕâЩÎÊÌâµÄ²ßÂÔÊÇʲô”→“ÈçºÎÀûÓÃÕâЩ¿ò¼ÜÊìÁ·µØ½â¾öÎÊÌâ”→“ÕâЩ¿ò¼Ü»áÓÐÄÄЩ±×¶ËºÍ²»×㣬ÔÚʵ¼ùÏîÄ¿ÖÐÈçºÎÈ¥ÓÅ»¯ºÍÀ©Õ¹”¡£
Ö÷ÒªÄÚÈÝ°üÀ¨£º
Struts£»Spring£»HibernateµÈ¡£
Java EEºËÐļ¼Êõ£¨¼ÓÈëEJB 3.0£©
Java EEºËÐÄ·þÎñJNDI¡¢RMI¡¢JMS¡¢JTAµÈÊDZȽϳÉÊìµÄ¼¼Êõ£¬ÊÇÆóÒµ¼¶ÏîÄ¿µÄ»ù´¡£¬ÊÇÎÒÃÇÐèÒªÖصã¹Ø×¢µÄ»°Ìâ¡£ EJB 3.0µÄ·¢²¼¸øEJB´øÀ´ÁËеĻîÁ¦£¬ÎÒÃÇÒªÁì»áÆäºËÐÄ£¬°ÑÎÕ¼¼Êõ·¢Õ¹µÄÂöÂç¡£
Ö÷ÒªÄÚÈÝ°üÀ¨£º
Java EEºËÐÄ·þÎñ£¨JNDI¡¢JTA¡¢JMS£©£»Java EEºËÐÄÉè¼Æģʽ£»EJB£¨°üÀ¨EJB 3.0£©µÈ¡£
¼«ÏÞ±à³Ì·½·¨£¨XP£©¡¢ÊµÓõÄÆóÒµ¿ª·¢»·¾³
¼«ÏÞ±à³Ì£¨XP£©£¬ÕâÒ»¾¹ýʵ¼ù¿¼ÑéµÄÈí¼þ¿ª·¢·½·¨£¬ÒѾ±»Ðí¶à´óÐÍ¿ª·¢ÍŶӳɹ
Ïà¹ØÎĵµ£º
ÎÊÌâÃèÊö
Exception in thread "main" java.lang.OutOfMemoryError:
Java heap space
½â¾ö·½°¸[ת]
Ò»Ö±¶¼ÖªµÀ¿ÉÒÔÉèÖÃjvm heap´óС£¬Ò»Ö±ÓÃeclipseд/µ÷ÊÔjava³ÌÐò¡£Ò»Ö±ÓÃÃüÁîÐÐor
console¼Ó²ÎÊýÅܳÌÐò¡£ÏÖÏó£ºÔÚeclipseµÄÅäÖÃÎļþeclipse.iniÖÐÉèÖÃ-vmargs -Xms500m
-Xmx1024m
£¬ÔÚeclipseÖ ......
¡¾ÉùÃ÷¡¿×ªÌûµØÖ· £º http://tech.ddvip.com/2009-04/1239788309115180.html
MailSenderInfo .java :
package com.util.mail;
import java.util.Properties;
/**
* @author AllanKing
* @date 2009-11-12
*/
public class MailSenderInfo {
// ·¢ËÍÓʼþµÄ·þÎñÆ÷µÄIPºÍ¶Ë¿Ú
private String mailServerHost;
......
JavaÊÂÎñAPI£¨JTA£»Java Transaction API£©ºÍËüµÄͬ°ûJavaÊÂÎñ·þÎñ(JTS£»Java TransactionService)£¬ÎªJ2EEƽ̨ÌṩÁË·Ö²¼Ê½ÊÂÎñ·þÎñ¡£Ò»¸ö·Ö²¼Ê½ÊÂÎñ£¨distributedtransaction£©°üÀ¨Ò»¸öÊÂÎñ¹ÜÀíÆ÷£¨transaction manager£©ºÍÒ»¸ö»ò¶à¸ö×ÊÔ´¹ÜÀíÆ÷(resource manager)¡£Ò»¸ö×ÊÔ´¹ÜÀíÆ÷£¨resource manager£©ÊÇÈÎÒâÀàÐ͵ ......
@echo off cls REM --- BEG MACHINE-DEPENDENT ---- set HOME_J2RE=C:\Program Files\Java\jdk1.5.0_17 REM --- END MACHINE-DEPENDENT ---- set HOME_JAVA=%HOME_J2RE%\bin\java set HOME_JAVA="%HOME_JAVA%" set ARG_MEMORY=-Xms128m -Xmx196m set PROP_POLICY=-Dorg.ragingcat.kst.uikeytool.policy.extende ......
CoreJava¶àÏß³Ì
Ï̵߳ĸÅÄ
Ïß³ÌÖ¸½ø³ÌÖеÄÒ»¸öÖ´ÐÐÁ÷³Ì£¬Ò»¸ö½ø³Ì¿ÉÒÔ°üº¬¶à¸öÏ̡߳£
ÿһ¸ö½ø³Ì¶¼¶ÀÏíÒ»¿éÄÚ´æ¿Õ¼ä¡£Ã¿¸ö½ø³Ì¶¼ÐèÒª²Ù×÷ϵͳΪÆä·ÖÅä¶ÀÁ¢µÄÄÚ´æµØÖ·£¬¶øͬһ½ø³ÌÖеĶà¸öÏß³ÌÔÚͬһ¿éµØÖ·¿Õ¼ä¹¤×÷£¬ËûÃǹ²ÏíÒ»¿éÄÚ´æºÍ×ÊÔ´¡£
javaÖÐÓÐÁ½Öз½·¨´´½¨Ò»¸ö¶àÏß³ÌÀࣺ
1¡¢¼Ì³Ðjava.lang.ThreadÀ࣬¸²¸ÇT ......