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

ʹÓÃMaven¿ª·¢JavaÏîÄ¿

ÆäʵʹÓÃmavenÒѾ­ºÜ¾ÃÁË£¬´ÓÔçÆÚµÄ1.0.1µ½ÏÖÔÚµÄ2.0.6£¬Æäʵ¶ÔÓÚÒ»°ãÏîÄ¿¿ª·¢£¬³£ÓõÄÒ²¾ÍÊÇ´´½¨ÏîÄ¿(Create)¡¢¹¹½¨(Build)¡¢²âÊÔ(Test)¡¢·¢²¼(Release)¡£±¾ÎIJ¢²»ÊǹØÓÚmavenÈçºÎʹÓõÄÏêϸ½éÉÜ£¬¶øÖ»ÊÇÔÚʵ¼ÊÏîÄ¿¿ª·¢ÖеÄһЩ³£ÓûÒÔ¼°Ïà¹Ø²å¼þµÄʹÓÃ×ܽᣬÈç¹ûÄã¶ÔÓÚmavenÉв»Á˽⣬¿ÉÒÔÏÈÔÚ¹Ù·½ÍøÕ¾[Maven'site]¹ä¹ä£¬Èç¹ûÄãÏë½øÒ»²½Ñ§Ï°£¬¿ÉÒÔµ½ÕâÀï[Maven: The Definitive Guide]¡£ÕâÀïËù˵µÄmavenÊÇÖ¸2.x°æ±¾£¬Èç¹ûÄãÕýÔÚʹÓõÄÊÇ1.x£¬Çë²Î¿¼¡¶Maven: A Developer's Notebook¡·¡£µ«ÊÇÍƼöʹÓÃ2.0£¬ÖÁÓÚÏêϸµÄÌØÐԱȽϣ¬¿ÉÒԲο¼[MAVEN Feature Comparisons]¡£ 1) ´´½¨ÏîÄ¿ Ê×ÏÈ£¬ÄãµÃΪÄãµÄÏîÄ¿ÆðÒ»¸öÏìÁÁÒ»µãµÄÃû×Ö£¬¼ÈÄÜÌåÏÖÏîÄ¿µÄÒâÒ壬Óַdz£ºÃ¼Ç¡£ÎұȽÏϲ»¶Óû¨ºÍ¶¯ÎïµÄÃû×ÖÀ´ÃüÃû£¬Ò²¿ÉÒÔÊÇij¸öµØÃû»òÈËÃû¡£ÕâÀï¼ÙÉèΪrose£¬»ðºìµÄõ¹å¡£ÏÂÃæµÄÃüÁ½«»á´´½¨Ò»¸öÏîÄ¿µÄ´úÂë¿ò¼Ü¡£ÆäÖÐgroupIdºÍartifactId£¬¿ÉÒÔ¸ù¾Ýʵ¼ÊÐèÒªÀ´ÃüÃû¡£ mvn archetype:create \
   -DarchetypeGroupId=org.apache.maven.archetypes \
   -DgroupId=com.rainboyan.rose \
   -DartifactId=rose ÔËÐгɹ¦ºó£¬½«»á´´½¨Ä¿Â¼ÈçÏ£º rose
|-- pom.xml
`-- src
     |-- main
     |    `-- java
     |        `-- com
     |            `-- rainboyan
     |                `-- rose
     |                    `-- App.java
     `-- test
         `-- java
             `-- com
                 `-- rainboyan
            &


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

javaÃæÊÔÌâ2

 18.×öÒ»¸öµ¥×ÓģʽµÄÀֻ࣬¼ÓÔØÒ»´ÎÊôÐÔÎļþ
package com.softeem.demo;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
*@authorleno
*µ¥×Óģʽ£¬±£Ö¤ÔÚÕû¸öÓ¦ÓÃÆÚ¼äÖ»¼ÓÔØÒ ......

javaÃæÊÔÌâ3

23.±à³ÌʵÏÖÐòÁл¯µÄStudent£¨sno,sname£©¶ÔÏóÔÚÍøÂçÉϵĴ«Êä
package com.softeem.demo;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.net.ServerSocket;
import java.net.Socket;
class Student implem ......

ÉîÈëÀí½âjava¶à̬ÐÔ

                        ÉîÈëÀí½âjava¶à̬ÐÔ
        ×òÌì¿´µ½Ò»¸ö¹ØÓÚ¶à̬ÐÔµÄÌû×Ó£¬²Î¿¼ÁË»ØÌûÕßµÄÀí½â£¬¼ÓÈëÁËһЩ×Ô¼ºµÄ¿´·¨£¬ÕûÀí³öÀ´¹©´ó¼Ò²Î¿¼£¬²»Ò»¶¨ ......

JAVAʵÏÖOracleÊý¾Ý¿âµÄÊý¾ÝµÄ·ÖÒ³ÏÔʾ

 
×î½üѧÁËservletºÍoracle£¬Ò²¾Í°ÑËûÃǽáºÏÏ£¬×ö¸ö·ÖÒ³µÄÒ³Ãæ³öÀ´¡£ËãÊÇÒ»ÖÖ¸´Ï°°É¡£
1.Ê×ÏÈÊÇoracleµÄ·ÖÒ³ÏÔʾSQLÓï¾ä£º
select * from(select a.*, rownum  rn from (select * from Person) a where  rownum <= MaxN ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