How to organize the context object through out the application process

Hi,
Here in my application is using the following steps for a process.
- Login
- Search
- Update
- Logout
In those above steps, Login, Search, and Update actions are touching to database/LDAP every time. In each time, Im creating new Context object, I think this is a bad approach. When I hit the login, I need to get the connection object and use that for rest of the actions(search and update).
So can we organize the single context object through out the application? And where do we need to close the Context object?

Don't worry about it. The provider will reuse connections behind the scenes. They're not tied directly to Contexts.

Similar Messages

  • How to run the application process

    Dear all,
    I create an application on demand and when I called it it seems to return nothing.
    How I can run only the process ?
    Thanks
    Eric

    Hi,
    It seems you want to do onClick or onmauseover event as I see your javascript function. As I did something like you probobly want to do, Yuo have to first declare javascript file into static files (shared component) then you need to declare onclick/onmauseover event somewhere on the page ( link in the report or something ...) and finally you have to build process on demond to show what you want to see after onclick/onmauseover event.
    This is what i did and it works fine.

  • How to organize the content of MANIFEST.MF

    Most of the jar files contain a file named META-INF/MANIFEST.MF, and it provides some information about the class in the jar files, but when I execute the code below, I can't output all of the jar file name in the eclipse project's classpath.
    import java.net.URL;
    import java.util.Enumeration;
    public class TestClassLoader {
    public static void main(String args[]) throws Exception {
    Enumeration<URL> en = TestClassLoader.class.getClassLoader().getResources("META-INF");
    while (en.hasMoreElements()) {
    URL metaInf = en.nextElement();
    System.out.println(metaInf.toExternalForm());
    So I want to know how to organize the content of MANIFEST.MF file to output the file name

    getResources doesn't do what you apparently think it does. The resource path still has to be an exact match, but getResources allows for the possibility that the same resource path may occur multiple times on the class path.
    You could use it to access all the MANFEST.MF files on the classpath but you'd need to full resource path "META-INF/MANIFEST.MF"
    The code you've written doesn't access the contents of the manifests, of course. To access the contents of manifests use java.util.jar.Manifest objects.

  • How to organize the import statements in FXML Files?

    Hello,
    I'm a user of NetBeans IDE and it can organize the import statements in *.java files. Now, I'm using JavaFX and editing the *.fxml files as well. I want to know how to organize the import statements in *.fxml files?
    Thanks a lot.

    You should use Scene Builder, it will make all these import statements for you.
    Moreover, it will greatly simplify the writing of your FXML files, since you only have to Drag&Drop JavaFX objects on the scene. Then, it automatically generates FXML files.

  • How to Organize the columns in the dynamic internal table?

    Hello Folks!
    How to Organize the columns in the dynamic internal table? i tried passing the parameter COL_POS to the fieldcatalog, Which is not working.

    Organize in What order ? What is your way to output ?
    If you use ALV, you need to create fresh FIELD CATALOG for your dynamic table and then assign the column position.
    Regards,
    Diwakar

  • Find out how many times the application was touched by a particular user

    Hello,
    can anyone please help me out with this issue.
    I want to find out how many times the application was accessed by a particular user,their session IDs for each of the applications in a particular workspace. I am using a role based authorization scheme for my application. I am using Oracle APEX 3.2 version. Are their any underlying APEX tables/Views to find out the above details.
    thanks,
    Orton

    Hi,
    Have you check views APEX_WORKSPACE_ACCESS_LOG and APEX_WORKSPACE_ACTIVITY_LOG
    Regards,
    Jari
    Edited by: jarola on Oct 20, 2010 7:37 AM
    This might help also
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/advnc.htm#CHDDHGJI

  • How to restart the Successfully processed messages

    Hi,
    I have IDOC to File Scenario
    we posted the idoc from R/3 and it has processed successfully.
    Now again i want to process that idoc again with out going to R/3.
    How to restart the Successfully processed message from MONI.
    we have one option in MONI Restart. this is not working for Successfully processed messages.
    How to achieve this
    Regards
    Suman

    Hello Suman..
    XI: Restarting successfully processed messages..
    Go through this : Michal Krawczyk Blog This will really helpful to you..
    /people/michal.krawczyk2/blog/2005/11/09/xi-restarting-successfully-processed-messages
    Reward Points If it is Helpful...
    Thanks,
    Satya Kumar..

  • Accessing Java Object with out any application servers

    Hi,
    I would be much thankful if any one guide/suggest me how to
    access an java object with out using any application servers.I am
    having an java object which holds dummy data and an mxml file which
    contains some text fields. My plan was to access the java object
    and put the dummy data in the text fields. I am using RemoteObject
    for this. I am not able to proceed further. Please help me.
    Thanks in advance
    Regards
    Karun Kumar

    You can check The Merapi Project it's still in the
    development phase but it'll allow to an AIR app invoke a java class
    and run it as it were inside your app. But that's something you
    can't take into production yet, why don't u wanna use a server
    backend?

  • How to run the application in weblogic

    Hello!
    I have deployed 1 application in Apache Tomcat , it is working fine. Now i want to deploy same application in Weblogic Server. I have already installed "Weblogic 9.1". Now i dont know how to do and what to do next.
    I also dont know where to copy that application folder in weblogic, and how to run & deploy the application?
    I have stuck over here.
    Please if anybody knows how to run the application in weblogic, plz let me know.
    I need your help.
    Thank you.

    hi,
    have you gone through [this link.|http://e-docs.bea.com/wls/docs92/index.html]. i think it may help.

  • How to give the application server file path in the module pool programming

    Hi,
         Could somebody help me how to provide the application server file path in module pool programming once the logo is uploaded to sap system.
      For eg I have imported a logo name ‘owens’ into sap system by using transaction ‘se78’; now I need to call the path in the below url,
    if container2 is initial.
    CREATE OBJECT CONTAINER2
      EXPORTING
        CONTAINER_NAME              = 'PICTURE_CONTAINER2'.
    CREATE OBJECT PICTURE2
      EXPORTING
        PARENT = CONTAINER2.
    CALL METHOD PICTURE2->SET_DISPLAY_MODE
      EXPORTING
        DISPLAY_MODE = CL_GUI_PICTURE=>display_mode_fit_center
      EXCEPTIONS
        ERROR        = 1.
    CALL METHOD PICTURE2->LOAD_PICTURE_FROM_URL
      EXPORTING
        URL    = " ? "
      EXCEPTIONS
        ERROR  = 1
        Others = 2.
    endif.
    Thanks in advance
    Deepu

    hi Deepu,
    Use FM '/SAPDMC/LSM_F4_FRONTEND_FILE' for fetching the data from the application server path/presentation server path
    Regards,
    Santosh

  • How to get the all process orders and outbound deliveries based on material

    Hi Team ,
    I need one help from you regarding the MB 56 transaction.
    My doubt is : How to get the all process orders and outbound deliveries based on material, plant and batch?
    Please help me regarding this.
    Thanks & Regards,
    Srikanth.

    Hi,
    You can use ST05,to trace the program and find out,
    hope it will help you...
    thanks and regards,
    veera.

  • How to define the application parameter 'sap.xss.BaseConfigurationID'

    Hello All,
    I am developing a webdynpro ESS custom self service application. I have completed the development of the DC. But at the end when I am creating the application for the DC, I am not able to figure it out how to define the application parameter 'sap.xss.BaseConfigurationID' for the application. I have defined remaining all the parameters as specified in the following link.
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/3b95dab4ab1800e10000000a1553f6/content.htm]
    Could any one please detail the process to define the parameter 'sap.xss.BaseConfigurationID' ?
    Thanks a lot.
    Regards,
    Seshu.

    Pick a representative file.
    Get info. (Command-i)
    There you will see a place "Open with" where you can select the application for that file.
    Hit the "Change all..." button to do this for all files of this type.
    charlie

  • How to determine the Parent process information in Oracle BPMS 10g

    Hi ,
    I am trying to retrieve the parent process information given the instanceId and Process Id of an instance of a process from a different process.
    I am getting the instanceId of the instance in workspace using the Fuego.Papi.ProcessService and by creating the Filter.
    I tried using the ProcessInstance.parent but it needs to be instantiated using the instance details of my referred instance, which i am not able to do.
    Can some one shed some light on how to get the parent process details from the referred instance.
    Thanks,
    shravan.

    Hi,
    If you mean to increase the request timeout i.e the time when a request is submitted to the server and the response is sent by the server it can be done in httpd.conf file located in $OracleHome/Apache/Apache/conf directory.
    The attribute to be used for setting timeout is "Timeout". By default teh value is 600 seconds i.e 5 minutes.
    After making these changes , run command dcmctl updateConfig -ct OHS and restart the HTTP Server. Please note these commands need to be run only if the httpd.conf changes are done through text editor.
    Hope this helps.
    Smita

  • How to call the Application configuration in run time.

    hi guru,
    i have created two  Application configuraton   and it working fine.
    my question how to call the application configuration in run time.
    Example :
    Based on the user i want to change the Application Configuration.like Super user and Normal user.
    Advance thank's
    Regard's
    Vivekanathan.S

    Hi,
    Please try out this way-
    Have a look at this table -
    WDY_CONF_APPLU - (Customizing Data for Web Dynpro Applications).
    after you are done with the configuration--
    Ge the config id for the given application from this table. And depending on the user get an entry from this table and display accordingly.
    Please refer to these links -
    different default layouts for different CONFIG_IDs
    Get WDCONFIGURATIONID
    Regards
    Lekha

  • How to learn the Business Process and how it is related to BI?

    Dear Experts,
    How to learn the Business Process? for example the business process from finance to sales. As I am more involved in technical development of BI; I dont know or having very hard time to understand what the business process. And how the Business Process is related to BI?
    I think if I don't understand the business process than it is very hard to satisfy the User requirements. If you have any documentation please feel free to forward it to [email protected]
    I wish you happy new year. Thank you in advance.
    Aslam.

    If only plan data entered, try to delete the planning data before delete the object and then re-create it again. Otherwise you may have to leave it as is and change the description for the usage by the different company code.

Maybe you are looking for