Çë½ÌһЩ¹ØÓÚJAVAÃæÊÔÎÊÌâ Óкܶà лл´ó¼Ò°ïæ
Ìâ Ä¿
javaÓëC#Ïà±È£¬JavaµÄÓÅÊÆÔÚÄÄÀ
1.strutsÔË×÷¹ý³Ì,hibernateµÄ×÷ÓÃ
hibernateÖУ¬ÔõôÅжÏÊDzåÈ뻹ÊǸüÐÂ?
ÔõôʹÓÃjavascript½øÐÐÒ³ÃæÌøת£¿
ÔõôʹÓÃjavascript½«Ò»¸öÒ³ÃæµÄÒ»¸ö²ÎÊý´«µÝµ½ÁíÍâÒ»¸öÒ³Ã棿
ʹÓô洢¹ý³Ì½øÐзÖÒ³£¬Ò³ÃæʹÓÃjavascript·ÖÒ³
ʲôÊÇ×Ô¶¨Òå¿Ø¼þ£¿¶¯Ì¬ÈçºÎ´«Êý¾Ý£¿
Õý¹æ±í´ïʽֻÐíÊäÈëÕûÊý
xmlÒýÓÿռä°üÀ¨Äļ¸¸öÀࣿÈçºÎÀí½âºÍÓ¦Óã¿
DataSetºÍDataReaderµÄÇø±ð
ÓÃÒ»ÌõÓï¾ä½«µÚÒ»ºÍµÚ¶þÕűíÁ¬½Ó³ÉµÚÈýÕűí
1£«1£«2£«3£«5£«8£«…µ½µÚ30λ¶àÉÙ£¿
¼òµ¥ÐðÊöίÍÐ
ÖØÔغÍÖØдµÄÇø±ð
AJAXµÄÓŵã
¼òµ¥ËµËµMVC£¬ÔÚASP.NETÀïÔõôʵÏÖ
ÈçÓгÇÊбíºÍÊß²Ë±í£¬ÓÃSQLÓï¾ä²éѯ³ÇÊÐ±í£¬É¾³ý±àºÅΪ2ºÅµÄÊ߲ˣ¬ ΪÊ߲˱íµÄÊß²ËÃû³Æ×Ö¶ÎÖÐÌí¼ÓÍÁ¶¹
ʲôÊÇCode-Behind¼¼Êõ£¿
˵Ã÷Ò»ÏÂpublic£¬private£¬interface£¬protectµÄ·ÃÎÊȨÏÞ
ORMµÄÔÀíÊÇʲô£¿
ÔÚnetÖжÁÈ¡XMLÎļþÒªÓõ½ÄÇЩ°ü£¬À࣬·½·¨£¿
javaÓënetÓÐʲô²»Í¬£¿
ÃæÏò¶ÔÏóµÄ˼ÏëÊÇʲô£¿
˵Ã÷Ò»ÏÂfinal£¬finally£¬finalizeµÄÓ÷¨£¿
ÓÃDIV+CSS×÷Ò»¸öÈýÁеıí¸ñ
¶¯Ì¬Éú³ÉÒ»¸öÎı¾¿Ø¼þ£¬µ±Õâ¸öÎı¾¿Ø¼þ»ñµÃ½¹µãµÄʱºò£¬µ¯³öÒ»¸ö¿ò
stringºÍstringBufferÇø±ð
Äã¶ÔÆû³µÖ®ÂõÄÈÏÖªºÍ¿´·¨£¿
дһÖÖjavaÅÅÐòËã·¨
sql²éѯ:²éѯ³öÒ»¸ö±íÖÐËÄ´¨Ê¡ºÍºþÄÏÊ¡ËùÓÐÐÕÀîµÄÈ˵ÄÐÕÃû
×óÁª½ÓÔÚʲôʱºòÓ¦ÓÃ
sql²éѯ:ÕÒ³öÕÅÈýµÄͬÏç
²éѯѧԱ±íÖÐÓ¢ÓïÒ»Ãųɼ¨×î¸ßµÄÈË
²éѯѧԱ±íÖÐÓÐÁ½ÃÅÒÔÉϲ»¼°¸ñµÄÈË
²éѯ³ö¸÷Ä꼶ÖÐÄÐÅ®µÄÈËÊý
Èí¼þ²âÊԵķÖÀࣿ
дһÌõSQLÓï¾ä ɸѡ³ö²»Öظ´µÄÊý¾Ý£¿
java C Fortran ÄÄЩÊDZàÒëÀàÐ͵ÄÓïÑÔ£¿
ipµØÖ··Ö¼¸À࣬·Ö±ð˵³öËûÃǵķ¶Î§£¿
2²æÊ÷µÄÎÊÌ⣿£¨ÎÒ¸ù±¾²»¶®£©
ÓÐÒ»¶ÎC++µÄ´úÂë˵³ö»áÊä³öµÄÄÚÈÝ£¿
ÕÒ³öµÚ1000¸öÖÊÊý£¿
È¡oracleÊý¾Ý¿âTEST±í£¨name,age(³öÉúÈÕÆÚ£©£©ÖÐÄêÁä´óÓÚ10ÖÜËêµÄ ÐÕÃû£¿
³ÌÐò²¿ÊðÔÚtomcat,weblogicÄǸöĿ¼À
дһ¸öµÃµ½²éѯorcleÊý¾Ý¿âÀïÃæµÄ¼Ç¼
Ïà¹ØÎĵµ£º
public class RunExtraProgram {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
try {
Runtime.getRuntime().exec("D:\\Program Files\\TTPlayer\\TTPlayer.exe");
} catc ......
1.2.3.ConstructorÀࣺ
ConstructorÀà´ú±íij¸öÀàµÄÒ»¸ö¹¹Ôì·½·¨¡£
µÃµ½Ä³¸öÀàËùÓеĹ¹Ôì·½·¨£º
Constructor[] constructor = Class.forName(“java.lang.String”).getConstructor();
µÃµ½Ä³Ò»¸ö¹¹Ôì·½·¨£º
Constructor constructor =
Class.forName(“java.lang.String”).getCons ......
l JBS
1.Áоٳö 10¸öJAVAÓïÑÔµÄÓÅÊÆ
a:Ãâ·Ñ£¬¿ªÔ´£¬¿çƽ̨(ƽ̨¶ÀÁ¢ÐÔ)£¬¼òµ¥Ò×Ó㬹¦ÄÜÍêÉÆ£¬ÃæÏò¶ÔÏ󣬽¡×³ÐÔ£¬¶àỊ̈߳¬½á¹¹ÖÐÁ¢£¬ÆóÒµÓ¦ÓõijÉÊìƽ̨, ÎÞÏßÓ¦ÓÃ
2.ÁоٳöJAVAÖÐ10¸öÃæÏò¶ÔÏó±à³ÌµÄÊõÓï
a:°ü£¬À࣬½Ó¿Ú£¬¶ÔÏó£¬ÊôÐÔ£¬·½·¨£¬¹¹ÔìÆ÷£¬¼Ì³Ð£¬·â×°£¬¶à̬£¬³éÏ󣬷¶ÐÍ
3.ÁоٳöJAVAÖÐ6¸ ......
ÒÔÏÂÊÇÔÚÍøÉÏÕÒµ½µÄ±ðÈË×ܽáµÄѧϰ·½·¨£¬¾Ñé½è¼øÖС£
1. JavaÓïÑÔ»ù´¡
̸µ½JavaÓïÑÔ»ù´¡Ñ§Ï°µÄÊé¼®£¬´ó¼Ò¿Ï¶¨»áÍƼöBruce EckelµÄ¡¶Thinking in Java¡·¡£ËüÊÇÒ»±¾Ð´µÄÏ൱Éî¿ÌµÄ¼¼ÊõÊé¼®£¬JavaÓïÑÔ»ù´¡²¿·Ö»ù±¾Ã»ÓÐÆäËüÈκÎÒ»±¾Êé¿ÉÒÔ³¬Ô½Ëü¡£¸ÃÊéµÄ×÷ÕßBruce EckelÔÚÍøÂçÉϱ»³ÆΪÌì²ÅµÄͶ»úÕߣ¬×÷Õߵġ¶Thinking in C+ ......
ͨ¹ý¼àÌýÆ÷£¨Listener£©ºÍ¶¨Ê±Æ÷£¨Timer£©¶¨Ê±Ö´ÐÐij¸öÈÎÎñ£¨Task£©¡£
(1)Listener
import
java.util.Timer;
import
javax.servlet.ServletContextEvent;
import
javax.servlet.ServletContextListener;
public
class
MyListener
implements
ServletContextListener {
p ......