锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩久久精品网,在线一区二区视频,日韩三级在线播放http://www.aygfsteel.com/bing/category/43039.htmleverything about Javazh-cnWed, 17 Mar 2010 04:35:15 GMTWed, 17 Mar 2010 04:35:15 GMT60GUICE 涓?Servlet 浠ュ強 Vaadin 鐨勯泦鎴?/title><link>http://www.aygfsteel.com/bing/archive/2010/03/16/vaadin_guice_servlet_integration.html</link><dc:creator>bing</dc:creator><author>bing</author><pubDate>Tue, 16 Mar 2010 07:05:00 GMT</pubDate><guid>http://www.aygfsteel.com/bing/archive/2010/03/16/vaadin_guice_servlet_integration.html</guid><wfw:comment>http://www.aygfsteel.com/bing/comments/315569.html</wfw:comment><comments>http://www.aygfsteel.com/bing/archive/2010/03/16/vaadin_guice_servlet_integration.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bing/comments/commentRss/315569.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bing/services/trackbacks/315569.html</trackback:ping><description><![CDATA[<strong>閮ㄥ垎錛?錛夛細GUICE 涓?Servlet 闆嗘垚</strong><br /> <br /> http://code.google.com/p/google-guice/wiki/Servlets<br /> <br /> Guice 鎻愪緵浜嗕笌 Servlet 鐨勯泦鎴愶紝鍙互瀹屽叏鏇夸唬 web.xml錛屼嬌鐢ㄧ被鍨嬪畨鍏紝Java紼嬪簭鍛樻墍涔犳儻鐨勬柟寮忓 servlet 鍜?filter 榪涜閰嶇疆銆?a name="Introduction"><br /> <br /> </a> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000">  </span><span style="color: #0000ff"><</span><span style="color: #800000">filter</span><span style="color: #0000ff">></span><span style="color: #000000"><br />     </span><span style="color: #0000ff"><</span><span style="color: #800000">filter-name</span><span style="color: #0000ff">></span><span style="color: #000000">guiceFilter</span><span style="color: #0000ff"></</span><span style="color: #800000">filter-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br />     </span><span style="color: #0000ff"><</span><span style="color: #800000">filter-class</span><span style="color: #0000ff">></span><span style="color: #000000">com.google.inject.servlet.GuiceFilter</span><span style="color: #0000ff"></</span><span style="color: #800000">filter-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br />   </span><span style="color: #0000ff"></</span><span style="color: #800000">filter</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <br />   </span><span style="color: #0000ff"><</span><span style="color: #800000">filter-mapping</span><span style="color: #0000ff">></span><span style="color: #000000"><br />     </span><span style="color: #0000ff"><</span><span style="color: #800000">filter-name</span><span style="color: #0000ff">></span><span style="color: #000000">guiceFilter</span><span style="color: #0000ff"></</span><span style="color: #800000">filter-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br />     </span><span style="color: #0000ff"><</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000">/*</span><span style="color: #0000ff"></</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000"><br />   </span><span style="color: #0000ff"></</span><span style="color: #800000">filter-mapping</span><span style="color: #0000ff">></span></div> <a name="Introduction"><br /> 棣栧厛錛屼笅杞芥渶鏂扮増鏈殑 guice-servlet jar 鍖咃紝灝嗗叾涓?guice 鐨勫寘鍏卞悓鏀懼湪 classpath 璺緞涓嬨傜劧鍚庡皢 GuiceFilter 鏀懼湪 web.xml 鐨勮搗濮嬩綅緗紝</a>榪欐牱錛屽浜庝換浣曡礬寰勶紝guiceFilter 閮戒細琚嬌鐢紝寰楀埌鎺у埗銆?br /> <br /> 涓嬮潰錛岃瀵?Guice 榪涜閰嶇疆錛屾柟娉曟槸錛?nbsp;  Guice.createInjector(newServletModule());<br /> <br /> 榪欏彞璇濆彲浠ュ湪浠諱綍鏃跺欒璋冪敤錛屼絾鎺ㄨ崘鐨勫仛娉曟槸鍦ㄤ竴涓?ServletContextListener 涓璋冪敤錛岃繖涓?Listener 鍦?Web 搴旂敤鍚姩鏃惰璋冪敤錛屽湪浠諱綍璇鋒眰鍒版潵涔嬪墠銆傚仛娉曞涓嬶紝棣栧厛鎵╁睍 Google 鎻愪緵鐨勫熀綾伙細<br /> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> MyGuiceServletConfig </span><span style="color: #0000ff">extends</span><span style="color: #000000"> GuiceServletContextListener {<br /> <br />   @Override<br />   </span><span style="color: #0000ff">protected</span><span style="color: #000000"> Injector getInjector() {<br />     </span><span style="color: #0000ff">return</span><span style="color: #000000"> Guice.createInjector(</span><span style="color: #0000ff">new</span><span style="color: #000000"> ServletModule());<br />   }<br /> }</span></div> <br /> 鐒跺悗鍦?web.xml 涓繘琛屾敞鍐?br /> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #0000ff"><</span><span style="color: #800000">listener</span><span style="color: #0000ff">></span><span style="color: #000000"><br />   </span><span style="color: #0000ff"><</span><span style="color: #800000">listener-class</span><span style="color: #0000ff">></span><span style="color: #000000">com.example.MyGuiceServletConfig</span><span style="color: #0000ff"></</span><span style="color: #800000">listener-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> </span><span style="color: #0000ff"></</span><span style="color: #800000">listener</span><span style="color: #0000ff">></span></div> <br /> 閰嶇疆 servlet 鏄湪 ServletModule 涓繘琛岀殑銆備互涓嬫槸涓涓尶鍚嶇被鐨勪緥瀛愶細<br /> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000">   Guice.createInjector(<img alt="" src="http://www.aygfsteel.com/Images/dot.gif" />, </span><span style="color: #0000ff">new</span><span style="color: #000000"> ServletModule() {<br /> <br />      @Override<br />      </span><span style="color: #0000ff">protected</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> configureServlets() {<br />        serve(</span><span style="color: #000000">"</span><span style="color: #000000">*.html</span><span style="color: #000000">"</span><span style="color: #000000">).with(MyServlet.</span><span style="color: #0000ff">class</span><span style="color: #000000">)<br />      }<br />    }</span></div> <br /> 鍙互鐢?web.xml椋庢牸鐨勮礬寰勯檺鍒舵硶 serve("/my/*").with(MyServlet.class)銆?br /> <br /> 涔熷彲浠ョ被浼煎湴閰嶇疆 filter: <br /> filter("/*").through(MyFilter.class);<br /> <br /> 娉ㄦ剰錛氭瘡涓?servlet 鍜?filter 閮藉繀欏繪槸 @Singleton錛屽繀欏誨湪鏍囨敞鎴栬?module 閲岄潰鎸囨槑錛屾墍鏈変笉鏄?Singleton 鐨?scope 閮芥槸閿欒銆傝繖涓?Servlet 鐨勮鑼冧竴鑷淬?br /> <br /> 瀹夎浜?ServletModule 妯″潡鍚庯紝浠諱綍 Guice 娉ㄥ叆鐨勫疄渚嬮兘鍙互琚敞鍏ヤ笅闈㈢殑瀵硅薄錛?br /> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000">@RequestScoped<br /> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SomeNonServletPojo {<br /> <br />   @Inject<br />   </span><span style="color: #0000ff">public</span><span style="color: #000000"> SomeNonServletPojo(HttpServletRequest request, HttpServletResponse response, HttpSession session) {<br />     <img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /><br />   }<br /> <br /> }</span></div> <br /> 姝ゅ錛宧ttp璇鋒眰鐨勫弬鏁板彲浠ュ姝ゆ敞鍏ワ細 @Inject @RequestParameters Map<String, String[]> params;<br /> <br /> 鍒嗛厤欏哄簭錛?br /> <br /> filter 鍜?servlet 灝嗕細鎸夌収鍦?nbsp;ServletModule 閲岄潰鍑虹幇鐨勯『搴忓垎閰嶃?br /> <br /> 姝ゅ錛屽彲浠ヤ竴嬈″尮閰嶅涓礬寰勶細 serve("*.html", "/my/*").with(MyServlet.class);<br /> <br /> 姝e垯鏂囨硶鍖歸厤錛歴erveRegex("(.)*ajax(.)*").with(MyAjaxServlet.class)<br /> <br /> 鎸囧畾鍒濆鍖栧弬鏁幫細<br /> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">  Map</span><span style="color: #000000"><</span><span style="color: #000000">String, String</span><span style="color: #000000">></span><span style="color: #000000"> params </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> HashMap</span><span style="color: #000000"><</span><span style="color: #000000">String, String</span><span style="color: #000000">></span><span style="color: #000000">();<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  params.put(</span><span style="color: #000000">"</span><span style="color: #000000">coffee</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">"</span><span style="color: #000000">Espresso</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  params.put(</span><span style="color: #000000">"</span><span style="color: #000000">site</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">"</span><span style="color: #000000">google.com</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  <img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />      serve(</span><span style="color: #000000">"</span><span style="color: #000000">/*</span><span style="color: #000000">"</span><span style="color: #000000">).with(MyServlet.</span><span style="color: #0000ff">class</span><span style="color: #000000">, params)</span></div> <br /> 榪欎簺鍙傛暟鍙互鐢?<a name="Initialization_Parameters"><tt>getInitParams</tt></a> 寰楀埌銆?br /> <br /> 鍏朵粬楂樼駭鐗規х渷鐣ヤ笉鍐嶈璁恒?br /> <br /> <strong>閮ㄥ垎錛?錛夛細GUICE 涓?nbsp;Vaadin 闆嗘垚</strong><br /> <br /> http://vaadin.com/wiki/-/wiki/Main/Integrating Vaadin with Guice 2.0<br /> <br /> 棣栧厛錛屼笅杞?guice-2.0.jar, guice-servlet-2.0.jar, aopalliance.jar錛屽皢榪欎簺鍖呮嫹璐濆埌 <span style="font-family: monospace; white-space: pre">WebContent/WEB-INF/lib/ 鐩綍銆?br /> </span><br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #0000ff">import</span><span style="color: #000000"> javax.servlet.ServletException;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> javax.servlet.http.HttpServletRequest;<br /> <br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.Inject;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.Provider;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.Singleton;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.vaadin.Application;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.vaadin.terminal.gwt.server.AbstractApplicationServlet;<br /> <br /> @Singleton<br /> </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> GuiceApplicationServlet </span><span style="color: #0000ff">extends</span><span style="color: #000000"> AbstractApplicationServlet {<br /> <br />     </span><span style="color: #0000ff">protected</span><span style="color: #000000"> </span><span style="color: #0000ff">final</span><span style="color: #000000"> Provider</span><span style="color: #000000"><</span><span style="color: #000000">Application</span><span style="color: #000000">></span><span style="color: #000000"> applicationProvider;<br /> <br />     @Inject<br />     </span><span style="color: #0000ff">public</span><span style="color: #000000"> GuiceApplicationServlet(Provider</span><span style="color: #000000"><</span><span style="color: #000000">Application</span><span style="color: #000000">></span><span style="color: #000000"> applicationProvider) {<br />         </span><span style="color: #0000ff">this</span><span style="color: #000000">.applicationProvider </span><span style="color: #000000">=</span><span style="color: #000000"> applicationProvider;<br />     }<br /> <br />     @Override<br />     </span><span style="color: #0000ff">protected</span><span style="color: #000000"> Class getApplicationClass() </span><span style="color: #0000ff">throws</span><span style="color: #000000"> ClassNotFoundException {<br />         </span><span style="color: #0000ff">return</span><span style="color: #000000"> Application.</span><span style="color: #0000ff">class</span><span style="color: #000000">;<br />     }<br /> <br />     @Override<br />     </span><span style="color: #0000ff">protected</span><span style="color: #000000"> Application getNewApplication(HttpServletRequest request) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> ServletException {<br />         </span><span style="color: #0000ff">return</span><span style="color: #000000"> applicationProvider.get();<br />     }<br /> <br /> }<br /> </span></div>  <br /> 涓婇潰榪欎釜class 鍙互鐩存帴鎷瘋礉鍒伴」鐩腑涓嶉渶瑕佹敼鍙樸侾rovider 鐢?Guice 娉ㄥ叆錛屼負姣忎釜鐢ㄦ埛鍒涘緩涓涓?Application 瀹炰緥銆?br /> <br /> 涓嬮潰鏄竴涓畝鍗曠殑 Application 鐨勪緥瀛愩傚叾涓弬鏁?text 鏄娉ㄥ叆鐨勩?br /> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #000000">#</span><span style="color: #000000">!</span><span style="color: #000000">java<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.Inject;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.name.Named;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.vaadin.Application;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.vaadin.ui.Label;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.vaadin.ui.Window;<br /> <br /> </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> MyApplication </span><span style="color: #0000ff">extends</span><span style="color: #000000"> Application {<br />     <br />     @Inject @Named(</span><span style="color: #000000">"</span><span style="color: #000000">welcome</span><span style="color: #000000">"</span><span style="color: #000000">) </span><span style="color: #0000ff">protected</span><span style="color: #000000"> String text;<br />     <br />     @Override<br />     </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> init() {<br />         Window window </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Window();<br />         window.addComponent(</span><span style="color: #0000ff">new</span><span style="color: #000000"> Label(text));<br />         <br />         setMainWindow(window);<br />     }<br /> <br /> }<br /> </span></div> <br /> 鍒濆鍖栵紝闇瑕佸啓涓涓?Guice 鐨?GuiceServletContextListener鏉ラ厤緗?ServletModule錛岄厤緗?Servlet錛孉pplication錛屼互鍙婂叾浠?Guice 綆$悊鐨勫疄渚嬶紝姣斿涓婇潰渚嬪瓙鐢ㄥ埌鐨?text銆?br /> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #000000">#</span><span style="color: #000000">!</span><span style="color: #000000">java<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.Guice;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.Injector;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.name.Names;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.servlet.GuiceServletContextListener;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.servlet.ServletModule;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.google.inject.servlet.ServletScopes;<br /> </span><span style="color: #0000ff">import</span><span style="color: #000000"> com.vaadin.Application;<br /> <br /> </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> MyServletConfig </span><span style="color: #0000ff">extends</span><span style="color: #000000"> GuiceServletContextListener {<br /> <br />     @Override<br />     </span><span style="color: #0000ff">protected</span><span style="color: #000000"> Injector getInjector() {<br /> <br />         ServletModule module </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> ServletModule() {<br />             @Override<br />             </span><span style="color: #0000ff">protected</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> configureServlets() {<br />                 serve(</span><span style="color: #000000">"</span><span style="color: #000000">/*</span><span style="color: #000000">"</span><span style="color: #000000">).with(GuiceApplicationServlet.</span><span style="color: #0000ff">class</span><span style="color: #000000">);<br /> <br />                 bind(Application.</span><span style="color: #0000ff">class</span><span style="color: #000000">).to(MyApplication.</span><span style="color: #0000ff">class</span><span style="color: #000000">).in(ServletScopes.SESSION);<br />                 bindConstant().annotatedWith(Names.named(</span><span style="color: #000000">"</span><span style="color: #000000">welcome</span><span style="color: #000000">"</span><span style="color: #000000">)).to(</span><span style="color: #000000">"</span><span style="color: #000000">This is my first Vaadin/Guice Application</span><span style="color: #000000">"</span><span style="color: #000000">);<br />             }<br />         };<br /> <br />         Injector injector </span><span style="color: #000000">=</span><span style="color: #000000"> Guice.createInjector(module);<br /> <br />         </span><span style="color: #0000ff">return</span><span style="color: #000000"> injector;<br />     }<br /> }<br /> </span></div> <br /> web.xml 闇瑕佸姝ら厤緗紝鏉ュ惎鍔?Guice Filter 鍜屼笂闈㈢殑閭d釜閰嶇疆妯″潡 (Listener)<br /> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #0000ff"><</span><span style="color: #800000">web-app</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <br />   <img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /><br /> <br />   </span><span style="color: #0000ff"><</span><span style="color: #800000">filter</span><span style="color: #0000ff">></span><span style="color: #000000"><br />      </span><span style="color: #0000ff"><</span><span style="color: #800000">filter-name</span><span style="color: #0000ff">></span><span style="color: #000000">guiceFilter</span><span style="color: #0000ff"></</span><span style="color: #800000">filter-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br />      </span><span style="color: #0000ff"><</span><span style="color: #800000">filter-class</span><span style="color: #0000ff">></span><span style="color: #000000">com.google.inject.servlet.GuiceFilter</span><span style="color: #0000ff"></</span><span style="color: #800000">filter-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br />   </span><span style="color: #0000ff"></</span><span style="color: #800000">filter</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <br />   </span><span style="color: #0000ff"><</span><span style="color: #800000">filter-mapping</span><span style="color: #0000ff">></span><span style="color: #000000"><br />      </span><span style="color: #0000ff"><</span><span style="color: #800000">filter-name</span><span style="color: #0000ff">></span><span style="color: #000000">guiceFilter</span><span style="color: #0000ff"></</span><span style="color: #800000">filter-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br />      </span><span style="color: #0000ff"><</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000">/*</span><span style="color: #0000ff"></</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000"><br />   </span><span style="color: #0000ff"></</span><span style="color: #800000">filter-mapping</span><span style="color: #0000ff">></span><span style="color: #000000"><br />     <br />   </span><span style="color: #0000ff"><</span><span style="color: #800000">listener</span><span style="color: #0000ff">></span><span style="color: #000000"><br />      </span><span style="color: #0000ff"><</span><span style="color: #800000">listener-class</span><span style="color: #0000ff">></span><span style="color: #000000">de.timedout.vaadin.guice.MyServletConfig</span><span style="color: #0000ff"></</span><span style="color: #800000">listener-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br />   </span><span style="color: #0000ff"></</span><span style="color: #800000">listener</span><span style="color: #0000ff">></span><span style="color: #000000"><br />   <br /> </span><span style="color: #0000ff"></</span><span style="color: #800000">web-app</span><span style="color: #0000ff">></span></div> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <img src ="http://www.aygfsteel.com/bing/aggbug/315569.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bing/" target="_blank">bing</a> 2010-03-16 15:05 <a href="http://www.aygfsteel.com/bing/archive/2010/03/16/vaadin_guice_servlet_integration.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬 Vaadin / Hibernate 搴旂敤寮鍙戠殑緇撴瀯鐨勮冭檻http://www.aygfsteel.com/bing/archive/2010/01/06/307894.htmlbingbingWed, 06 Jan 2010 03:41:00 GMThttp://www.aygfsteel.com/bing/archive/2010/01/06/307894.htmlhttp://www.aygfsteel.com/bing/comments/307894.htmlhttp://www.aygfsteel.com/bing/archive/2010/01/06/307894.html#Feedback0http://www.aygfsteel.com/bing/comments/commentRss/307894.htmlhttp://www.aygfsteel.com/bing/services/trackbacks/307894.html闃呰鍏ㄦ枃

