<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 34, 文章 - 1, 評論 - 2, 引用 - 0
    數據加載中……

    Does WAS6.1 needs stubs for EJB3

    trace: http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14023850

    The need to use statically-defined stubs depends only on what kind of client you have; it doesn't depend at all on where the EJB is that you're looking up or invoking. If your client is a WebSphere container that's been upgraded via the EJB 3.0 feature pack, then we have technology in the container itself that will dynamically generate the client-side stub for you in-memory when it's needed, assuming that you at least have the EJB remote interface packaged where the client can access it. So if your client is the WAS web container, EJB container, or application client container and the client environment has had the EJB 3.0 feature pack applied, you should not need to generate or package any client-side stubs with your client. If your client environment is something other than the above, then you will need to generate the client-side stubs with the createEJBStubs tool that comes with the EJB 3.0 feature pack, and package the resulting stubs in your client package. Here's a snippet of the documentation that covers this in more detail:

    Just-In-Time Deployment

    The EJB 3.0 Feature Pack adds a new feature to WebSphere application server called Just-In-Time Deployment. With Just-In-Time Deployment, the EJB container dynamically generates the wrapper, stub, and tie classes in-memory as needed when the application is running. Additionally, the web container and application client containers dynamically generate the stub class required for remote EJB invocations. Effectively, this means that you do not need to process EJB 3.0 modules, web modules that invoke EJB 3.0 beans, or client modules that invoke EJB 3.0 beans, through the EJBDeploy tool prior to running them in WebSphere.

    The createEJBStubs tool

    Even though the Just-In-Time deployment feature will, in many cases, dynamically generate the RMI-IIOP stub classes that are required for invocation of remote EJB interfaces, there remain some cases where these stub classes are not dynamically generated. For EJB 3.0 clients not running inside a WebSphere feature-pack-upgraded web container, EJB container, or client container, it is necessary for you to generate the stub classes with the createEJBStubs tool, then make the generated stubs available in the client environment's classpath. Typically you would accomplish this by copying the generated stubs to the location where the client's business interface class resides.

    To summarize, the createEJBStubs tool must be used to generate client-side stubs for the following environments:

    * "Bare" Java SE clients, where a Java SE JVM is the client environment
    * WebSphere Application Server container environments without the EJB 3.0 feature pack applied
    * Non-WebSphere application server environments

     

    posted on 2009-11-24 15:46 河馬虎 閱讀(327) 評論(0)  編輯  收藏 所屬分類: WebSphere

    主站蜘蛛池模板: 猫咪免费人成网站在线观看| 免费国产在线观看| 亚洲精品色播一区二区| 亚洲精品97久久中文字幕无码| 三根一起会坏掉的好痛免费三级全黄的视频在线观看 | 亚洲一区二区女搞男| 久久久久久精品免费看SSS| 亚洲成a∧人片在线观看无码| 亚洲中文字幕无码爆乳AV | 亚洲男同帅GAY片在线观看| 黄在线观看www免费看| 免费中文字幕视频| 亚洲毛片无码专区亚洲乱| 亚洲人成色77777在线观看大| 亚洲视频在线免费看| 香蕉国产在线观看免费| 亚洲第一二三四区| 亚洲熟女乱综合一区二区| 中国在线观看免费高清完整版| 乱人伦中文视频在线观看免费| 亚洲精品亚洲人成在线观看麻豆 | 亚洲午夜精品一区二区麻豆| 亚洲尤码不卡AV麻豆| 久久精品无码一区二区三区免费| 国产在线播放线91免费| 亚洲一区AV无码少妇电影| 亚洲AV午夜成人影院老师机影院| 免费人成年轻人电影| 欧亚精品一区三区免费| 免费国产污网站在线观看15 | 国产精品va无码免费麻豆| 最近的中文字幕大全免费8| 好猛好深好爽好硬免费视频| 亚洲最大的成人网| 亚洲理论片在线观看| 亚洲AV永久无码区成人网站| 亚洲精品国产高清嫩草影院| 尤物永久免费AV无码网站| 在线天堂免费观看.WWW| 精品国产免费人成电影在线观看| 本免费AV无码专区一区|