友情链接1:21点 足球投注 投注网 明升体育 hg0088 葡京赌场 网上赌球 诈金花 澳门金沙网址 澳门银河网址 澳门银河 澳门银河官网 银河官网 威尼斯人 澳门威尼斯人 澳门威尼斯人官网 威尼斯人官网 金沙 澳门金沙 澳门金沙官网 金沙官网 现金网 赌球网 全讯网 明升国际 足球开户 ******官网 ******网址 现金赌博 澳门现金网 ******官方网站

2012 涓夋湀 | Mingo's Blog
鎸夋湀瀛樻。: 2012-03

java閫氳繃鐩戝惉Session瀹炵幇缁熻鍦ㄧ嚎鐢ㄦ埛

鏃堕棿锛2012骞03鏈30鏃浣滆咃細Mingo琚洿瑙備簡锛10,849 娆璇勮娆℃暟锛3

java閫氳繃鐩戝惉Session瀹炵幇缁熻鍦ㄧ嚎鐢ㄦ埛,棣栧厛鍒涘缓涓涓狶istener

浠g爜濡備笅:

import java.util.HashSet;
import java.util.Set;

import javax.servlet.ServletContextAttributeEvent;
import javax.servlet.ServletContextAttributeListener;
import javax.servlet.http.HttpSessionAttributeListener;
import javax.servlet.http.HttpSessionBindingEvent;

import com.qy.pro.entity.system.User;
import com.qy.pro.util.Constant;

public class SessionListener implements ServletContextAttributeListener, HttpSessionAttributeListener {

	private static Set<User> onLineUsers = new HashSet<User>();//鐢ㄤ簬淇濆瓨鍦ㄧ嚎鐢ㄦ埛

	public static Set<User> getOnLineUsers() {
		return onLineUsers;
	}

        //session鍒涘缓鍚庤Е鍙   锛屽皢鐢ㄦ埛淇℃伅娣诲姞鍒伴潤鎬佺殑闆嗗悎涓
	public void attributeAdded(HttpSessionBindingEvent arg0) {
		if(arg0.getName().equals(Constant.USER_KEY)){
			onLineUsers.add((User)arg0.getValue());
		}
	}
        //娓呴櫎session鏃惰Е鍙
	public void attributeRemoved(HttpSessionBindingEvent arg0) {
		if(arg0.getName().equals(Constant.USER_KEY)){
			onLineUsers.remove((User)arg0.getValue());
		}
	}
        //session琚浛鎹㈡椂瑙﹀彂
	public void attributeReplaced(HttpSessionBindingEvent arg0) {
		if(arg0.getName().equals(Constant.USER_KEY)){
			onLineUsers.add((User)arg0.getValue());
		}

	}

	public void attributeAdded(ServletContextAttributeEvent arg0) {	

	}
	public void attributeRemoved(ServletContextAttributeEvent arg0) {

	}
	public void attributeReplaced(ServletContextAttributeEvent arg0) {

	}
}

聽鐒跺悗鍦╳eb.xml閰嶇疆鏂囦欢涓坊鍔犱互涓嬪唴瀹:

  <listener>
    <listener-class>com.qy.pro.web.listener.SessionListener</listener-class>
  </listener>

聽鏈鍚庡湪椤甸潰鎶 SessionListener.onLineUsers聽 灞曠ず鍑烘潵.

c3p0.properties璇﹁В

鏃堕棿锛2012骞03鏈20鏃浣滆咃細Mingo琚洿瑙備簡锛12,705 娆璇勮娆℃暟锛2

c3p0.properties璇﹁В锛

driverClass=net.sourceforge.jtds.jdbc.Driver
jdbcUrl=jdbc:jtds:sqlserver://127.0.0.1:1433/mrm
user=sa
password=123456