bing 2010-01-06 11:41 鍙戣〃璇勮
]]>
Exploring Vaadin (6) - summary of several classeshttp://www.aygfsteel.com/bing/archive/2009/12/30/307121.htmlbingbingWed, 30 Dec 2009 06:05:00 GMThttp://www.aygfsteel.com/bing/archive/2009/12/30/307121.htmlhttp://www.aygfsteel.com/bing/comments/307121.htmlhttp://www.aygfsteel.com/bing/archive/2009/12/30/307121.html#Feedback0http://www.aygfsteel.com/bing/comments/commentRss/307121.htmlhttp://www.aygfsteel.com/bing/services/trackbacks/307121.htmlAbstract Class PropertyFormatter
Abstract Class AbstractSelect
Interface FormFieldFactory
Abstract Class AbstractField  闃呰鍏ㄦ枃

bing 2009-12-30 14:05 鍙戣〃璇勮
]]>
Exploring Vaadin (4) 闃呰 com.vaadin.data.util.MethodProperty 婧愪唬鐮?http://www.aygfsteel.com/bing/archive/2009/12/23/reading_vaadin_methodproperty_source.htmlbingbingWed, 23 Dec 2009 09:35:00 GMThttp://www.aygfsteel.com/bing/archive/2009/12/23/reading_vaadin_methodproperty_source.htmlhttp://www.aygfsteel.com/bing/comments/307063.htmlhttp://www.aygfsteel.com/bing/archive/2009/12/23/reading_vaadin_methodproperty_source.html#Feedback0http://www.aygfsteel.com/bing/comments/commentRss/307063.htmlhttp://www.aygfsteel.com/bing/services/trackbacks/307063.html闃呰鍏ㄦ枃

