锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久亚洲私人国产精品vA,亚洲美女自拍视频,97亚洲熟妇自偷自拍另类图片http://www.tkk7.com/byrtiger/category/34440.htmlLoving Javazh-cnThu, 11 Sep 2008 19:52:24 GMTThu, 11 Sep 2008 19:52:24 GMT60OfBiz閮ㄧ講http://www.tkk7.com/byrtiger/archive/2008/09/11/228325.html榪介鑸炶?/dc:creator>榪介鑸炶?/author>Thu, 11 Sep 2008 03:44:00 GMThttp://www.tkk7.com/byrtiger/archive/2008/09/11/228325.htmlhttp://www.tkk7.com/byrtiger/comments/228325.htmlhttp://www.tkk7.com/byrtiger/archive/2008/09/11/228325.html#Feedback0http://www.tkk7.com/byrtiger/comments/commentRss/228325.htmlhttp://www.tkk7.com/byrtiger/services/trackbacks/228325.html

涓錛庨厤緗?/span>

1錛?/span>framework涓嬬殑entity閲岀殑config閲岄潰鎵撳紑entityengine.xml鏂囦歡錛?/span>鍦ㄦ鏂囦歡閲屾壘鏈夊洓琛岄兘鏄互<delegator name寮澶寸殑錛岃灝嗛噷闈㈢殑datasource-name="localderby"閮芥敼涓?/span>datasource-name="localmysql"銆?/span>

2錛?/span>鍦ㄦ鏂囦歡閲屾壘鍒般?/span>datasource-name="localmysql"寮澶寸殑浠g爜鍖哄煙錛屽皢閲岄潰鐨?/span>jdbc-username= 鍜?/span>jdbc-password= 閮芥敼涓轟綘瀹夎mysql鏃剁殑鐢ㄦ埛鍚嶅拰瀵嗙爜銆?/span>

3錛?/span>鎴戜滑瑕佸湪entity涓嬬殑lib涓嬬殑jdbc涓鍏?/span>mysql5.0鐨勯┍鍔?/span>錛屽悓鏃跺姞鍏?span lang="EN-US">xapool.jar銆?span lang="EN-US">

    4)鍦?span lang="EN-US">mysql涓緩ofbiz鏁版嵁搴擄紝鍚﹀垯鍦ㄤ笅闈㈤儴緗插伐紼嬩腑鎶ラ敊

    浜岋紟閮ㄧ講

    1) 鍦ㄥ懡浠よ涓嬭繍琛?span lang="EN-US"> ant run-install

        (鍓嶆彁錛氬湪鐜鍙橀噺涓坊鍔?span lang="EN-US"> ant\bin)

2) 榪愯 startofbiz.bat

 

涓? 宸ョ▼绔彛鍙風(fēng)殑淇敼

  淇敼framework/base/config/ofbiz-containers.xml

1錛?span style="font: 7pt 'Times New Roman'; font-size-adjust: none; font-stretch: normal">  淇敼ofbiz绔彛鍙?span lang="EN-US">

    <property name="http-connector" value="connector">

            <property name="port" value="8080"/>

      </property>

 

  2)淇敼欏圭洰閾炬帴鐨勭鍙e彿

<property name="https-connector" value="connector">

          <property name="port" value="8443"/>

 </property>

 

鍥涳紟榪愯

 鍦ㄦ祻瑙堝櫒涓緭鍏ュ湴鍧 http://localhost:8080

 





]]>
Eclipse涓皟璇昈fBizhttp://www.tkk7.com/byrtiger/archive/2008/09/08/227792.html榪介鑸炶?/dc:creator>榪介鑸炶?/author>Mon, 08 Sep 2008 10:23:00 GMThttp://www.tkk7.com/byrtiger/archive/2008/09/08/227792.htmlhttp://www.tkk7.com/byrtiger/comments/227792.htmlhttp://www.tkk7.com/byrtiger/archive/2008/09/08/227792.html#Feedback0http://www.tkk7.com/byrtiger/comments/commentRss/227792.htmlhttp://www.tkk7.com/byrtiger/services/trackbacks/227792.html     Filee -> Import -> General -> Existing Projects into Workspace
2.Eclipse涓負(fù).bsh,.ftl鏂囦歡娣誨姞緙栬緫鍣?br />   瀹夎Freemarker Eclipse plug-in.
  Windows > Preferences > General > Editors > File Associations and add "*.bsh" and associate it with the Scrapbook editor.
3.淇敼 startofbiz.bat鏂囦歡

ECHO OFF
REM ####################################################
REM Licensed to the Apache Software Foundation (ASF) under one
REM or more contributor license agreements.  See the NOTICE file
REM distributed with this work for additional information
REM regarding copyright ownership.  The ASF licenses this file
REM to you under the Apache License, Version 2.0 (the
REM "License"); you may not use this file except in compliance
REM with the License.  You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing,
REM software distributed under the License is distributed on an
REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
REM KIND, either express or implied.  See the License for the
REM specific language governing permissions and limitations
REM under the License.
REM ########################################################
ECHO ON