#杩炴帴姹犱腑淇濈暀鐨勬渶灏忚繛鎺ユ暟
minPoolSize = 5
#杩炴帴姹犱腑淇濈暀鐨勬渶澶ц繛鎺ユ暟
maxPoolSize = 30
#褰撹繛鎺ユ睜涓殑杩炴帴鑰楀敖鐨勬椂鍊檆3p0涓娆″悓鏃惰幏鍙栫殑杩炴帴鏁
acquireIncrement = 5
#浠庢暟鎹簱鑾峰彇鏂拌繛鎺ュけ璐ュ悗閲嶅灏濊瘯鐨勬鏁
acquireRetryAttempts = 30
#涓ゆ杩炴帴涓棿闅旀椂闂达紝鍗曚綅姣
acquireRetryDelay = 1000
#杩炴帴鍏抽棴鏃堕粯璁ゅ皢鎵鏈夋湭鎻愪氦鐨勬搷浣滃洖婊
autoCommitOnClose= true
#姣60绉掓鏌ユ墍鏈夎繛鎺ユ睜涓殑绌洪棽杩炴帴
idleConnectionTestPeriod = 60
#鍒濆鍖栨椂鑾峰彇5涓繛鎺
initialPoolSize= 5
#鏈澶х┖闂叉椂闂,60绉掑唴鏈娇鐢ㄥ垯杩炴帴琚涪寮
maxIdleTime = 60
#绾跨▼鏁
numHelperThreads = 3

 

鏍囩锛鍒嗙被锛Java缂栫▼

Java鐢熸垚楠岃瘉鐮

鏃堕棿锛2012骞03鏈20鏃浣滆咃細Mingo琚洿瑙備簡锛5,642 娆璇勮娆℃暟锛0

Java鐢熸垚楠岃瘉鐮 浠g爜濡備笅锛

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.util.Random;

import javax.imageio.ImageIO;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.qy.pro.util.Constant;

public class CheckCodeServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;

	// 楠岃瘉鐮佸浘鐗囩殑瀹藉害銆
		private int width = 60;
		// 楠岃瘉鐮佸浘鐗囩殑楂樺害銆
		private int height = 16;

		protected void service(HttpServletRequest req, HttpServletResponse resp)
				throws ServletException, java.io.IOException {
			BufferedImage buffimg = new BufferedImage(width, height,
					BufferedImage.TYPE_INT_RGB);
			Graphics2D g = buffimg.createGraphics();
			// 鍒涘缓涓涓殢鏈烘暟鐢熸垚鍣ㄧ被銆
			Random random = new Random();
			g.setColor(Color.white);
			g.fillRect(0, 0, width, height);

			// 鍒涘缓瀛椾綋锛屽瓧浣撶殑澶у皬搴旇鏍规嵁鍥剧墖鐨勯珮搴︽潵瀹氥
			Font font = new Font("times new roman", Font.PLAIN, 20);
			// 璁剧疆瀛椾綋銆
			g.setFont(font);

			// 鐢昏竟妗嗐
			g.setColor(Color.white);
			g.drawRect(0, 0, width - 1, height - 1);

			// 闅忔満浜х敓10鏉″共鎵扮嚎锛屼娇鍥捐薄涓殑璁よ瘉鐮佷笉鏄撹鍏跺畠绋嬪簭鎺㈡祴鍒般
			g.setColor(Color.gray);
			for (int i = 0; i < 5; i++) {
				int x = random.nextInt(width);
				int y = random.nextInt(height);
				int xl = random.nextInt(12);
				int yl = random.nextInt(12);
				g.drawLine(x, y, x + xl, y + yl);
			}

			// randomcode鐢ㄤ簬淇濆瓨闅忔満浜х敓鐨勯獙璇佺爜锛屼互渚跨敤鎴风櫥褰曞悗杩涜楠岃瘉銆
			StringBuffer randomcode = new StringBuffer();
			int red = 0, green = 0, blue = 0;

			// 闅忔満浜х敓4浣嶆暟瀛楃殑楠岃瘉鐮併
			for (int i = 0; i < 4; i++) {
				// 寰楀埌闅忔満浜х敓鐨勯獙璇佺爜鏁板瓧銆
				String strrand = "";
//				int n = random.nextInt(123);
				int n = random.nextInt(10);
				if (n >= 65) // 濡傛灉澶т簬65鍒欒浆鎹负涓涓瓧绗
				{
					if (n > 90 && n < 97) { // 濡傛灉涓轰笉鍚堟硶鐨勫瓧绗﹀垯鍐嶈浆涓烘暟瀛
						n = random.nextInt(10);
						strrand += n;
					} else { // 鐢熸垚涓涓瓧绗
						strrand = (char) n + "";
					}
				} else {
					n = random.nextInt(10);
					strrand += n;
				}
				// 浜х敓闅忔満鐨勯鑹插垎閲忔潵鏋勯犻鑹插硷紝杩欐牱杈撳嚭鐨勬瘡浣嶆暟瀛楃殑棰滆壊鍊奸兘灏嗕笉鍚屻
				red = random.nextInt(200);
				green = random.nextInt(200);
				blue = random.nextInt(200);

				// 浜х敓闅忔満楂樺害 10鑷砲eight涔嬮棿
				float imght = 0;
				while (imght <= 13) {
					imght = Float
							.parseFloat(String.valueOf(random.nextInt(height)));
				}
				// 鐢ㄩ殢鏈轰骇鐢熺殑棰滆壊灏嗛獙璇佺爜缁樺埗鍒板浘鍍忎腑銆
				g.setColor(new Color(red, green, blue));
				g.drawString(strrand, 13 * i+10, imght);

				// 灏嗕骇鐢熺殑鍥涗釜闅忔満鏁扮粍鍚堝湪涓璧枫
				randomcode.append(strrand);
			}
			g.dispose();
			// 灏嗗洓浣嶆暟瀛楃殑楠岃瘉鐮佷繚瀛樺埌session涓傚叾閿负 validateCode
			HttpSession session = req.getSession();
			session.setAttribute(Constant.CHECK_CODE, randomcode.toString());

			// 绂佹鍥惧儚缂撳瓨銆
			resp.setHeader("pragma", "no-cache");
			resp.setHeader("cache-control", "no-cache");
			resp.setDateHeader("expires", 0);
			resp.setContentType("image/png");

			// 灏嗗浘鍍忚緭鍑哄埌servlet杈撳嚭娴佷腑銆
			ServletOutputStream sos = resp.getOutputStream();
			try{
			ImageIO.write(buffimg, "png", sos);
			}catch(Exception c){}
			sos.close();
		}

}

 