bing 2009-12-23 17:35 鍙戣〃璇勮
]]>
Exploring Vaadin (2) - Vaadin + Hibernate discussions on Internethttp://www.aygfsteel.com/bing/archive/2009/12/16/vaadin_hibernate.htmlbingbingWed, 16 Dec 2009 07:52:00 GMThttp://www.aygfsteel.com/bing/archive/2009/12/16/vaadin_hibernate.htmlhttp://www.aygfsteel.com/bing/comments/306038.htmlhttp://www.aygfsteel.com/bing/archive/2009/12/16/vaadin_hibernate.html#Feedback0http://www.aygfsteel.com/bing/comments/commentRss/306038.htmlhttp://www.aygfsteel.com/bing/services/trackbacks/306038.html闃呰鍏ㄦ枃

bing 2009-12-16 15:52 鍙戣〃璇勮
]]>
Exploring Vaadin (1) - Datahttp://www.aygfsteel.com/bing/archive/2009/12/11/vaadin_data.htmlbingbingFri, 11 Dec 2009 10:35:00 GMThttp://www.aygfsteel.com/bing/archive/2009/12/11/vaadin_data.htmlhttp://www.aygfsteel.com/bing/comments/305542.htmlhttp://www.aygfsteel.com/bing/archive/2009/12/11/vaadin_data.html#Feedback0http://www.aygfsteel.com/bing/comments/commentRss/305542.htmlhttp://www.aygfsteel.com/bing/services/trackbacks/305542.html  闃呰鍏ㄦ枃

bing 2009-12-11 18:35 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 齐河县| 洛阳市| 万盛区| 名山县| 通化市| 林州市| 沽源县| 长汀县| 黎川县| 华安县| 视频| 汝城县| 万荣县| 萝北县| 德令哈市| 镇安县| 桐乡市| 永定县| 建湖县| 大理市| 黎平县| 伊川县| 黑山县| 道孚县| 延寿县| 闽清县| 濉溪县| 瑞安市| 新余市| 棋牌| 离岛区| 屯昌县| 荆门市| 崇礼县| 高雄市| 天祝| 丹凤县| 瑞金市| 宜黄县| 巫山县| 汝南县|