<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

    主站蜘蛛池模板: 噜噜综合亚洲AV中文无码| 国产成人精品男人免费| 亚洲AV无码一区二区三区性色| jizz中国免费| 免费在线观看黄色毛片| 亚洲人成电影网站久久| 免费一级毛片无毒不卡| 国产啪精品视频网免费| 亚洲国产婷婷香蕉久久久久久| 亚洲欧洲日韩在线电影| 777亚洲精品乱码久久久久久 | 午夜视频免费在线观看| 亚洲毛片基地4455ww| 一级女性全黄生活片免费看| 免费观看黄色的网站| 国产精品亚洲а∨无码播放| 在线成人a毛片免费播放 | 国产精品亚洲午夜一区二区三区 | 在线人成免费视频69国产| 中文字幕乱码亚洲无线三区| 99精品视频在线视频免费观看| 亚洲精品无码久久一线| 两个人日本WWW免费版 | 国产亚洲精aa在线看| 亚洲精品免费网站| 亚洲乱码中文字幕小综合| 69式互添免费视频| 亚洲国产成人久久综合一区| 99视频在线看观免费| 亚洲电影一区二区三区| 久久久久久久99精品免费 | 亚洲视频免费在线观看| 亚洲国产高清在线| 无码精品一区二区三区免费视频| 亚洲国产精品一区第二页 | 插鸡网站在线播放免费观看| 国产精品亚洲美女久久久| 国产精品免费久久| 亚洲日韩激情无码一区| 免费成人在线电影| 亚洲精品国产福利在线观看|