鏍囩锛,鍒嗙被锛Java缂栫▼

JS鍒ゆ柇娴忚鍣ㄧ殑绫诲瀷浠ュ強鐗堟湰

鏃堕棿锛2012骞03鏈15鏃浣滆咃細Mingo琚洿瑙備簡锛4,200 娆璇勮娆℃暟锛1

涓栫晫涓婄殑娴忚鍣ㄦ垚鐧句笂鍗冪锛屽綋鐒舵垜浠渶甯歌鐨勬棤闈炰篃灏辨槸涓涓嬪嚑绉嶏細

IE 娴忚鍣锛歐indows鎿嶄綔绯荤粺涓殑榛樿娴忚鍣紝涔熸槸浣跨敤鏈骞跨殑娴忚鍣紝褰撶劧杩欏緱褰掑姛浜巜indow绯荤粺銆

Firefox 娴忚鍣锛歁ozilla寮鍙戠殑缃戦〉娴忚鍣紝鏀寔澶氱鎿嶄綔绯荤粺锛屽紑鏀炬簮浠g爜浠ュ璁稿彲鏂瑰紡鎺堟潈銆傜伀鐙愬湪鍏ㄧ悆娴忚鍣ㄥ競鍦轰唤棰濇帓琛岀浜屻

Chrome锛圙oogle娴忚鍣級锛欸oogle锛堣胺姝岋級鍏徃寮鍙戠殑寮鏀惧師濮嬬爜缃戦〉娴忚鍣ㄣ傛彁渚43绉嶈瑷鐗堟湰銆傚競鍦轰唤棰濅粎娆′簬IE鍜孎F銆

Opera 娴忚鍣 锛氬揩閫熴佸皬宸э紝鍏煎鎬ч潪甯镐笉閿欍傚悓鏍锋敮鎸佸绉嶆搷浣滅郴缁熴

Safari 娴忚鍣锛氳嫻鏋滃嚭鍝侊紝閲嶇偣鍦ㄤ簬鐢ㄦ埛浣撻獙銆

闅忕潃娴忚鍣ㄥ眰鍑轰笉绌凤紝椤甸潰鍏煎鎬х粰鍓嶇寮鍙戣呭甫鏉ヤ簡涓嶅皯楹荤儲

