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

java jdbc


JDBC£º
    |-- Êý¾Ý¿â»¥Áª¡£
    |-- ÓÉSUN¹«Ë¾ËùÖƶ¨µÄÓÃÀ´·ÃÎÊÊý¾Ý¿âµÄ¹æ·¶¡£
    |-- Êý¾Ý¿âÊý¾Ý <= ½»»¥ => Ó¦ÓóÌÐò¡£
JDBC°üº¬Ö÷ÒªÁ½¸ö²¿·Ö£º
    |-- part 1.ÓÉSUN¹«Ë¾Öƶ¨µÄ¹æ·¶½Ó¿Ú
        |-- java.sql   
-->  ºËÐÄ°ü
        |-- javax.sql  -->  À©Õ¹°ü
    |-- part 2.ÓÉÊý¾Ý¿â³§ÉÌËùÌṩµÄÊý¾Ý¿âÇý¶¯³ÌÐò£¬ËüÃÇʵÏÖÁËpart 1²¿·Ö¡£
JDBCµÄÇý¶¯³ÌÐò°üº¬ÒÔÏÂËÄÖÖÀàÐÍ£º
    |-- µÚÒ»´úÇý¶¯£¨JDBC - ODBC Bridge£©
        |-- Ê×ÏÈ°ÑJDBCµÄµ÷ÓÃת»»³ÉODBCµÄµ÷Óã¬ÔÙÓÃODBCÓë¾ßÌåµÄÊý¾Ý¿âϵͳͨÐÅ¡£
    |-- µÚ¶þ´úÇý¶¯ £¨Native - API party - Java
driver ±¾µØAPI²¿·ÖJavaÇý¶¯£©
        |-- Conrerts JDBC calls into calls
on the native client API of a specific RODMS.
        |-- ȱµã£º²»Í¬µÄÊý¾Ý¿âÐèÒª°²×°²»Í¬µÄ¿Í»§¶Ë£¨Ã¿Ì¨µçÄÔ¶¼Òª×°£©¡£
    |-- µÚÈý´úÇý¶¯ £¨JDBC - net pure Java driver
ÍøÂç´¿JavaÇý¶¯£©
        |-- ÌṩÍøÂç½Úµã£¬Í¨¹ýÍøÂç½Úµã·ÃÎÊÊý¾Ý¿â¡£
        |-- Translates JDBC calls into a
DBMS independent net protocol, which is then translated 
            to
a DBMS protocol by a server.
    |-- µÚËÄ´úÇý¶¯ £¨Native protocol pure Java
driver ±¾µØЭÒé´¿JavaÇý¶¯£©
        |-- Conrerts JDBC calls directly
into the network protocol used by DBMS.
JDBCºËÐÄAPI
java.sql
|--    Driver    [Interface]    ËùÓÐÇý¶¯±ØÐèʵÏֵĽӿÚ
|--    DriverManager    [Class]    ÓÃÀ´¹ÜÀíÒ»×éÊý¾Ý¿âµÄÇý¶¯
|--    Connection   


Ïà¹ØÎĵµ£º

JAVA¶ÁÊé±Ê¼Ç£¨Ò»£©

1.±äÁ¿£º
¶ÔÓÚ»ù±¾ÀàÐ͵ÄÈ«¾Ö±äÁ¿£¬ÈôûÓгõʼ»¯£¬ÏµÍ³»á×Ô¶¯³õʼ»¯Îª¸ÃÀàÐ͵ijõʼֵ£»¶ø¶ÔÓÚ¾Ö²¿±äÁ¿£¬Ôò±ØÐëÏÔʾµÄ½øÐгõʼ»¯¡£
2.³£Á¿£º
final int M_Max=111;
final±íʾֻÄܸø±äÁ¿M_MAX¸³ÖµÒ»´Î£¬¸³ÖµÖ®ºó£¬M_MAXµÄÖµ¾Í²»¿ÉÒÔÖØи³Öµ¡£Ëù¸³µÄÖµ¿ÉÒÔÊÇÒ»¸ö±í´ïʽ£¬Ò²¿ÉÒÔÊÇÒ»¸ö¾ßÌåµÄÖµ¡£
3.Àà³£Á¿£º
static fina ......

Java½â¶ÁÄڴ棬ÓÅ»¯±à³Ì

      Ò».´úÂëÓÅ»¯
¡¡¡¡ÄÚ´æ»áÒç³ö¿Ï¶¨ºÍ´úÂëÌÓ²»Á˹Øϵ,99.99%ѧjavaµÄÈ˶¼ÖªµÀÀ¬»ø»ØÊÕÆ÷ÊÇ javaµÄÒ»´óÓŵ㲢¾Ý´ËÀ´³°Ð¦C++¡£ÏÔÈ»Õâ¸öÌØÐÔΪ´úÂë±àдÕßÊ¡Á˲»ÉÙÊ£¬µ«Õâ¸öÌØÐÔÈ´´øÀ´Á˲»ÉÙÒþ»¼¡£¾Ù¸öÀý×ÓÔÚÓÎÏ·µ±Öо­³£Óв»Í¬³¡¾°µÄÇл»£¬Èç´ÓÓÎÏ·Âß¼­Í˵½Ö÷²Ëµ¥Âß¼­,¶ÔÓÎÏ·Âß¼­¶ÔÏóµÄ̬¶ ......

javaMail java·¢ËÍemail

·¢ËÍemailÓ¦Óã»
package mail;
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import sun.misc.BASE64Encoder;
public class Mail {
 // ¶¨Òå·¢¼þÈËÏÔʾÃû³Æ¡¢·¢¼þÈË¡¢ÊÕ¼þÈË¡¢³­ËÍ¡¢SMTP·þÎñÆ÷¡¢Óû§Ãû¡¢ÃÜÂë¡¢Ö÷Ìâ¡¢ÄÚÈݵÈ
 private String d ......

Java Web¿ª·¢£¬ÄãÒ»¶¨»áÓöµ½

Java Web¿ª·¢ÖУ¬ÓÐÐí¶à¹²Í¨µÄÎÊÌ⣬ÊÇ¿ª·¢ÈËÔ±ÔÚ¿ª·¢¹ý³ÌÖÐÒ»¶¨»áÓöµ½µÄ£¬ÐèÒª´¦ÀíµÄÎÊÌ⣺
1.  ÂÒÂëÎÊÌâ
ΪºÎ»á³öÏÖÂÒÂëÎÊÌ⣿¼ÈÈ»ÓÐÂÒÂëÎÊÌ⣬¿Ï¶¨ÊÇÓÉÓÚ±àÂëÉèÖõIJ»Ò»Öµ¼Öµġ£ÔÚWeb¿ª·¢
¹ý³ÌÖУ¬Éæ¼°ÒÔÏÂһЩ±àÂëÉèÖ㬿ͻ§¶Ë²ÎÊýµÄ±àÂëÉèÖã¬Web·þÎñÆ÷µÄ±àÂëÉèÖ㬷þÎñÆ÷¶ËÓ¦ÓóÌÐòµÄ±àÂëÉèÖã¬Êý¾Ý¿â ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