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

JAVAѧϰ¼Æ»®3


µÚÒ»½×¶Î£ºJAVA»ù´¡ÔöÇ¿/Oracle+MySqlÊý¾Ý¿â+JDBC¿ª·¢¼¼Êõ+DAO·â×°
ºËÐļ¼Êõ¿Î³Ì
java»ù´¡¼ÓÇ¿£ºÔöÇ¿forÑ­»·¡¢¿É±ä²ÎÊý¡¢Ã¶¾Ù¡¢·´Éä¡¢ÄÚÊ¡¡¢beanutils¹¤¾ß¡¢×¢½â¡¢·ºÐÍ¡¢Àà¼ÓÔØ¡¢´úÀí¡¢×°Ïä/²ðÏä¡¢¾²Ì¬ÒýÓõÈJavaм¼ÊõºÍ¸ß¼¶¼¼Êõ¡£
OracleºÍMySqlÊý¾Ý¿â£ºOracleºÍMySqlÊý¾Ý¿â»ù´¡¹ÜÀí¡¢SQL ÓïÑÔ¡¢PL/SQLÓïÑÔ¡¢Êý¾Ý¿âÉè¼Æ·¶Ê½£»Êý¾Ý±¸·ÝÓëÒÆÖ²£»´¥·¢Æ÷¡¢´æ´¢¹ý³Ì£»Êý¾Ý¼ìË÷¼¼ÇÉ£¬ÊÓͼ£¬´¥·¢Æ÷£¬º¯Êý£¬´æ´¢¹ý³Ì£¬ÓαêµÈ¼¼ÊõµÄʹÓᣴó¶ÔÏóµÄ¶Áд¼¼ÇÉ£¬Êý¾ÝÓÅ»¯¼¼ÇÉ£¬·ÖÇøÓëË÷Òý¡£MySqlÊý¾Ý¿â£¬³£¼ûÎÊÌâ·ÖÎöÓëÉè¼Æ¡£
JDBC¿ª·¢¼¼Êõ£ºJDBC Connection¡¢Statement¡¢PreparedStatement¡¢CallableStatement¡¢ResultSet¡¢Scrollable RS¡¢Updatable RS¡¢RowSet and DataSource¡¢Êý¾Ý¿âÁ¬½Ó³Ø¡¢JDBC Template¡¢ORM˼ÏëÓëDAO·â×°µÈ¡£
µÚ¶þ½×¶Î£ºJavaWEB+JavaMail¿ª·¢¼¼Êõ+ÏîÄ¿°¸Àý
ºËÐļ¼Êõ¿Î³Ì
JavaWEB¿ª·¢ºËÐÄ»ù´¡£ºXMLµÄ¸ÅÄîÓë»ù±¾×÷Óá¢XMLµÄ»ù±¾Óï·¨¡¢XMLµÄÔ¼Êøģʽ¡¢DTD¡¢XML Schema¡¢Ãû³Æ¿Õ¼ä¡£WEB·þÎñÆ÷µÄ¹¤×÷Ô­Àí¡¢TomcatµÄ°²×°ÓëÆô¶¯ÔËÐС¢TomcatµÄÌåϵ½á¹¹¡¢ÔÚTomcatÖÐÅäÖÃWEBÐéÄâĿ¼Óë·¢²¼WEBÓ¦ÓóÌÐòµÄ¸÷ÖÖ·½Ê½¡¢ÉèÖÃĿ¼µÄĬÈÏÍøÒ³¡¢Ê¹ÓÃTomcatÅäÖÃÐéÄâÖ÷»ú¡£ HTTPЭÒéÏê½â£¬HttpServletResponseºÍHttpServletRequestµÄÓ¦Ó㬠Session¼°SessionÓòµÄÓ¦Óã¬Session¸ú×Ù»úÖÆ£¬SessionʵÏÖ¹ºÎï³µ£¬ÀûÓÃSession·ÀÖ¹±íµ¥Öظ´Ìá½»£¬MD5Ëã·¨¼°ÆäÓ¦Óã¬SessionµÄ³Ö¾Ã»¯¡£
JSP¼¼Êõ£ºJSPÔËÐÐÔ­Àí¡¢JSPÖеÄ9¸öÄÚ²¿¶ÔÏóºÍ×÷Óá¢JSP±í´ïʽ¡¢JSP½Å±¾Æ¬¶Î¡¢JSPÉùÃ÷¡¢JSP×¢ÊÍ¡¢EL±í´ïʽ¼ò½é¡£pageÖ¸Áî¼°ÆäÖØÒªµÄÊôÐÔ£ºimport¡¢session¡¢errorPage¡¢isErrorPage¡¢contentTyp¡¢pageEncoding¡¢isELIgnored¡¢ÔÚweb.xmlÎļþÖÐÉèÖÃÈ«¾Ö´íÎó´¦Àí¡£JSPÖеÄincludeÖ¸Áî¼°ÆäµäÐÍÓ¦Óá£pageContext¶ÔÏóµÄÏêϸ½²½â¡£JSP±êÇ©£¨ÐÐΪԪËØ£©£º<jsp:include>¡¢<jsp:forward>¡¢¸÷Öֽű¾±êÇ©¡¢Ö¸Áî±êÇ©¡£JSPÖÐÎÄÂÒÂëµÄ¸÷ÖÖÔ­Òò·ÖÎö¡£JavaBean¡¢JSPÖÐÓëJavaBeanÏà¹ØµÄÈýÌõÖ¸ÁÐÐΪԪËØ£©¡£
JavaWEB¸ß¼¶¿ª·¢¼¼Êõ£ºServlet¹ýÂËÆ÷¼°µäÐÍ°¸Àý¡¢Servlet¼àÌýÆ÷¡¢¿ª·¢¹ú¼Ê»¯µÄWEBÓ¦Óá¢LocaleÀ࣬NumberFormatÀ࣬DateFormatÀ࣬MessageFormatÀàµÄÓ¦Óã¬×ÊÔ´°ü£¨ResourceBundleÀà¡¢ListResourceBundleÀà¡¢PropertyResourceBundleÀࣩµÄÓ¦Óã¬Property×ÊÔ´ÎļþÓënative2ascii¹¤¾ß£¬ÈçºÎ¿ª·¢¹ú¼Ê»¯µÄWEBÓ¦Óᣠ×Ô¶¨Òå±êÇ©ºÍJSTL£º±êÇ©¼¼Êõ¿ª·¢ÈëÃÅ£»×Ô¶¨Òå±êÇ©API½éÉÜ£