涓嬮潰鏄垜鐢ㄦ潵鍒ゆ柇娴忚鍣ㄧ被鍨嬪強鐗堟湰鐨勬柟娉曪細

var browser = function(){
    var userAgent = navigator.userAgent.toLowerCase();
    if (userAgent.indexOf("msie")>0)
        return "IE:"+userAgent.match(/msie ([\d.]+)/)[1];
    else if (userAgent.indexOf("chrome")>0)
        return "Chrome:"+userAgent.match(/chrome\/([\d.]+)/)[1];
    else if (userAgent.indexOf("firefox")>0)
        return "Firefox:"+userAgent.match(/firefox\/([\d.]+)/)[1];
    else if (window.opera)
        return "Opera:"+userAgent.match(/opera.([\d.]+)/)[1];
    else if (window.openDatabase)
        return "Safari:"+userAgent.match(/version\/([\d.]+)/)[1];
    else
	return "Other";
 }

 

 

鏍囩锛,鍒嗙被锛鍓嶇鎶鏈

瑙e喅PL/SQL涓嚭鐜???涔辩爜鐨勯棶棰

鏃堕棿锛2012骞03鏈14鏃浣滆咃細Mingo琚洿瑙備簡锛6,169 娆璇勮娆℃暟锛1

鐢≒L/SQL 杩炴帴鏈嶅姟鍣ㄤ笂鐨勬暟鎹簱锛屼笉鏄湰鏈篛racle

璁剧疆绯荤粺鐜鍙橀噺锛屽彉閲忓悕锛歂LS_LANG锛屽彉閲忓间负浠ヤ笅鐨勬煡璇㈢粨鏋溿

SELECT ‘AMERICAN_AMERICA.’ || PROPERTY_VALUE
FROM DATABASE_PROPERTIES
WHERE PROPERTY_NAME = ‘NLS_CHARACTERSET’;

璁剧疆濂藉悗閲嶅惎鐢佃剳锛圵in7/2008鍙互涓嶇敤閲嶅惎锛

鏍囩锛鍒嗙被锛Oracle, PL/SQL

Java Webservice涔媂Fire鐨勫鎴风璋冪敤

鏃堕棿锛2012骞03鏈12鏃浣滆咃細Mingo琚洿瑙備簡锛14,695 娆璇勮娆℃暟锛2

鍓嶉潰鎴戜滑璇村埌Java Webservice涔媂Fire寤虹珛鏈嶅姟鍣ㄧ锛岃繖閲屾垜浠湅鐪嬫庝箞鍦ㄥ鎴风璋冪敤Webservice鐨勪袱绉嶆柟寮
涓銆侀氳繃鏈嶅姟绔彁渚涚殑鎺ュ彛绫昏繘琛岃皟鐢ㄣ
浠g爜濡備笅锛

package com.xfire.client;

import java.net.MalformedURLException;
import java.util.List;

import org.codehaus.xfire.XFire;
import org.codehaus.xfire.XFireFactory;
import org.codehaus.xfire.client.XFireProxyFactory;
import org.codehaus.xfire.service.Service;
import org.codehaus.xfire.service.binding.ObjectServiceFactory;

import com.xfire.domain.Person;
import com.xfire.spring.IPersonService;

public class PojoInvokeClient {

  public static void main(String[] args) {
        Service serviceModel = new ObjectServiceFactory().create(IPersonService.class);
        XFire xfire = XFireFactory.newInstance().getXFire();
        XFireProxyFactory factory = new XFireProxyFactory(xfire);
        String serviceUrl = "http://127.0.0.1:8080/xfire/services/PersonService";
        IPersonService client = null;
        try {
              client = (IPersonService) factory.create(serviceModel, serviceUrl);
        } catch (MalformedURLException e) {
              System.out.println("Client call webservice has exception: "+ e.toString());
        }
        String result1 =client.sayHello("寮犱笁");
  }
}

浜屻佺洿鎺ラ氳繃url璋冪敤, 涓嶇敤瀹㈡埛绔彁渚涙帴鍙g被銆

package com.xfire.client;

import java.net.MalformedURLException;
import java.net.URL;

import org.codehaus.xfire.client.Client;

