JavaµÄ¼¼Êõ·ÖÀà
Ä¿Ç°JAVA2ÓÐÈý¸ö°æ±¾£ºJ2EE£¨ÆóÒµ°æ£©¡¢J2SE£¨±ê×¼°æ£©¡¢J2ME£¨Î¢ÐͰ棩
1¡¢J2SE£¨JAVA2 Standart Edition£©
JAVA2±ê×¼°æ Ö§³ÖËùÓÐJAVA±ê×¼¹æ·¶ÖÐËù¶¨ÒåµÄºËÐÄÀຯÊý¿âºÍËùÓеÄJAVA»ù±¾Àà±ð¡£J2SE¶¨Î»ÔÚ¿Í»§¶Ë³ÌÐòµÄÓ¦ÓÃÉÏ¡£
2¡¢J2EE£¨JAVA2 Enterprise Edition£©
JAVA2ÆóÒµ°æ ÔÚJ2SEµÄ»ù´¡ÉÏÔö¼ÓÁËÆóÒµÄÚ²¿À©Õ¹ÀຯÊý¿âµÄÖ§³Ö£¬±ÈÈçÖ§³ÖServlet/JSPµÄjavax.servletr.*ºÍEnterprise Java BeanµÄjavax.ejb.*µÄÀຯÊý¿â¡£J2EE¶¨Î»ÔÚ·þÎñÆ÷¶Ë³ÌÐòµÄÓ¦ÓÃÉÏ¡£
3¡¢J2ME£¨JAVA 2 Micro Edition£©
JAVA2µÄ΢ÐÍ°æ±¾ Ö»Ö§³ÖJAVA±ê×¼¹æ·¶ÖÐËù¶¨ÒåµÄºËÐÄÀຯÊý¿âµÄ×Ó¼¯¡£±ÈÈ磬J2ME CLDCµÄ¹æ·¶Ö®ÖУ¬Ö»Ö§³Öjava.lang.*,java.io.*£¬ÒÔ¼°java.util.*µÄÀຯÊý¿â¡£²¢¼ÓÈëÁËһЩ֧³ÖǶÈëʽϵͳµÄÀ©Õ¹ÀຯÊý¿â£¬È磺javax.meicroedition.io.*ÀຯÊý¿â¡£µ«ÊDz¢²»Ö§³ÖËùÓеÄJAVA»ù±¾Àà¡£J2ME¶¨Î»ÓÚǶÈëʽϵͳµÄÓ¦ÓÃÉÏ¡£
4¡¢SMART CARD JAVA
ÖÇÄÜ¿¨JAVA Ö»Ö§³ÖºËÐÄÀຯÊý¿âÖеÄjava.lang.*¡£µ«ÓÐ×Ô¼º×¨ÓõÄÀ©Õ¹ÀຯÊý¿â£¬È磺javacard.*,javacardx.*¡£Ö»Ö§³ÖbooleanÓëbyteÁ½ÖÖJAVA»ù±¾Àà¡£¶¨Î»ÔÚÖÇÄÜ¿¨µÄÓ¦ÓÃÉÏ¡£
5¡¢KVM£¨K Virtual Machine£©
J2MEµÄÐéÄâ»ú ÓÃÀ´Ö´ÐÐSpotlet»òÕßMIDlet¡£²»Í¬°æ±¾µÄJAVAÓв»Í¬µÄÐéÄâ»úÀ´ÔËÐÐJava Applet,Java Servlet»òÕßJava Application¡£¶øÇÒÐéÄâ»ú²»Ö»SUNÒ»¼Ò£¬±ÈÈçIBMµÄJ9 VM¡£
6¡¢JINI
ÓÃÓÚÁ¬½Ó²»Í¬°æ±¾µÄJAVA³ÌÐò£¬ÒÔ´ïµ½×ÊÔ´¹²ÏíµÄÄ¿µÄ¡£
7¡¢CLDC £¨Connected Limited Device Configuration£©
SUN½«J2MEµÄÓ¦ÓÃʵÌå·ÖΪÁ½À࣬Ìá³öÁËÏàÓ¦µÄConfiurationµÄ¸ÅÄî¡£´Ë¹æ·¶Ó¦ÓÃÓÚÔËËãÄÜÁ¦¡¢µçÁ¦¹©Ó¦ÓÐÏÞµÄÉ豸¡£È磺PDA¡¢ÊÖ»ú¡£Ö§³Öjava.lang.*,java.io.*£¬ÒÔ¼°java.util.*µÄÀຯÊý¿â£¬²¢Ö§³ÖÀ©Õ¹ÀຯÊý¿âjavax.meicroedition.io.*¡£
8¡¢CDC £¨Connected Device Configuration£©
´Ë¹æ·¶Ó¦ÓÃÓÚÏà¶ÔÔËËãÄÜÁ¦¡¢µçÁ¦¹©Ó¦½Ï¼ÑµÄÉ豸¡£È磺µç±ùÏä¡¢µçÊÓ»ú¶¥ºÐµÈ¡£
9¡¢MIDP£¨Mobile Information Device Profile£©
ÔÚConfitration¹æ·¶µÄ»ù´¡ÉÏ£¬ÓÐÃ÷È·Çø·Ö³ö¸÷ÖÖǶÈëʽÉ豸µÄJAVA³ÌÐò¿ª·¢¹æ·¶¡£´Ë¹æ·¶ÓÚÌض¨µÄǶÈëʽÉ豸·Ç³£Ïà¹Ø£¬¶
Ïà¹ØÎĵµ£º
Ç°ÑÔ£º
±¾ÎÄÊǶÔJava¼¯ºÏ¿ò¼Ü×öÁËÒ»¸ö¸ÅÀ¨ÐԵĽâ˵£¬Ä¿µÄÊǶÔJava¼¯ºÏ¿ò¼ÜÌåϵÓиö×ÜÌåÈÏʶ£¬Èç¹ûÄãÏëѧϰ¾ßÌåµÄ½Ó¿ÚºÍÀàµÄʹÓ÷½·¨£¬Çë²Î¿´Java APIÎĵµ¡£
Ò»¡¢¸ÅÊö
Êý¾Ý½á¹¹¶Ô³ÌÐòÉè¼ÆÓÐ×ÅÉîÔ¶µÄÓ°Ï죬ÔÚÃæÏò¹ý³ÌµÄCÓïÑÔÖУ¬Êý¾Ý¿â½á¹¹ÓÃstructÀ´ÃèÊö£¬¶øÔÚÃæÏò¶ÔÏóµÄ±à³ÌÖУ¬Êý¾Ý½á¹¹ÊÇÓÃÀàÀ´ÃèÊöµÄ£¬²¢ÇÒ°üº¬ÓжԸÃÊ ......
1.Éú³ÉgifͼƬ¸ñʽµÄ
package com.cssweb.common.util;
import java.io.*;
import java.util.*;
import com.sun.image.codec.jpeg.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.awt.*;
import java.awt.image.*;
/*
* ¹¦ÄÜ£ºµ÷ÓÃAuthServlet¿ÉÒÔÉú³ÉÒ»¸öÑéÖ¤ÂëͼƬ,ͼƬµÄ¿í¶ÈºÍ¸ß¶È¿ÉÒ ......
/**
* ´´½¨ËõÂÔͼƬ
*
* @param orgpath
* @param filename
* @return
* @description: ÃèÊö
*/
//´Ë·½·¨¶ÔÓÚsshÏîÄ¿²¢ÇÒÕë¶Ô ÉÏ´«¹¦ÄÜʱ£¬·Ç³£ÓÐÓÃ
public static Boolean createAbbreviateImg(String orgpath, String filename) {
Boolea ......
ҪʹÓÃjava caching system£¬ÐèÒªÏÂÃæÕ⼸¸ö°ü£ºjcs.jar£¬concurrent.jar,commons-logging.jar, commons-lang.jar,commons-collection.jarÕ⼸¸ö°ü£¬ÔÚjava¹¤³ÌÀïÃ棬
Ê×ÏÈн¨Ò»¸öʹÓÃjcsµÄÅäÖÃÎļþ£ºcache.ccf£¬ÎļþÃû²»Äܸġ£
# DEFAULT CACHE REGION
# sets the default aux value for any non configured ca ......