ÔËÓüÓÃܼ¼Êõ±£»¤JavaÔ´´úÂë
ÔËÓüÓÃܼ¼Êõ±£»¤JavaÔ´´úÂë
ÄÚÈÝ£º
Ò»¡¢ÎªÊ²Ã´Òª¼ÓÃÜ£¿
¶þ¡¢¶¨ÖÆÀà×°ÈëÆ÷
Èý¡¢¼ÓÃÜ¡¢½âÃÜ
ËÄ¡¢Ó¦ÓÃʵÀý
Îå¡¢×¢ÒâÊÂÏî
²Î¿¼×ÊÔ´
Java³ÌÐòµÄÔ´´úÂëºÜÈÝÒ×±»±ðÈË
͵¿´¡£Ö»ÒªÓÐÒ»¸ö·´±àÒëÆ÷£¬ÈκÎÈ˶¼¿ÉÒÔ·ÖÎö±ðÈ˵ĴúÂë¡£±¾ÎÄÌÖÂÛÈçºÎÔÚ²»ÐÞ¸ÄÔÓгÌÐòµÄÇé¿öÏ£¬Í¨¹ý¼ÓÃܼ¼Êõ±£»¤Ô´´úÂë¡£
Ò»¡¢ÎªÊ²Ã´Òª¼ÓÃÜ£¿
¶ÔÓÚ´«Í³µÄC»òC++Ö®ÀàµÄÓïÑÔÀ´Ëµ£¬ÒªÔÚWebÉϱ£»¤Ô´´úÂëÊǺÜÈÝÒ׵ģ¬Ö»Òª²»·¢²¼Ëü¾Í¿ÉÒÔ¡£Òź¶µÄÊÇ£¬Java³ÌÐòµÄÔ´´úÂëºÜÈÝÒ×±»±ðÈË͵
¿´¡£Ö»ÒªÓÐÒ»¸ö·´±àÒëÆ÷£¬ÈκÎÈ˶¼¿ÉÒÔ·ÖÎö±ðÈ˵ĴúÂë¡£JavaµÄÁé»îÐÔʹµÃÔ´´úÂëºÜÈÝÒ×±»ÇÔÈ¡£¬µ«Óë´Ëͬʱ£¬ËüҲʹͨ¹ý¼ÓÃܱ£»¤´úÂë±äµÃÏà¶ÔÈÝÒ×£¬ÎÒÃÇ
ΨһÐèÒªÁ˽âµÄ¾ÍÊÇJavaµÄClassLoader¶ÔÏó¡£µ±È»£¬ÔÚ¼ÓÃܹý³ÌÖУ¬ÓйØJava Cryptography Extension£¨JCE£©
µÄ֪ʶҲÊDZز»¿ÉÉٵġ£
Óм¸ÖÖ¼¼Êõ¿ÉÒÔ“Ä£ºý”JavaÀàÎļþ£¬Ê¹µÃ·´±àÒëÆ÷´¦ÀíÀàÎļþµÄЧ¹û´ó´òÕÛ¿Û¡£È»¶ø£¬Ð޸ķ´±àÒëÆ÷ʹ֮Äܹ»´¦
ÀíÕâЩ¾¹ýÄ£ºý´¦ÀíµÄÀàÎļþ²¢²»ÊÇʲôÄÑÊ£¬ËùÒÔ²»Äܼòµ¥µØÒÀÀµÄ£ºý¼¼ÊõÀ´±£Ö¤Ô´´úÂëµÄ°²È«¡£
ÎÒÃÇ¿ÉÒÔÓÃÁ÷ÐеļÓÃܹ¤¾ß¼ÓÃÜÓ¦Ó㬱ÈÈç
PGP£¨Pretty Good Privacy£©»òGPG£¨GNU Privacy Guard£©¡£Õâʱ£¬×îÖÕÓû§ÔÚÔËÐÐÓ¦ÓÃ֮ǰ±ØÐëÏȽøÐнâÃÜ¡£µ«½â
ÃÜÖ®ºó£¬×îÖÕÓû§¾ÍÓÐÁËÒ»·Ý²»¼ÓÃܵÄÀàÎļþ£¬ÕâºÍÊÂÏȲ»½øÐмÓÃÜûÓÐʲô²î±ð¡£
JavaÔËÐÐʱװÈë×Ö½ÚÂëµÄ»úÖÆÒþº¬µØÒâζ×Å¿ÉÒÔ¶Ô×Ö½Ú
Âë½øÐÐÐ޸ġ£JVMÿ´Î×°ÈëÀàÎļþʱ¶¼ÐèÒªÒ»¸ö³ÆΪClassLoaderµÄ¶ÔÏó£¬Õâ¸ö¶ÔÏó¸ºÔð°ÑеÄÀà×°ÈëÕýÔÚÔËÐеÄJVM¡£JVM¸ø
ClassLoaderÒ»¸ö°üº¬ÁË´ý×°ÈëÀࣨ±ÈÈçjava.lang.Object£©Ãû×ÖµÄ×Ö·û´®£¬È»ºóÓÉClassLoader¸ºÔðÕÒµ½ÀàÎļþ£¬×°ÈëÔ
ʼÊý¾Ý£¬²¢°ÑËüת»»³ÉÒ»¸öClass¶ÔÏó¡£
ÎÒÃÇ¿ÉÒÔͨ¹ý¶¨ÖÆClassLoader£¬ÔÚÀàÎļþÖ´ÐÐ֮ǰÐÞ¸ÄËü¡£ÕâÖÖ¼¼ÊõµÄÓ¦Ó÷dz£¹ã·º
——ÔÚÕâÀËüµÄÓÃ;ÊÇÔÚÀàÎļþ×°Èë֮ʱ½øÐнâÃÜ£¬Òò´Ë¿ÉÒÔ¿´³ÉÊÇÒ»ÖÖ¼´Ê±½âÃÜÆ÷¡£ÓÉÓÚ½âÃܺóµÄ×Ö½ÚÂëÎļþÓÀÔ¶²»»á±£´æµ½Îļþϵͳ£¬ËùÒÔÇÔÃÜÕߺÜÄѵõ½½â
ÃܺóµÄ´úÂë¡£
ÓÉÓÚ°ÑÔʼ×Ö½ÚÂëת»»³ÉClass¶ÔÏóµÄ¹ý³ÌÍêÈ«ÓÉϵͳ¸ºÔð£¬ËùÒÔ´´½¨¶¨ÖÆClassLoader¶ÔÏóÆäʵ²¢²»À§ÄÑ£¬Ö»Ðè
ÏÈ»ñµÃÔʼÊý¾Ý£¬½ÓמͿÉÒÔ½øÐаüº¬½âÃÜÔÚÄÚµÄÈκÎת»»¡£
Java 2ÔÚÒ»¶¨³Ì¶ÈÉϼò»¯Á˶
Ïà¹ØÎĵµ£º
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 ......
ÐÞ¸ÄJavaÎļþ²»ÓÃÖØÆôTomcat·þÎñµÄ·½·¨
ÔÚʹÓÃEclipse+Tomcat¿ª·¢JavaÏîÄ¿µÄʱºò³£³£»áÅöµ½ÕâÑùµÄÇé¿ö£¬ÒÑÐÞ¸ÄJavaÎļþTomcat¾Í»á×Ô¶¯ÖØÆô£¬½ÓÏÂÀ´¾ÍÊÇÂþ³¤µÄµÈ´ý·þÎñÖØÆôÍê±Ï¡£ÄÇÆäʵ´ó¶àÊýµÄJavaÎļþÐÞ¸ÄÊÇûÓбØÒªÖØÆô·þÎñµÄ£¬Ö»ÓÐһЩÌض¨µÄJavaÎļþ£¬±ÈÈç˵ֻÓÐÖØÆô·þÎñµÄʱºò²Å»áµ÷Ó ......
package com.hongsoft.test;
import java.io.*;
//¶¨ÖƵÄÀà×°ÈëÆ÷
public class TestCompile extends ClassLoader
{
String _compiler;
String _classpath;
public static void main(String[] args)
{
new TestCompile();
}
public TestCompile()
{
super(ClassLoader.getSystemClassLoader());
//ĬÈϱàÒëÆ ......
Íøַץȡ Java API ¸ÅÊö
http://code.google.com/intl/zh-CN/appengine/docs/java/urlfetch/usingjavanet.html
App Engine Ó¦ÓóÌÐò¿ÉÒÔÓëÆäËûÓ¦ÓóÌÐò½øÐÐͨÐÅ»òͨ¹ýץȡÍøÖ··ÃÎÊÍøÂçÉϵÄÆäËû×ÊÔ´¡£Ó¦ÓóÌÐò¿ÉÒÔʹÓÃÍøַץȡ·þÎñÀ´·¢³ö HTTP ºÍ HTTPS ÇëÇó²¢½ÓÊÕÏìÓ¦¡£³öÓÚЧÂʺÍÀ©Õ¹ÐÔ¿¼ÂÇ£¬Íøַץȡ·þÎñʹÓà G ......
1.¼ÆËãijһÔ·ݵÄ×î´óÌìÊý
Calendar time=Calendar.getInstance();
time.clear();
time.set(Calendar.YEAR,year); //year Ϊ int
time.set(Calendar.MONTH,i-1);//×¢Òâ,Calendar¶ÔÏóĬÈÏÒ»ÔÂΪ0
int day=time.getActualMaximum(Calendar.DAY_OF_MON ......