public class UrlInvokeClient {

  public static void main(String[] args) {
    Client client = null;
    try {
      client = new Client(new URL("http://127.0.0.1:8080/xfire/PersonService.ws?wsdl"));
      Object[] result1 = client.invoke("sayHello", new Object[] {"寮犱笁"});
      System.out.println(result1[0]);
    } catch (MalformedURLException e) {
      e.printStackTrace();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
}

 

鏍囩锛,,鍒嗙被锛Java缂栫▼

2012骞3鏈堢紪绋嬭瑷鎺掕姒滐細C鏈夋湜瓒呰秺Java

鏃堕棿锛2012骞03鏈12鏃浣滆咃細Mingo琚洿瑙備簡锛36,478 娆璇勮娆℃暟锛1

TIOBE杩戞棩鍏竷浜2012骞3鏈堜唤鐨勭紪绋嬭瑷鎺掕姒滐紝涓婁釜鏈堟帓鍚嶇10鐨凧avaScript宸茬粡瓒呰秺浜哖ython鍜孭erl锛屽崌鑷崇8锛岄櫎姝や箣澶栵紝鍓嶅崄浣嶇殑鍏朵粬缂栫▼璇█鐨勬帓鍚嶅苟娌℃湁浠涔堝彉鍖栥
鐩墠锛屽墠涓ゅ悕鐨勪綅缃粛鐢盝ava銆丆鍜孋#鎵鍗犳嵁锛屽煎緱娉ㄦ剰鐨勬槸锛孞ava鍜孋涔嬮棿鐨勫樊璺濊繘涓姝ョ缉灏忥紝浠庝笂涓湀鐨0.527%闄嶈嚦0.023%锛岃屾牴鎹袱鑰呯殑澧為熸潵鐪嬶紝C鏈夋湜鍦ㄦ湭鏉ョ殑涓や釜鏈堣秴瓒奐ava锛屾垚涓哄啝鍐涖

缂栫▼璇█鎺掕姒

鏍囩锛,,鍒嗙被锛涓氱晫璧勮

Eclipse鎻掍欢瀹夎鏂规硶

鏃堕棿锛2012骞03鏈11鏃浣滆咃細Mingo琚洿瑙備簡锛3,683 娆璇勮娆℃暟锛0

鍋氫负褰撲笅鏈娴佽鐨勫紑婧怚DE涔嬩竴锛孍clipse鐨勪竴澶т紭鍔垮氨鍦ㄤ簬鍏舵棤鏁颁紭绉鐨勬彃浠躲備竴涓ソ鐨勬彃浠跺彲浠ュぇ澶х殑鎻愰珮宸ヤ綔鏁堢巼锛屼笅闈粙缁岴clipse鎻掍欢鐨勫畨瑁呮柟娉曘

銆銆Eclipse鎻掍欢鐨勫畨瑁呮柟娉曞ぇ浣撴湁浠ヤ笅涓夌锛

绗竴绉嶏細鐩存帴澶嶅埗娉

銆銆鍋囪Eclipse鐨勫畨瑁呯洰褰曞湪C:\eclipse锛岃В鍘嬩笅杞界殑eclipse 鎻掍欢鎴栬呭畨瑁卐clipse 鎻掍欢鍒版寚瀹氱洰褰旳A(濡傦細c:\AA)鏂囦欢澶癸紝鎵撳紑AA 鏂囦欢澶癸紝鍦ˋA鏂囦欢澶归噷鍒嗗埆鍖呭惈涓や釜鏂囦欢澶筬eatures鍜宲lugins 锛岀劧鍚庢妸涓や釜鏂囦欢澶归噷鐨勬枃浠跺垎鍒鍒跺埌C:\eclipse涓嬫墍瀵瑰簲鐨勬枃浠跺す涓嬬殑features 鍜宲lugins 涓嬶紝涓鑸殑鎶婃彃浠舵枃浠剁洿鎺ュ鍒跺埌eclipse鐩綍閲屾槸鏈鐩存帴涔熸槸鏈鎰氳牏鐨勪竴绉嶆柟娉曪紒鍥犱负鏃ュ悗鎯宠鍒犻櫎杩欎簺鎻掍欢浼氶潪甯哥殑鍥伴毦锛屼笉鎺ㄨ崘浣跨敤銆

銆銆娉ㄦ剰锛氱洿鎺ュ皢鎻掍欢鍖呰В鍘嬪埌plugins鏂囦欢澶逛笅涔嬪悗锛岄噸鍚痚clipse锛屽彲鑳戒笉浼氬姞杞芥柊鐨勬彃浠躲

銆銆瑙e喅鏂规硶鏄細

銆銆1銆佹墦寮鍛戒护琛岋紝鍒板綋鍓峞clipse鐨勭洰褰曚笅锛岃緭鍏clipse -clean锛岄噸鏂板惎鍔╡clipse锛岃繖鏍積clipse灏变細鍔犱笂鏂扮殑鎻掍欢浜嗐

銆銆2銆佸鏋滄彃浠朵笉鑳藉崌鏁堬紝鍒欒灏唀clipse\configuration\org.eclipse.update鐩綍鍒犻櫎鍚庡啀鍚姩eclipse锛

銆銆浣犲彲浠ュ湪eclipse鐨勮彍鍗曗滺elp鈥–>鈥滱bout Eclipse SDK鈥–>鈥滷eature Details鈥 鍜屸漃lug-in Details鈥濅腑鐪嬪埌鏂板畨瑁呯殑鎻掍欢銆

绗簩绉嶏細浣跨敤link鏂囦欢娉

銆銆a.鍋囪Eclipse鐨勫畨瑁呯洰褰曞湪C:\eclipse锛屽湪璇ユ枃浠跺す涓嬶紝鏂板缓杩欐牱鐨勭洰褰曠粨鏋凜:\eclipse\PluginsEclipse\jode\eclipse锛

銆銆b.瑙e帇涓嬭浇鐨別clipse 鎻掍欢鎴栬呭畨瑁卐clipse 鎻掍欢鍒版寚瀹氱洰褰旴B锛堝锛欳:\BB锛夋枃浠跺す锛屾墦寮BB鏂囦欢澶癸紝鐒跺悗鎶 BB鏂囦欢澶归噷鐨勪袱涓枃浠跺すfeatures鍜宲lugins澶嶅埗鍒板垰鍒氭柊寤哄ソC:\eclipse\PluginsEclipse\jode\eclipse锛岃繖鏍積clipse涓氨鏈変簡涓や釜鎻掍欢鐩綍features and plugins涓嬨

銆銆c.鍦–:\eclipse鐩綍涓柊寤簂inks锛圕:\eclipse\links锛夌洰褰曪紝鍦╨inks鐩綍涓缓绔嬩竴涓互link涓烘墿灞曞悕鐨勬枃鏈枃浠跺jode.link锛屽唴瀹瑰涓媝ath=C:/eclipse/PluginsEclipse/jode 鎴栬卲ath=C:\\eclipse\\PluginsEclipse\\jode锛堟彃浠剁殑鐩綍锛夛紝淇濆瓨鍚庨噸鍚痚clipse鎻掍欢灏变細瀹夎瀹屾垚銆

銆銆娉ㄦ剰锛歭ink鏂囦欢涓璸ath=鎻掍欢鐩綍鐨刾ath璺緞鍒嗛殧瑕佺敤\\鎴栨槸/

銆銆/eclipse/

銆銆links/

銆銆jode.link

銆銆webtools.link

銆銆updateManager.link

銆銆/eclipse/ links/ jode.link webtools.link updateManager.link … … 鍙互鍦╡clipse鐨勮彍鍗曗滺elp鈥–>鈥滱bout Eclipse SDK鈥–>鈥滷eature Details鈥 鍜屸漃lug-in Details鈥濅腑鐪嬪埌鏂板畨瑁呯殑鎻掍欢銆

绗笁绉嶏細浣跨敤eclipse鑷甫鍥惧舰鐣岄潰瀹夎

銆銆閫夋嫨Help > Software Updates > Manager Configuration锛屽啀閫夋嫨Add > Extension Location 鎵惧埌浣犺瀹夎鎻掍欢鐨勭洰褰曞氨鍙互浜嗐備娇鐢╡clipse鐨刪elp->SoftwareUpdates ->Find and install… search for new features… 杈撳叆杞欢瀹夎鍦板潃杩涜瀹夎寮虹儓鎺ㄨ崘杩欑鏂规硶锛屼紭鐐瑰緢澶氭瘮濡傚彲浠ユ柟渚跨殑娣诲姞鍒犻櫎锛屼篃涓嶇敤鑷繁鍐檒ink鏂囦欢锛

銆銆澶囨敞锛欵clipse鎻掍欢鐨勭洰褰曠粨鏋

銆銆/eclipse-plugins/

銆銆eclipse/

銆銆.eclipseextension

銆銆features/

銆銆plugins/

銆銆绗2.3绉嶆柟娉曟墍鎸囧悜鐨勭洰褰曢兘鎸囩殑鏄漞clipse鈥濈洰褰曪紝

銆銆濡傛灉鐢ㄧ3绉嶆柟娉曪紝鍦╡clipse杩欎釜鐩綍涓嬪繀椤绘湁鏂囦欢.eclipseextension锛屽鏋滀笅杞界殑鎻掍欢娌℃湁杩欎釜鏂囦欢锛

銆銆閭e氨闅忎究eclipse瀹夎鐩綍涓嬬殑閭d釜鏂囦欢鎷疯繃鍘诲氨琛岋紝鍙湁鏈夎繖涔堜釜鏂囦欢灏卞彲浠ヤ簡锛屽唴瀹规病浠涔堢敤锛屼富瑕佹槸涓浜涚増鏈俊鎭備緥濡傦細

銆銆Java浠g爜

銆銆id=org.eclipse.platform name=Eclipse Platform

銆銆version=3.1.1

銆銆id=org.eclipse.platform name=Eclipse Platform version=3.1.1

鏍囩锛鍒嗙被锛eclipse, 寮鍙戝伐鍏

JBoss Web 绠浠

鏃堕棿锛2012骞03鏈11鏃浣滆咃細Mingo琚洿瑙備簡锛3,004 娆璇勮娆℃暟锛0

JBoss Web鏄 JBoss浼佷笟绾т腑闂翠欢缁(JEMS)鐨勪竴涓叧閿儴浠躲傚畠浠ユ湰鍦扮殑鎬ц兘杩愯Java EE銆丮icrosoft ASP.Net銆丳HP鍜孋GI搴旂敤绋嬪簭锛岀敋鑷宠秴杩嘇pache Web鏈嶅姟鍣ㄣ傚湪JBoss AS 5.x鍙婂叾鍚庣画鐗堟湰锛屽皢浣跨敤JBoss Web鏇挎崲Tomcat浣滀负榛樿鐨剆ervlet/JSP瀹瑰櫒銆侸Boss Web鏈嶅姟鍣ㄤ负Java EE銆丮icrosoft ASP.Net銆丳HP鍜孋GI鑴氭湰鎶鏈彁渚涗竴涓崟涓鐨勩侀珮鎬ц兘鐨勪紒涓氱骇閮ㄧ讲骞冲彴銆傚畠鐨勬剰鍥炬槸鍦ㄦ墍鏈変富瑕佸钩鍙颁笂鏇挎崲鎺夋爣鍑嗙殑Web鏈嶅姟鍣ㄣ侸Boss Web鍦ˋpache Tomcat鍜孉pache Portable Runtime(APR)鎶鏈笂寮鍙戙傚畠鎶奐ava EE鏈嶅姟鍣ㄥ拰鏈湴鐨凥TTP鏈嶅姟鍣ㄥ緢濂界粨鍚堝埌涓璧枫

Apache Tomcat鏄竴涓狫ava Servlet鍜孞SP鏈嶅姟鍣ㄣ傚畠鏄竴涓潪甯告櫘閬嶇殑Java搴旂敤鏈嶅姟鍣紝鍦↗Boss AS 4.x涓綔涓洪粯璁ょ殑servlet瀹瑰櫒銆傜劧鑰岋紝鍗曠函鐨凙pache Tomcat鍦ㄥ緢澶氬湴鏂硅〃鐜颁笉鏄緢濂斤紝渚嬪娲诲姩杩炴帴鏀寔銆侀潤鎬佸唴瀹广佸ぇ鏂囦欢鍜孒TTPS绛夈侸Boss Web閫氳繃浣跨敤APR鍜孴omcat鏈湴鎶鏈殑娣峰悎妯″瀷鏉ヨВ鍐宠繖浜涙ц兘闂銆傛贩鍚堟妧鏈ā鍨嬩粠鏈鏂扮殑鎿嶄綔绯荤粺鎶鏈噷鎻愪緵浜嗘渶濂界殑绾跨▼鍜屼簨浠跺鐞嗐傜粨 鏋滐紝JBoss Web杈惧埌浜嗗彲鎵╁睍鎬э紝鎬ц兘鍙傛暟鍖归厤鐢氳嚦瓒呰秺浜嗘湰鍦癆pache HTTP鏈嶅姟鍣ㄦ垨鑰匢IS銆備緥濡傦紝浠庝笅鍥句腑鍙湅鍑猴紝鍦↗Boss Web涓殑SSL鎬ц兘姣斿崟绾殑Tomcat蹇洓鍊嶃

闄や簡鎬ц兘鐨勯棶棰橈紝Apache Tomcat鐨勫彟涓涓己鐐规槸瀹冩槸涓涓彈闄愮殑闆嗘垚骞冲彴銆俆omcat浠呰兘杩愯Java搴旂敤绋嬪簭銆傚鏋滀綘鎯宠繍琛孞ava绋嬪簭鏃跺悓鏃朵娇鐢≒HP/CGI绋嬪簭锛屼綘 蹇呴』浣跨敤Apache Web鏈嶅姟鍣ㄦ垨鑰呭叾瀹冩湰鍦版湇鍔″櫒鍋歍omcat鐨勫墠鍙般傚湪JBoss Web涓殑鍩轰簬APR鐨勬贩鍚堟ā鍨嬪悓鏃舵敮鎸佸湪杩涘煄鍐呮垨鑰呰繘绋嬪鎵цCGI鍜孭HP鑴氭湰銆傛澶栵紝JBoss Web鏀寔ASP.Net绋嬪簭锛屽厑璁窲ava搴旂敤绋嬪簭璁块棶姝e湪杩愯鐨 .Net鏈嶅姟鍜屽璞°

JBoss Web鏈嶅姟鍣ㄧ殑鍏抽敭鍔熻兘鍖呮嫭锛氬畬鍏ㄦ敮鎸丣ava EE銆侀珮搴︾殑鎵╁睍鎬с佸揩閫熺殑闈欐佸唴瀹瑰鐞嗐佺兢闆嗐丱penSSL銆乁RL閲嶅啓鍜岀患鍚堟с

鏍囩锛鍒嗙被锛Jboss, Web鏈嶅姟鍣

EWeb4J 1.8.6 鍙戝竷

鏃堕棿锛2012骞03鏈09鏃浣滆咃細Mingo琚洿瑙備簡锛3,411 娆璇勮娆℃暟锛0

姝ょ増鏈窛绂讳笂娆1.7鐨勫彂甯冨凡缁忚繃鍘5涓湀浜嗐

鏈鐗堟湰鏇存柊棰囧锛屾憳鍙栧嚑涓噸瑕佺殑缃楀垪濡備笅锛

  • 鍏煎JPA,閮ㄥ垎瀹炵幇
  • 鍏煎JAX-RS(Java RESTful API),閮ㄥ垎瀹炵幇
  • 娣诲姞properties鏂囦欢閰嶇疆鏀寔
  • 娣诲姞涓涓崄鍒嗙伒娲荤殑DAO鎺ュ彛
  • 绮剧畝閰嶇疆鏂囦欢鍐呭
  • 鏀寔宓屽浜嬪姟
  • 鏂扮殑楠岃瘉鍣
  • 淇澶ч噺bug
  • 閲嶆瀯澶ч噺浠g爜锛屾洿澶氱殑娴嬭瘯閫氳繃

璇︾粏鎯呭喌璇风Щ姝ラ」鐩富椤碉細http://code.google.com/p/eweb4j/

涓嬭浇鍦板潃锛http://code.google.com/p/eweb4j/downloads/list

鐢ㄦ埛鎸囧崡锛http://code.google.com/p/eweb4j/wiki/QuickStart?tm=6

鏍囩锛鍒嗙被锛涓氱晫璧勮