Minimal requirements for remote client app to call a EJB 3 session bean

I'm just starting to get into EJBs, trying to learn the EJB 3 APIs. I kind of understand the setup on the server side to create a session bean. What I don't understand is what I would have to deploy for each of the remote client app (Swing-based GUI or something like that) installations. Of course, the client app code would have to be deployed to each client desktop, but what stuff related to the session bean? Just the session bean interface class?
For ease of discussion, let's say my bean is CalculatorBean, having two interfaces, CalculatorRemoteIface and CalculatorLocalIface. Let's also say my client app, CalculatorUI, is a simple Swing-based GUI that grabs a reference to a CalculatorBean.
Other than just the Swing-based classes and the JRE, what JARs/classes will I want to deploy to each desktop?
(Please assume the latest Sun Java System App Server 9 and Java EE 5, if you are familiar with them.)

Personally- I would deploy your backend
in EJB 3.0, but then expose it as a web service. It
is MUCH easier for your clients to connect to a web
service (and mantain that code), then to have them
connect via RMI/JNDI.Oh, I would say it's quite the opposite. RMI/JNDI is MUCH easier from a client point of view than web services. To make web services work easy from the client side you have to generate code and the tools that generate code from a web services wsdl file doesn't do a great job today. But that was not the question. But take some time reading this article about webservices...it's quite funny and spot on: http://wanderingbarque.com/nonintersecting/2006/11/15/the-s-stands-for-simple
Now to your question, yes you will need the remote interface on the client side.
/klejs

