Êý¾Ý¿âÓëjavaµÄ¼¸¸ö¸ÅÄî
MDAC¡¢DAO¡¢ADO¡¢OLE DB¡¢ODBCÊÇʲô¹Øϵ
MDAC£¨Microsoft Data Access Components£©ÊÇ΢ÈíÊý¾Ý¿â·ÃÎÊ×é¼þ£¬NetpiseºÍÐí¶àÀûÓÃÊý¾Ý¿âµÄÈí¼þ¶¼ÐèÒª²Ù×÷ϵͳ°²×°MDAC¡£ºÜ¶àÓû§µÄ²Ù×÷ϵͳÖÐÒѾ´æÔÚÁËMDAC£¬ÓÐЩÊDzÙ×÷ϵͳÄÚÖõġ¢ÓÐЩÊÇÆäËüÓ¦ÓóÌÐò°²×°µÄ¡£
ÔÚ MDAC ÖÐÓÐÈýÖÖÖ÷Òª¼¼Êõ£º
¡¡¡¡£¨1£©ActiveX Êý¾Ý¶ÔÏó (ADO)£º ÊÇÒ»¸ö¸ß¼¶µÄ¡¢Ò×ÓÚʹÓõÄÓë OLE DB µÄ½Ó¿Ú¡£
¡¡¡¡£¨2£©OLE DB£º ÊÇÒ»¸öµÍ¼¶µÄ¡¢¸ßÐÔÄܵĽӿڣ¬ÓÃÀ´ÊµÏÖÓë¸÷ÖÖÊý¾Ý´æ´¢µÄÁ¬½Ó¡£ADO ºÍ OLE DB ¾ù¿É´¦Àí¹Øϵ£¨±í¸ñ£©ºÍ·Ç¹Øϵ£¨·Ö¼¶»òÁ÷£©Êý¾Ý¡£
¡¡¡¡£¨3£©¿ª·ÅʽÊý¾Ý¿â»¥Á¬ (ODBC) ÊÇÁíÒ»¸öרÃÅΪ¹ØϵÊý¾Ý´æ´¢Éè¼ÆµÄµÍ¼¶µÄ¡¢¸ßÐÔÄܵĽӿڡ£
Êý¾Ý·ÃÎÊ·½Ê½Ëù×ß¹ýµÄ¼¸¸ö½×¶Î£º
ODBC – £¨Open Database Connectivity£©ÊǵÚÒ»¸öʹÓÃSQL·ÃÎʲ»Í¬¹ØϵÊý¾Ý¿âµÄÊý¾Ý·ÃÎʼ¼Êõ¡£Ê¹ÓÃODBCÓ¦ÓóÌÐòÄܹ»Í¨¹ýµ¥Ò»µÄÃüÁî²Ù×ݲ»Í¬µÄÊý¾Ý¿â£¬¶ø¿ª·¢ÈËÔ±ÐèÒª×öµÄ½ö½öÖ»ÊÇÕë¶Ô²»Í¬µÄÓ¦ÓüÓÈëÏàÓ¦µÄODBCÇý¶¯¡£¿ª·ÅÊý¾Ý¿â»¥Á¬£¨ODBC)ÊÇMicrosoftÒý½øµÄÒ»ÖÖÔçÆÚÊý¾Ý¿â½Ó¿Ú¼¼Êõ¡£Ëüʵ¼ÊÉÏÊÇÎÒÃÇÒªÔÚ±¾ÕºóÃæ¼ÓÒÔÌÖÂÛµÄADOµÄÇ°Éí¡£
DAO - £¨Data Access Objects£©²»ÏñODBCÄÇÑùÊÇÃæÏòC/C++³ÌÐòÔ±µÄ£¬ËüÊÇ΢ÈíÌṩ¸øVisual Basic¿ª·¢ÈËÔ±µÄÒ»ÖÖ¼òµ¥µÄÊý¾Ý·ÃÎÊ·½·¨£¬ÓÃÓÚ²Ù×ÝAccessÊý¾Ý¿â¡£
RDO – ÔÚʹÓÃDAO·ÃÎʲ»Í¬µÄ¹ØϵÐÍÊý¾Ý¿âµÄʱºò£¬JetÒýÇæ²»µÃ²»ÔÚDAOºÍODBCÖ®¼ä½øÐÐÃüÁîµÄת»¯£¬µ¼ÖÂÁËÐÔÄܵÄϽµ£¬¶øRDO£¨Remote Data Objects£©µÄ³öÏÖ¾Í˳Àí³ÉÕÂÁË¡£
OLE DB – Ëæ×ÅÔ½À´Ô½¶àµÄÊý¾ÝÒԷǹØϵÐ͸ñʽ´æ´¢£¬ÐèÒªÒ»ÖÖеļܹ¹À´ÌṩÕâÖÖÓ¦ÓúÍÊý¾ÝÔ´Ö®¼äµÄÎÞ·ìÁ¬½Ó£¬»ùÓÚCOM£¨Component Object Model£©µÄOLE DBÓ¦Ô˶øÉúÁË¡£
Java DataBase Connectivity£¨JavaÊý¾Ý¿âÁ¬½Ó£©£¬ÓÃÓÚ·ÃÎʹØϵÐÍÊý¾Ý¿âµÄJava¼¼Êõ£¬½ö½öÊÇÒ»ÖÖ¼¼Êõ±ê×¼£¬·ÃÎʲ»Í¬µÄ¹ØϵÐÍÊý¾Ý¿âÐèÒªÏàÓ¦µÄJDBC¹æ·¶µÄʵÏÖ°ü¡£
Java 2 Standard Edition£¨JAVA2±ê×¼°æ£©£¬ÓÃÀ´¿ª·¢Java³ÌÐòµÄ»ù´¡£¬°üÀ¨±àÒëÆ÷¡¢Ð¡¹¤¾ß¡¢ÔËÐл·¾³£¬SUN·¢²¼µÄ±ê×¼°æ±¾Öл¹°üÀ¨ºËÐÄÀà¿âµÄËùÓÐÔ´´úÂë¡£
Java Foundation Classes£¨JAVA»ù´¡Àࣩ£¬¼¯ºÏÁËGUI×é¼þÒÔ¼°ÆäËûÄܼò»¯¿ª·¢ºÍÕ¹¿ª×ÀÃæºÍInternet/IntranetÓ¦ÓõķþÎñ£¬ÆäºËÐľÍÊÇSwing¡£
Java 2 Enterprise Edition£¨JAVA2ÆóÒµ°æ£©£¬Ê¹ÓÃJava½øÐÐÆóÒµ¿ª·¢µÄÒ»Ì×À©Õ¹±ê×¼£¬±ØÐë»ùÓÚJ2SE£¬Ìṩһ¸ö»ùÓÚ×é¼þÉè¼Æ¡¢¿ª·¢¡¢¼¯ºÏ¡¢Õ¹¿ªÆóÒµÓ¦ÓõÄ;¾¶¡£J2EE ƽ̨ÌṩÁ˶à²ã¡¢
Ïà¹ØÎĵµ£º
ÒÔÏÂÉèÖÃWinXP¼°ÒÔÉÏÓû§£¬ÓÒ¼üµã»÷ÎҵĵçÄÔ->ÊôÐÔ->¸ß¼¶->»·¾³±äÁ¿£¬ÉèÖü´¿É¡£ÉèÖÃÍê³ÉºóÐèÖØÐÂÆô¶¯ÃüÁîÌáʾ·û²ÅÄÜÉúЧ¡£¾ßÌåÈçÏ£º
JAVA»·¾³±äÁ¿ÉèÖÃ
WindowsÏÂJAVAÓõ½µÄ»·¾³±äÁ¿Ö÷ÒªÓÐ3¸ö£¬JAVA_HOME¡¢CLASSPATH¡¢PATH¡£
JAVA_HOMEÖ¸ÏòµÄÊÇJDKµÄ°²×°Â·¾¶£¬ÈçD:\Program Files\IBM\Java50£¬ÔÚÕâ·¾¶ÏÂÄãÓ¦¸ÃÄܹ»Õ ......
=====suppose such a method:
public static void openFile(String fileName, PrintWriter stream) throws FileNotFoundException
{
stream = new PrintWriter(fileName);
}
=====then we want to use it this way:
PrintWriter toFile = null;
try
{
openFile("data.txt", t ......
3.1 ¿çƽ̨ÈýάͼÐοª·¢¹¤¾ß°üJava 3D
¹Ù·½Ö÷Ò³£ºhttps://java3d.dev.java.net/
Java 3DÑϸñ×ñÑ“½¨Ä££»æÖÆ”·ºÐÍ¡£³¡¾°Í¼£¨scene graph£©µÄ ³éÏóÄ£Ðͱ»ÓÃÀ´×éÖ¯ºÍά»¤ÐéÄⳡ¾°ÖеĿÉÊǶÔÏó¼°ÆäÐÐΪ¡£³¡¾°Í¼°üº¬ÁËÐéÄâͼÐÎÊÀ½çµÄÈ«²¿ÐÅÏ¢£¬Java 3D»æ ÖÆÒýÇæ»á¶Ô³¡¾°Í¼½øÐÐ×Ô¶¯»æÖÆ¡£
Java 3D is a scene g ......
KeywordFilter.java:
import java.io.InputStream;
import java.util.Enumeration;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class KeywordFilter
{
private static Pattern pattern = null;
private static KeywordFilter filter = new KeywordF ......
1¡¢commons-math/commons-lang-math
ÒÔÉÏÁ½¸ö°üÊÇapacheϵģ¬Ç°Õ߱ȺóÕߵŦÄÜÇ¿´ó£¬ºóÕßÓеŦÄÜÇ°¶¼ÓУ¬ºóÕßÖ÷Òª½â¾öƽʱ³ÌÐòÖеÄһЩ»ù±¾µÄÊýѧ¼ÆË㣬Ö÷ÒªÊÇ·¶Î§Åжϣ¨*Range£©,Ëæ»úÊýÉú³É£¨JVMRandom,RandomUtils£©£¬·ÖÊý´¦Àí£¨Fraction£©£¬Êý×Öת»¯¡¢´óСÅжϣ¨NumberUtils£©µÈ¡£Ç°Õß¿ÉÒÔ´¦Àí¸ü¸´ÔÓµÄÊý¾Ý·Ö ......