"%JAVA_HOME%\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log


4.Eclipse鑿滃崟 Run -> Open Debug Dialog
   閫夋嫨 Remote Java Application 
    娉ㄦ剰: 鍙充晶闈㈡澘涓殑 Port 涓轟笂闈㈢孩鑹叉爣璁幫紝涓よ呭繀闇涓鑷淬?/span>







]]>
OfBiz涓殑鏁版嵁鎿嶄綔http://www.tkk7.com/byrtiger/archive/2008/09/08/227787.html榪介鑸炶?/dc:creator>榪介鑸炶?/author>Mon, 08 Sep 2008 09:59:00 GMThttp://www.tkk7.com/byrtiger/archive/2008/09/08/227787.htmlhttp://www.tkk7.com/byrtiger/comments/227787.htmlhttp://www.tkk7.com/byrtiger/archive/2008/09/08/227787.html#Feedback0http://www.tkk7.com/byrtiger/comments/commentRss/227787.htmlhttp://www.tkk7.com/byrtiger/services/trackbacks/227787.html
1)鍒涘緩GenericDelegator瀵硅薄
  1.1 service涓?br />   public static Map createHelloPerson(DispatchContext dctx, Map context) {
          GenericDelegator delegator = dctx.getDelegator();
     ...
  }
  1.2鎵嬪伐寤虹珛GenericDelegator瀵硅薄
  GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");

2)Insert a record
  閫氳繃璋冪敤delegator瀵硅薄鐨刧etNextSeqId(), makeValue(String entityName, Map fields)鍜宑reate()鏂規(guī)硶銆?br />   渚嬪錛?br />        String helloPersonId = delegator.getNextSeqId("HelloPerson");
    GenericValue helloPerson = delegator.makeValue("HelloPerson",
                    UtilMisc.toMap("helloPersonId", helloPersonId)); // create a GenericValue from ID we just got
      helloPerson.setNonPKFields(context); // move non-primary key fields from input parameters to GenericValue
    delegator.create(helloPerson); // store the generic value, ie persists it
   
3)Remove a record
    delegator.removeByAnd(String entityName, Map fields);
   
4)Strore a record
    渚嬪錛?br />       Map pk = UtilMisc.toMap("attribute1", attribute1Value, "attribute2", attribute2Value);//pk涓瓨鍌ㄤ簡(jiǎn)鏌ヨ鏉′歡
    GenericValue obj = delegator.findByPrimaryKey("ClassName", pk);
      obj.setNonPKFields(context);//contex涓篗ap綾誨瀷錛屽瓨鍌ㄤ簡(jiǎn)瑕佹洿鏂扮殑瀛楁
    obj.store();

5)Store records
    List resultList = delegator.findAll(String entityName, List orderBy);
    List toStore = new ArrayList();
    toStore.addAll(resultList);
    delegator.storeAll(toStore);
   
6)Look for record/records
     findByAnd錛宖indByCondition銆乫indByLike銆乫indByOr銆乫indByPrimaryKey銆?br />      findListIteratorByCondition銆?findall銆乫indAllByPrimaryKeys
    
