java Óʼþ·þÎñÆ÷Ö®james°²×°ÅäÖÃ
James Óʼþ·þÎñÆ÷µÄ°²×°ºÍÅäÖÃ
»·¾³:
Óʼþ·þÎñÆ÷:
²Ù×÷ϵͳ:REDHAT LINUX AS 4
IP:192.168.1.108
×ÓÍøÑÚÂë:255.255.0
Íø¹Ø:192.168.1.1
DNS:192.168.1.2
¿Í»§¶Ë:
²Ù×÷ϵͳ:windows 2003
IP :192.168.1.2
×ÓÍøÑÚÂë:255.255.255.0
Íø¹Ø:192.168.1.1
DNS:192.168.1.2
¼òµ¥½éÉÜÒ»ÏÂÓʼþ·þÎñÆ÷µÄÅäÖû·¾³
ÒѾ°²×°ºÃÁË,apache,php,mysql,tomcat
·¾¶·Ö±ðÊÇ
/usr/local/apache
/usr/local/php
/usr/local/mysql
/usr/local/tomcat
Jdk °²×°µÄÊÇ1.6
·¾¶ÊÇ/usr/java
ÏÂÃæ½éÉܰ²×°µÄÕû¸ö¹ý³ÌºÍ×¢ÒâÊÂÏî
1. ÏÂÔØËùÐèÒªµÄÈí¼þ
[url]http://james.apache.org/[/url]
2. °²×°¹ý³Ì
ÎÒ°ÑJamesÉÏ´«µ½ÎҵķþÎñÆ÷µÄ·¾¶ÊÇ/usr/local/software
#cd /usr/local/software
#tar zxvf james-2.3.1
#mv james-2.3.1 /usr/local/james
#cd /usr/local/james
#cd bin
#chmod +x run.sh
#chmod +x phoenix
×¢Òâ²»Ð޸ĿÉÄܲ»ÄÜÔËÐÐ
#./run.sh
³öÏÖÒÔϽçÃæ:
±íʾ°²×°Õý³£½øÐÐ.,ÕâʱjamesÒѾÔËÐÐ…
ÔËÐÐjames֮ǰҪÏÈÍ£µôϵͳ×Ô´øµÄsendmailÓʼþ·þÎñ,·ñÔòÒ²»á±¨´í....
Èç¹ûÏëÍ£µôµÄ»°,¿ªÒ»¸öSHELL,,,,,,,ÓÃKILLÃüÁî½áÊø½ø³Ì¾Í¿ÉÒÔÁË,»òÕßÖ±½Ócrtl+cµô,Ò²¿ÉÒÔµÄ,ºÇºÇ...
°²×°¹ý³ÌÖпÉÄܳöÏÖ´íÎó,Çë²é¿´ÊÇ·ñÊÇ·À»ðǽ×èµ²ÁËjamesÔËÐÐËùÐèÒªµÄ¶Ë¿Ú,25,110.4555
ͨ¹ý±à¼iptablesÎļþ,´ò¿ªÏàÓ¦µÄ¶Ë¿Ú.,¼ÇµÃÖØÐÂÆô¶¯·À»ðǽ.ÃüÁî:service iptables restart
ÏÂÃæÍ¨¹ýÐÞ¸ÄCONFIG.XMLÅäÖÃÎļþʵÏÖÊÕ·¢Óʼþ.
ͨ¹ýkillÃüÁîɱËÀjamesµÄ½ø³Ì,»òÖ±½Óctl+c
#cd /usr/local/james/apps/SAR-INF
#vi config.xml
ÐÞ¸Ä/usr/local/james/apps/SAR-INF/config.xml
#
<postmaster>postmaster@redhat</postmaster>
... ...
<servername>redhat</servername>
… …
×¢Ê͵ôÒÔÏÂÄÚÈÝ
<mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
<processor> relay-denied </processor>
<notice>550 - Requested action not taken: relaying denied</notice>
</mailet>
Ìí¼ÓDNS
&n
Ïà¹ØÎĵµ£º
ÊÂʵÉÏÍøÂç±à³Ì¼òµ¥µÄÀí½â¾ÍÊÇÁ½Ì¨¼ÆËã»úÏ໥ͨѶÊý¾Ý¶øÒÑ¡£¶ÔÓÚ³ÌÐòÔ±¶øÑÔ£¬È¥ÕÆÎÕÒ»ÖÖ±à³Ì½Ó¿Ú²¢Ê¹ÓÃÒ»ÖÖ±à³ÌÄ£ÐÍÏà¶Ô¾Í»áÏԵüòµ¥µÄ¶àÁË¡£Java SDKÌṩһЩÏà¶Ô¼òµ¥µÄApiÀ´Íê³ÉÕâЩ¹¤×÷£¬Socket¾ÍÊÇÆäÖÐÖ®Ò»¡£
¶ÔÓÚJava¶øÑÔ¡£ÕâЩApi´æÔÚÓëJava.netÕâ¸ö°üÀïÃæ¡£Òò´ËÖ»Òªµ¼ÈëÕâ¸ö°ü¾Í¿ÉÒÔ×¼±¸ÍøÂç±à³ÌÁË¡£ÍøÂç± ......
Java iText ¶¯Ì¬ Éú³É PDF Îĵµ ±í¸ñ ÖÐÎÄÎÊÌâ
iTextÊÇÒ»¸ö¿ª·¢Ô´´úÂëµÄÏîÄ¿£¬Äã¿ÉÒÔʹÓÃiText·½±ãµÄʵÏÖPDFµÄÊä³ö¡£
Ò»¡¢iTextµÄÏÂÔØ£º
Äã¿ÉÒÔÔÚ http://www.lowagie.com/iText/ ²é¿´¹ØÓÚiTextµÄÏà¹ØÐÅÏ¢£¬°üÀ¨Ô´´úÂ룬Îĵµ..
1. itext-src-1.4 ......
(±¾ÎÄ×ªÔØ)
ÔÎÄ£ºhttp://blog.csdn.net/thinkghoster/archive/2008/04/19/2307001.aspx
class
A
...
{
public
String show(D obj)
...
{
&nbs ......
java ´Ê»ã±íËÙ²éÊÖ²á
http://bbs.54master.com/91318,1,109
Abstract class ³éÏóÀà:³éÏóÀàÊDz»ÔÊÐíʵÀý»¯µÄÀ࣬Òò´ËÒ»°ãËüÐèÒª±»½øÐÐÀ©Õ¹¼Ì³Ð¡£
Abstract method ³éÏó·½·¨:³éÏó·½·¨¼´²»°üº¬Èκι¦ÄÜ´úÂëµÄ·½·¨¡£
Access modifier ·ÃÎÊ¿ØÖÆÐÞÊηû:·ÃÎÊ¿ØÖÆÐÞÊηûÓÃÀ´ÐÞÊÎJavaÖÐÀà¡¢ÒÔ¼°ÀàµÄ·½·¨ºÍ±äÁ¿µÄ·ÃÎÊ¿ØÖÆÊôÐÔ¡£ ......
ʲôÊÇjava EEÁË¡£Ò»°ãÀ´Ëµ£¬Ò»¸ö³ÉÊìµÄjava EE½â¾ö·½°¸£¬°üÀ¨ÒÔϼ¸¸ö²¿·Ö¡£
1¡¢¿ÉÒÔ¶ÔÍâÌṩ»ùÓÚ±ê×¼ÐÒéÈçxmlµÄ·þÎñ
ÈçWeb Service
2¡¢ÄÚ²¿Í¨ÐÅ»ùÓÚÃæÏò¶ÔÏóµÄͨÐÅÐÒé
Èç RMI£¬Corba£¬XML RPC
3¡¢°²È«ÐԸߣ¬È¨ÏÞ¿ØÖÆÑϸñ
Èç MD5£¬SSL£¬AccountDomain
4 &nbs ......