Similar Messages

  • Classpath for remote client

    Hi,
    Is there a minimum package of classes (.jar, .zip) that are required for
    remote client application to call EJBs in WL 5.1 container ?
    My remote application works fine if I include WL_HOME/classes in its
    classpath. The problem is that WL_HOME/classes directory is huge. I am
    looking for some lightweight package of classes that would contain only
    client side implementation of WL's RMI, JNDI and EJB - just enough to
    call EJBs from remote client application.
    I couldn't find such .jar in the WL 5.1 installation.
    Can anybody help ?
    thanks,
    Rafal

    These is no such jar provided by BEA. You can try to create one using
    verbose2zip: http://www.weblogic.com/docs51/techstart/utils.html#verbosetozip
    If network speed allows for it, you can network classload from WebLogic :
    http://dima.dhs.org/misc/ThinClient.jsp or
    http://dima.dhs.org/misc/ThinClient2.jsp
    (this will download few hundred k, so it is not acceptable for a client
    connected via 28.8 modem).
    Rafal Mantiuk <[email protected]> wrote:
    Hi,
    Is there a minimum package of classes (.jar, .zip) that are required for
    remote client application to call EJBs in WL 5.1 container ?
    My remote application works fine if I include WL_HOME/classes in its
    classpath. The problem is that WL_HOME/classes directory is huge. I am
    looking for some lightweight package of classes that would contain only
    client side implementation of WL's RMI, JNDI and EJB - just enough to
    call EJBs from remote client application.
    I couldn't find such .jar in the WL 5.1 installation.
    Can anybody help ?
    thanks,
    Rafal--
    Dimitri

  • Unable to call exported client methods of EJB session bean remote interface

    I am unable to call client methods of a BC4J application module deployed as a Session EJB to Oracle 8i at the client side of my multi-tier application. There is no documentation, and I am unable to understand how I should do it.
    A business components project has been created. For instance, its application module is called BestdataModule. A few custom methods have been added to BestdataModuleImpl.java file, for instance:
    public void doNothingNoArgs() {
    public void doNothingOneArg(String astr) {
    public void setCertificate(String userName, String userPassword) {
    theCertificate = new Certificate(userName, userPassword);
    public String getPermission() {
    if (theCertificate != null)
    {if (theCertificate.getPermission())
    {return("Yes");
    else return("No, expired");
    else return("No, absent");
    theCertificate being a protected class variable and Certificate being a class, etc.
    The application module has been tested in the local mode, made remotable to be deployed as EJB session bean, methods to appear at the client side have been selected. The application module has been successfully deployed to Oracle 8.1.7 and tested in the remote mode. A custom library containing BestdataModuleEJBClient.jar and BestDataCommonEJB.jar has been created.
    Then I try to create a client basing on Example Oracle8i/EJB Client snippet:
    package bestclients;
    import java.lang.*;
    import java.sql.*;
    import java.util.*;
    import javax.naming.*;
    import oracle.aurora.jndi.sess_iiop.*;
    import oracle.jbo.*;
    import oracle.jbo.client.remote.ejb.*;
    import oracle.jbo.common.remote.*;
    import oracle.jbo.common.remote.ejb.*;
    import oracle.jdeveloper.html.*;
    import bestdata.client.ejb.*;
    import bestdata.common.ejb.*;
    import bestdata.common.*;
    import bestdata.client.ejb.BestdataModuleEJBClient;
    public class BestClients extends Object {
    static Hashtable env = new Hashtable(10);
    public static void main(String[] args) {
    String ejbUrl = "sess_iiop://localhost:2481:ORCL/test/TESTER/ejb/bestdata.BestdataModule";
    String username = "TESTER";
    String password = "TESTER";
    Hashtable environment = new Hashtable();
    environment.put(javax.naming.Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    environment.put(Context.SECURITY_PRINCIPAL, username);
    environment.put(Context.SECURITY_CREDENTIALS, password);
    environment.put(Context.SECURITY_AUTHENTICATION, ServiceCtx.NON_SSL_LOGIN);
    BestdataModuleHome homeInterface = null;
    try {
    Context ic = new InitialContext(environment);
    homeInterface = (BestdataModuleHome)ic.lookup(ejbUrl);
    catch (ActivationException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    System.exit(1);
    catch (CommunicationException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    System.exit(1);
    catch (NamingException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    System.exit(1);
    try {
    System.out.println("Creating a new EJB instance");
    RemoteBestdataModule remoteInterface = homeInterface.create();
    // Method calls go here!
    // e.g.
    // System.out.println(remoteInterface.foo());
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    It doesnt cause any errors. However, how must I call methods? The public interface RemoteBestdataModule has no such methods:
    void doNothingNoArgs();
    void doNothingOneArg(java.lang.String astr);
    void setCertificate(java.lang.String userName, java.lang.String userPassword);
    java.lang.String getPermission();
    Instead of that it has the following methods:
    oracle.jbo.common.remote.PiggybackReturn doNothingNoArgs(byte[] _pb) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn doNothingOneArg(byte[] _pb, java.lang.String astr) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn customQueryExec(byte[] _pb, java.lang.String aQuery) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn setCertificate(byte[] _pb, java.lang.String userName, java.lang.String userPassword) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn getPermission(byte[] _pb) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    I cannot call those methods. I can see how they are called in BestdataModuleEJBClient.java file:
    public void doNothingNoArgs() throws oracle.jbo.JboException {
    try {
    oracle.jbo.common.remote.PiggybackReturn _pbRet = mRemoteAM.doNothingNoArgs(getPiggyback());
    processPiggyback(_pbRet.mPiggyback);
    if (_pbRet.isReturnStreamValid()) {
    return;
    catch (oracle.jbo.common.remote.ejb.RemoteJboException ex) {
    processRemoteJboException(ex);
    catch (java.rmi.RemoteException ex) {
    processRemoteJboException(ex);
    throw new oracle.jbo.JboException("Marshall error");
    However, I cannot call getPiggyback() function! It is a protected method, it is available to the class BestdataModuleEJBClient which extends EJBApplicationModuleImpl, but it is unavailable to my class BestClients which extends Object and is intended to extend oracle.jdeveloper.html.WebBeanImpl!
    It seems to me that I mustnt use RemoteBestdataModule interface directly. Instead of that I must use the public class BestdataModuleEJBClient that extends EJBApplicationModuleImpl and implements BestdataModule interface. It contains all methods required without additional arguments (see just above). However, how must I create an object of BestdataModuleEJBClient class? That is a puzzle. Besides my custom methods the class has only two methods:
    protected bestdata.common.ejb.RemoteBestdataModule mRemoteAM;
    /*This is the default constructor (do not remove)*/
    public BestdataModuleEJBClient(RemoteApplicationModule remoteAM) {
    super(remoteAM);
    mRemoteAM = (bestdata.common.ejb.RemoteBestdataModule)remoteAM;
    public bestdata.common.ejb.RemoteBestdataModule getRemoteBestdataModule() {
    return mRemoteAM;
    It looks like the remote application module must already exist! In despair I tried to put down something of the kind at the client side:
    RemoteBestdataModule remoteInterface = homeInterface.create();
    BestdataModuleEJBClient dm = new BestdataModuleEJBClient(remoteInterface);
    dm.doNothingNoArgs();
    Of course, it results in an error.
    System Output: null
    System Error: java.lang.NullPointerException
    System Error: oracle.jbo.common.PiggybackOutput oracle.jbo.client.remote.ApplicationModuleImpl.getPiggyForRemovedObjects(oracle.jbo.common.PiggybackOutput) (ApplicationModuleImpl.java:3017)
    System Error: byte[] oracle.jbo.client.remote.ApplicationModuleImpl.getPiggyfront(boolea
    System Error: n) (ApplicationModuleImpl.java:3059)
    System Error: byte[] oracle.jbo.client.remote.ApplicationModuleImpl.getPiggyback() (ApplicationModuleImpl.java:3195)
    System Error: void bestdata.client.ejb.BestdataModuleEJBClient.doNothingNoArgs() (BestdataModuleEJBClient.java:33)
    System Error: void bes
    System Error: tclients.BestClients.main(java.lang.String[]) (BestClients.java:76)
    I have studied a lot of documents in vain. I have found only various senseless discourses:
    "Use the Application Module Wizard to make the Application Module remotable and export the method. This will generate an interface for HrAppmodule (HrAppmodule.java in the Common package) which contains the signature for the exported method promoteAllEmps(). Then, deploy the Application Module. Once the Application Module has been deployed, you can use the promoteAllEmps() method in your client-side programs. Calls to the promoteAllEmps() method in client-side programs will result in calls to the promote() method in the application tier."
    However, I have failed to find a single line of code explaining how it should be called.
    Can anybody help me?
    Best regards,
    Svyatoslav Konovaltsev,
    [email protected]
    null

    Dear Steven,
    1. Thank you very much. It seems to me that the problem is solved.
    2. "I logged into Metalink but it wants me to put in both a tar number and a country name to see your issue." It was the United Kingdom, neither the US nor Russia if you mean my issue.
    I reproduce the text to be written by everyone who encounters the same problem:
    package bestclients;
    import java.util.Hashtable;
    import javax.naming.*;
    import oracle.jbo.*;
    public class BestdataHelper {
    public static ApplicationModule createEJB()
    throws ApplicationModuleCreateException {
    ApplicationModule applicationModule = null;
    try {
    Hashtable environment = new Hashtable(8);
    environment.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    environment.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_EJB);
    environment.put(Context.SECURITY_PRINCIPAL, "TESTER");
    environment.put(Context.SECURITY_CREDENTIALS, "TESTER");
    environment.put(JboContext.HOST_NAME, "localhost");
    environment.put(JboContext.CONNECTION_PORT, new Integer("2481"));
    environment.put(JboContext.ORACLE_SID, "ORCL");
    environment.put(JboContext.APPLICATION_PATH, "/test/TESTER/ejb");
    Context ic = new InitialContext(environment);
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup("bestdata.BestdataModule");
    applicationModule = home.create();
    applicationModule.getTransaction().connect("jdbc:oracle:kprb:@");
    applicationModule.setSyncMode(ApplicationModule.SYNC_IMMEDIATE);
    catch (NamingException namingException) {
    throw new ApplicationModuleCreateException(namingException);
    return applicationModule;
    package bestclients;
    import bestdata.common.*;
    import certificate.*;
    public class BestClients extends Object {
    public static void main(String[] args) {
    BestdataModule bestdataModule = (BestdataModule)BestdataHelper.createEJB();
    Certificate aCertificate = new Certificate("TESTER", "TESTER");
    //calling a custom method!!
    bestdataModule.passCertificate(aCertificate);
    Thank you very much,
    Best regards,
    Svyatoslav Konovaltsev.
    [email protected]
    null

  • Kadmin: Missing parameters in krb5.conf required for kadmin client while in

    Hi all
    When i am going to run commands like
    kadmin addprinc -randkey
    kadmin ktadd -k
    i am receiving kadmin: Missing parameters in krb5.conf required for kadmin client while ininitializing kadmin interface
    any ideas??
    What kind of parameters are missing???
    thanks a lot

    Hi,
    It is a common problem. I used Oracle Linux to sort it out.
    Perhaps you're using the wrong command? AFAIK kadmin should be used when working remotely. You don't say where you are in relation to the server? If sitting at the server you should be using kadmin.local. For example if I issue:
    sudo kadmin.local
    I get:
    Authenticating as principal root/admin@LKDC:SHA1.EB237F611F07B2E8A636804052E8F7252BBA978F with password
    If I issue:
    sudo kadmin
    I get:
    Authenticating as principal root/admin@LKDC:SHA1.EB237F611F07B2E8A636804052E8F7252BBA978F with password
    If I issue:
    sudo kadmin
    I get:
    Authenticating as principal root/[email protected] with password.
    kadmin: Missing parameters in krb5.conf required for kadmin client while initializing kadmin interface
    A vital difference. Issuing:
    sudo kadmin.local -q list_prinicpals
    show show successfully kerberized users, services & hosts. Changing it to kadmin -q list_principals shows nothing except the error message. The above examples are for a client machine.
    If you have any questions, ask.
    Kirill Babeyev

  • Bandwidth required for Lync 2013 audio video call

    Hi,
    what is the required bandwidth required for  lync 2013 audio video call from out side of company network. considering users will use owa integration with exchange 2013  for audio video call. 
    i tried with lync bandwidth calculator but could not figure it out. 
    actually i have some remote site where users have connectivity of 160 kbps only.

    There are a number of variables such as call type and video resolution, but I would suggest using this table as a guide:
    http://technet.microsoft.com/en-us/library/jj688118.aspx
    For example for capacity purposes with a Lync peer-to-peer call you're looking at 57Kbps (86 with FEC)
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer" | Blog
    www.lynced.com.au | Twitter
    @imlynced

  • Can we implement site catalyst for Remote desktop app like MS dynamics NAV?

    Can we implement site catalyst for Remote desktop app like MS dynamics NAV?
    please throw some insight

    Hi,
    Thank you for posting in Windows Server Forum.
    Does this happens for this particular application?
    For a test you can publish Notepad\WordPad as RemoteApp and check whether facing same issue. Please check the result and let us know. If it’s working normally then might seems there is some configuration issue with MS Dynamics App. 
    Does this happens for all user or specific users?
    Which version of RDP Client you are using for client system?
    Try to install RDP 8.1 for better feature.
    Update for RemoteApp and Desktop Connections feature is available for Windows
    http://support.microsoft.com/kb/2830477
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Windows App Certification Toolkit fails on Certification requirements for Windows desktop apps Point 5.5

    Using the latest Version 3.4 of Windows App Certification Toolkit to check Windows 8.1 compatibility our Installer was not approved on:
    Certification requirements for Windows desktop apps
    5.5 Your app installer must create the correct registry entries to allow successful detection and uninstalls
    But all necessary settings are done and after the installation of our application we will find all settings in the registry.
    We use an MSI Installer embedded in a bootstrapper exe. The MSI Installer is made with the WiX Toolset V3.6.
    The same Application Installer got approved on November, 2014.
    We checked this issue against the latest version of MSThreatModelingToolkit installer which also was made with WiX toolset and it fails, too.
    So is there a higher restriction or do we miss anything?

    Hi Wibudev,
    I would suggest you to double check if you have miss something in registry, per documentation mentioned, the installation module must create the following registry entries during installation:
    DisplayName
    InstallLocation
    Publisher
    UninstallString
    VersionMajor or MajorVersion
    VersionMinor or MinorVersion
    WACK 3.4 is the latest version, I don't think there would be any higher restriction but I will recommend you to test with another computer to see if the validate fails again. Sometimes the issue could be on the PC environment.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How much interaction is required for magazine type apps?

    Hi All,
    I have just had my app rejected for the second time. Apple quoted that it lacks interaction as well as expected qualities such as in app purchases.
    After the first rejection i went through and redesigned the app, putting in lots of scrollable text boxes, slide Multi Object states, Pan and zoom, Aspect differences (ie horizontal vs vertical), Web content (twitter feeds, facebook etc), video, navto links from content pages, slideshows, pull out tabs, live links etc. Each article has at least 2-3 of these in it.
    My question is how much do i need to put in? I think any more would be doing it just for the sake of it. It is an educational magazine on Marine Aquarium keeping, underwater conservation etc and has a lot of textual information as well as photos. I thought that bu adding a few different interactive features in each article that apple would approve it as it is now a lot more than what you could do as a web based app.
    Also quoting that it lacks in app purchases as a reason for rejection? I always thought that this was a developers option, not a requirement. We only have 1 app presently in review and want to know how this goes before committing to more apps. Therefore i chose a single issue license where in app purchases are not allowed. If i had known that this is a requirement for magazine stlye apps, then we wouldnt have gone down this path to start with as the $1000's of dollars for a professional license is not economically viable for a small business....
    Has anyone else been through this?
    Im happy to share our published folio to anyone for feedback, as at the moment im really not sure what Apple are requiring.
    If you have had a magazine type app approved in the App store and can offer any advice, it would be greatly appreciated. Email me your adobe email and i will share the published folio for your opinions.
    I appreciate any advice.
    Cheers,
    Michael

    Hi, Michael-
    We are experiencing the same response with our first app attempt. The review response was along the lines of 'simple interaction, would not appeal to a wide audience, and better suited as an HTML5 web mobile app (which apple claims they do not approve for the app store; such as mobile apps with a phonegap shell, etc).
    After our response referring to this as a multi-publication shell to which we would make additional content available, their reply was opaque stating that apps are not approved due to the number of features and capabilities, but primarily those that provide an in-app experience you could not get anywhere else. I was under the assumption the DPS system was pretty good at offering a rich experience compared to the print world it is modeled after.
    I was very excited after testing the capabilities of DPS but now see that regardless of the investments/time you put into these publications apple still has the final word on whether it will be available to the masses in their 'curated' store.
    Best of luck to you, let us not give up.

  • BC4J, JSP, accesing a remote app module deployed as an 8i EJB session bean

    hi everybody,
    i am reposting this question since the thread went somewhat off-topic ...
    i have successfully deployed my Jdev 3.2 developed app module to my remote 8.1.7 db server as an EJB session bean
    i am able to test it via the Business Components Tester ...
    i am also able to test it from my wizard-generated Business Components JSP App using DataWebBeans ...
    but when i try to access it from a JSP data tag page I get the following error:
    Excepcisn:
    javax.servlet.jsp.JspException: JBO-28300: Piggyback read error
    void periodoswebtags_html.PeriodoView_Browse._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.jsp.app.JspApplication.dispatchRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.JspServlet.doDispatch(oracle.jsp.app.JspRequestContext)
    void oracle.jsp.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.lite.web.JupServlet.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.MimeServletHandler.handle(oracle.lite.web.JupApplication, java.lang.String, int, oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.JupApplication.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.JupHandler.handle(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.HTTPServer.process(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    boolean oracle.lite.web.HTTPServer.handleRequest(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream)
    boolean oracle.lite.web.JupServer.handle(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream)
    void oracle.lite.web.SocketListener.process(java.net.Socket)
    void oracle.lite.web.SocketListener$ReqHandler.run()
    and the JBO-28300 error is undocumented ... :(
    i have included a library containing the <mybcs>CommonEJB.jar and <myappmodule>EJBClient.jar files into my JSP projects
    the JSP data tag page is a wizard-generated trivial browse page
    TIA,
    p

    hi everybody,
    just fixed ... :) ...
    i added the following libraries to my JSP data tag project and everythig works fine ...
    Oracle XML Parser 2.0
    JBO Runtime
    SQLJ Runtime
    HTH,
    p

  • OrionRemoteException: Second thread call to stateful session bean

    What happen for "com.evermind.server.rmi.OrionRemoteException: Second thread call to stateful session bean".
    I am using JSP/Servlet/EJB and OC4J. When user click the JSP page button to fast, sometimes the error will appear, and then the OC4J will stop, I need to restart the OC4J.
    I am using standlone OC4J 9.0.3.0.0
    Thanks in advance,
    Perry

    Have you cached the remote object you obtained for the stateful session beamn and are reusing the same object on subsequent requests from the JSP page? So in effect, you are making a second call to the bean before the first method call completes?
    Without knowing anything about what you are doing or how you app is constructed, you may want to set some form of flag for the user session to indicate whether the bean is in use, which you can check before using the bean in requests. When the bean method call completes, open the gate again. If the bean is in use, return a nice message to the user telling them to hold off for a short while.
    -steve-

  • 1) Second thread call to stateful session bean.

    Hi Friend,
    I read your threads on otn and i compared your problem with us and i analysed that your application and my application is same, So Plese can you help me in some issues.
    Friend, Please help me in these issues, Thanks for this
    We have very big ADF Swing+BC Application and deployed as Stateful Session Bean. in my application there are 500 Application Modules,For each application module i created Stateful session beans and deployed it on OC4J Container but when working on deployed application then i am getting time out error after 15 min of working.
    1). I set that parameter that you mentioned i.e jbo.ejb.txntimeout = 86400,but still it is giving me same error.
    2). Second Issue is of ---ORA-01000: maximum open cursors exceeded
    For this issue i chaged the Database Parameter i.e OpenCurser=2000, but still it is giving me same error,
    is there any parameter on application module required to change so that this error will not come.
    3). When i close the form then application module is not releasing database connection.
    4). (oracle.oc4j.rmi.OracleRemoteException) Second thread call to stateful session bean
    This error is also coming when I am using deployed application for long time i.e more than 15 min for Heavy Transactions

    Hi Suyog,
    How r u?
    We all are fine.
    I alerady tried for the Max Curser Property but it is not helpfull.
    I think again i have to go for closing opened db RS and statements.
    Thanks
    Vijay

  • Test web service proxy using EJB session bean client...

    Hello!
    I am following this blog /people/abdelmorhit.elrhazi/blog/2009/10/30/how-to-consume-an-inbound-backend-web-service-in-nwdsjboss-environment to create a EJB session bean client to access the web service proxy...
    The blog is not very clear. Where should I be deploying the web service proxy and the EJB session bean (web service client) ? on the PI 7.1 ?
    How to find out the URL for the wsdl ?
    Thanks

    > The blog is not very clear. Where should I be deploying the web service proxy and the EJB session bean (web service client) ? on the PI 7.1 ?
    "To deploy your web service proxy and session bean, right click on your JBoss server in the Servers view, and click on Add Remove Projects, add you ear file and click finish."
    You need a JBoss server.

  • Deploying App Module as EJB Session Bean to JBoss

    I am attempting to follow the How-To at
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_jboss.html for deploying BC4J to JBoss. In particular, I was looking at the section 'BC4J as an EJB Session Bean', because that is the route we would like to take.
    The document instructs you to create a business components deployment profile.. ok, done.
    It then instructs you to copy the app module configuration that was just created and rename it. However, the editor will not let you rename the configuration.
    Then when 'Creating a JSP to Access Your Application Module as a EJB', the wizard to create the JSP will not allow you to select the app module configuration that was just created. It only shows the Local configuration.
    What am I doing wrong? I am using JDeveloper 9.0.3.1.
    My ultimate goal is to take an existing BC4J/JSP application and deploy the app module as an EJB, so the JSP and EJB can reside on separate machines.
    Any pointers that anyone can give me about deploying an app module as a Session Facade (BMT) to JBoss, with a JSP front end, is greatly appreciated. I have read the how-tos available from OTN. I have relatively little experience with EJB, so please forgive me if there's something obvious I'm missing.
    Thanks!!!

    Can this be solved by application module pooling? How
    can we use the PoolMgr to work with the session
    beans?You can use a stateless checkout/checkin appmodule.
    Take a look at the following help topics which explain this in good detail.
    "About Application Module Pooling"
    "About JSP Pages and Application Module Pooling"
    The pool can help reuse the appmodule instance across requests thus reducing the number of concurrent db sessions.
    Dhiraj

  • What are the requirements for publishing an App for private distribution, not sale.

    I need to create an App in English and 4 other languages for private distribution to individuals. What are the requirements for doing this please? I currently have a just a Single Edition license. Am I right in understanding I need a Cloud subscription and an Apple Developer subscription also?

    My client desire is to only make their accessible to paying members requiring a sign–in before download. Does this fall into a private distribution deployment.

  • Minimum Hardware Requirement for Oracle11gAS Client PC

    as subject, can anyone give me some feedback? thanks!

    Assuming you are referring to Fusion Middleware 11, I will start by saying that this is a product set of many components and install options. To even offer a suggested recommendation for hardware would heavily depend on exactly what you are planning to install and do with this installation.
    I would recommend review the product installation guides. That said, when reviewing the minimum requirements for memory (RAM), I would recommend that you consider at least adding 15-20% more than what is document. Remember that these are minimum requirements for installation and basic use and not requirements to actually use these products in production with load.
    Product Documentation
    http://download.oracle.com/docs/cd/E21764_01/index.htm
    System Requirements
    http://download.oracle.com/docs/html/E18558_01/fusion_requirements.htm
    Also note that in most cases, reference to memory (RAM) is for the product and not necessarily the box. Unless otherwise noted in the document, you need to consider everything else you are running on the machine including the OS. So, for example, if the install guide says you need a minimum of 2gig of RAM, this does not take into account what the OS needs. So, in this example, consider the 2gig documented plus 20% (as suggested above) plus about 1.5 gig for the OS and other minimal apps running, you would need approximately 4gig of RAM just to complete an installation and execute basic features. In many cases the documentation now refers to "minimum RAM" and "available RAM". "Available RAM" in the document refers to RAM plus swap (virtual memory). My recommendation is not referring to swap. Although the documentation is correct and does work, you will be much happier with more RAM installed.
    Bottom line, in the case of RAM, more is always better. However, remember that on some 32bit OSs there is a limitation as to how much RAM can be accessed. Be sure to refer to the OS documentation for details.
    I forgot to mention, your question would probably get better feedback in the "Applcation Server" forum area:
    Oracle Application Server - General
    Edited by: Michael Ferrante on Aug 2, 2011 10:21 AM

Maybe you are looking for

  • I get an error 7 ( windows error 127 )when I want to reinstall itunes . what to do ?

    I get an error 7 ( windows erroer 127 ) when I want to reinstall Itunes. What to do ?

  • Getconnection hangs ( WLS 6.1 SP4,  UDB 7.2 Fixpak7, Type 2 Driver)

    Hello, We sometimes experience application hang when a user logon due to all threads waiting to get connection from UDB server. Any help is appreciated. Environment App Server: WLS 6.1 SP4 Database: DB2 UDB 7.1 JDBC Adapter: Type 2 IBM Driver (COM.ib

  • BI Publisher Usage

    Hello, I'm new to BI Publisher, hoping to get some expert advice on the setup and usage part. 1. BI Publisher doesn't provide a customizable front-end UI web interface? Other than the enterprise login 'http://<hostserver>:9704/xmlpserver/'. Is that c

  • IWeb own domain name blocked on MobileMe

    Dear Apple experts, I had a website created via iweb, hosted at apple with its own domain name www.onetobe.be I didn't manage this myself and the person who do it forgot to cancel the site before mobileme closure and even if the CNAME has been modifi

  • How to enter BIOS on Qosmio G50-12Q?

    Good Morning I have a PC Qosmio G50-12Q - OS is Window Vista 32 bit How I make to enter in the BIOS of the system ? Which are the keys to press ? Tank you