2) 渚濇嵁鏁板煎璞¤繘琛岃闂?br />     鍦ㄧ幇鏈夌殑鏁板煎璞?GenericValue綾誨瀷)涓婂彲浠ヨ繘琛屼笅鍒楁搷浣滐細(xì)
        鏍規(guī)嵁鍏崇郴鏌ユ壘鍏寵仈淇℃伅getRelated錛屽寘鎷琯etRelated銆乬etRelatedByAnd銆乬etRelatedDummyPK銆乬etRelatedMulti銆乬etRelatedOrderBy銆?br />         鍒鋒柊鏈暟鍊煎璞efresh
        淇濆瓨鏈暟鍊煎璞tore錛屼富瑕佺敤浜庝慨鏀瑰悗鐨勪繚瀛?br />         鍒犻櫎鏁板煎璞emove,鍖呮嫭鍒犻櫎鏈暟鍊煎璞emove鍜屽垹闄ゆ煇涓叧鑱旂殑鏁板煎璞emoveRelated
        鍦ㄧ幇鏈夋暟鍊煎璞′笂鐨勬搷浣滄槸閫氳繃璋冪敤
   
    鏇村姞鍏蜂綋鐨勪俊鎭彲鍙傝冿細(xì)http://www.opentaps.org/javadocs/release-1.0.1/framework/api/




]]>
瀛︿範(fàn)OfBiz鐨勭綉绔?/title><link>http://www.tkk7.com/byrtiger/archive/2008/09/05/227227.html</link><dc:creator>榪介鑸炶?/dc:creator><author>榪介鑸炶?/author><pubDate>Fri, 05 Sep 2008 07:07:00 GMT</pubDate><guid>http://www.tkk7.com/byrtiger/archive/2008/09/05/227227.html</guid><wfw:comment>http://www.tkk7.com/byrtiger/comments/227227.html</wfw:comment><comments>http://www.tkk7.com/byrtiger/archive/2008/09/05/227227.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/byrtiger/comments/commentRss/227227.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/byrtiger/services/trackbacks/227227.html</trackback:ping><description><![CDATA[http://www.opensourcestrategies.com/ofbiz/tutorials.php<br /> http://ofbiz.apache.org/<br /> http://www.opentaps.org/index.php<br /> http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index<br /> 灝ゅ叾鏄涓涓噷闈㈡湁寰堝涓嶉敊鐨勬枃绔狅紝涓嶈繃閮芥槸鑻辨枃鐨勶紝鑰愬績(jī)鐨勭湅涓嬪幓鍚с?br /> <br /> <img src ="http://www.tkk7.com/byrtiger/aggbug/227227.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/byrtiger/" target="_blank">榪介鑸炶?/a> 2008-09-05 15:07 <a href="http://www.tkk7.com/byrtiger/archive/2008/09/05/227227.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://33338x.com" target="_blank">日本视频免费在线</a>| <a href="http://dqcjlb.com" target="_blank">4虎永免费最新永久免费地址</a>| <a href="http://pc521.com" target="_blank">a级亚洲片精品久久久久久久</a>| <a href="http://youweidianqi.com" target="_blank">中国china体内裑精亚洲日本</a>| <a href="http://456qqq.com" target="_blank">av免费不卡国产观看</a>| <a href="http://ztsf6688.com" target="_blank">亚洲国产成人综合</a>| <a href="http://hbjpxnyqckj.com" target="_blank">久视频精品免费观看99</a>| <a href="http://www621f.com" target="_blank">亚洲欧洲日韩综合</a>| <a href="http://www-83118.com" target="_blank">美女网站免费福利视频</a>| <a href="http://alankell.com" target="_blank">日韩亚洲国产高清免费视频</a>| <a href="http://yw5168.com" target="_blank">国内大片在线免费看</a>| <a href="http://xianzznn.com" target="_blank">午夜亚洲国产精品福利</a>| <a href="http://linmh.com" target="_blank">久久久久亚洲AV成人网人人软件</a>| <a href="http://szzrjk.com" target="_blank">国产精品无码免费专区午夜</a>| <a href="http://mlhcd.com" target="_blank">国产亚洲AV无码AV男人的天堂</a>| <a href="http://shiliuvip.com" target="_blank">亚洲av日韩av无码av</a>| <a href="http://12345ww.com" target="_blank">最近最新MV在线观看免费高清</a>| <a href="http://rdccc.com" target="_blank">亚洲国产另类久久久精品黑人 </a>| <a href="http://600c81.com" target="_blank">久青草视频在线观看免费</a>| <a href="http://watchmini.com" target="_blank">亚洲福利在线播放</a>| <a href="http://655060.com" target="_blank">jizz免费观看视频</a>| <a href="http://3y0r.com" target="_blank">亚洲黄色在线观看</a>| <a href="http://gs168sz.com" target="_blank">99精品全国免费观看视频</a>| <a href="http://doubaye.com" target="_blank">国产大陆亚洲精品国产</a>| <a href="http://gylscm.com" target="_blank">中文字幕亚洲激情</a>| <a href="http://xjyzz.com" target="_blank">久久精品毛片免费观看</a>| <a href="http://138site.com" target="_blank">四虎亚洲精品高清在线观看</a>| <a href="http://1877808.com" target="_blank">婷婷亚洲天堂影院</a>| <a href="http://1314c.com" target="_blank">一区二区三区观看免费中文视频在线播放</a>| <a href="http://6006284.com" target="_blank">亚洲人成在线影院</a>| <a href="http://51comcomcom.com" target="_blank">四虎永久在线精品免费网址 </a>| <a href="http://wuaiav.com" target="_blank">亚洲 欧洲 视频 伦小说</a>| <a href="http://hnshlt.com" target="_blank">午夜两性色视频免费网站</a>| <a href="http://ygpx6.com" target="_blank">一级成人a做片免费</a>| <a href="http://831055.com" target="_blank">日韩精品亚洲人成在线观看</a>| <a href="http://yongyihongze.com" target="_blank">成人午夜免费福利</a>| <a href="http://haiholr.com" target="_blank">亚洲国产情侣一区二区三区</a>| <a href="http://njjngs.com" target="_blank">亚洲高清最新av网站</a>| <a href="http://yuejiju.com" target="_blank">99精品国产成人a∨免费看</a>| <a href="http://715686.com" target="_blank">性色av极品无码专区亚洲</a>| <a href="http://zz1220.com" target="_blank">亚洲国产精品无码久久久秋霞2</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>