Ïà¹ØÎĵµ£º

IBM FileNet Content Java API ¼ò½é

2008 Äê 6 ÔÂ 24 ÈÕ
Ô­ÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ......

¸´Ï°¡¶Thinking in Java¡·±Ê¼Ç¶þ:µÚ¾Å¡¢Ê®Õ±ʼÇ

1.½Ó¿ÚµÄ·½·¨Ä¬È϶¼ÊÇpublic µÄ£¬·½·¨Ö»ÄÜÊÇpublic&abstract,·½·¨µÄʵÏÖ²»ÄÜСÓÚ½Ó¿Ú·½·¨µÄvisibality.
    ½Ó¿ÚÖеÄÓòĬÈÏÊÇpublic static finalµÄ¡£
  Ò»¸öÀà¿ÉÒÔʵÏֺܶà¸ö½Ó¿Ú¡£
2.ÄÚ²¿Àà¾ßÓÐÍâΧÀࣨenclosing class£©µÄËùÓÐÔªËصķÃÎÊȨ¡£
3.ÄäÃûÀàÈç¹ûÏ£ÍûÊÇÓÐÒ»¸öÔÚÆäÍⲿ¶¨ÒåµÄ¶ÔÏó£¬ ......

javaʵÏÖ´ò×Ö»úЧ¹ûµÄ³ÌÐò

import java.applet.*;
import java.awt.*;
import java.io.*;
import java.net.URL;
import java.util.*;
public class Typewriter4 extends Applet implements Runnable
{
    AudioClip hit, cr, ding ;
    boolean alreadyRun = false,
      & ......

javaµÄstring format

×ܵĸñʽÊÇ£º
%[argument_index$][flags][width][.precision]conversion
ÀýÈ磺
%2$-5.2s
//2$£ºÈ¡µÚ¶þ¸ö²ÎÊý
//-: Ö¸¶¨Îª×ó¶ÔÆ룬ĬÈÏÓÒ¶ÔÆë
//5£º×î´óÊä³ö¿í¶ÈΪ20,²»¹»»á²¹¿Õ¸ñ£¬Êµ¼ÊÈô³¬¹ýÔòÈ«²¿Êä³ö
//.2£ºÔڴ˱íʾÊä³ö²ÎÊý2µÄ×î´ó×Ö·ûÊýÁ¿£¬Èç¹ûÊǸ¡µãÊý×Ö£¬Ôò±íʾСÊý²¿·ÖÏÔʾµÄλÊý
//s £º±íʾÊäÈë²ÎÊýÊÇ×Ö ......

Java µÄping ·½·¨

 
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.regex ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