How to manage access to jsps in ur application?

Hi!
we are developing J2ee application in which we have many Jsp pages , these jsp pages are accessed by different clients in different modes (i.e if administrator is watching a page then all the facilities in page will be available to him but if any other user is watching the same page then he will not be able to use all of it's functionalaty ).
Now problem comes if many user (let say 100-200) user accessing same page (in different modes) i.e single source is beeing accessed by multiple clients ...then performance issue will accour here coz we are not managing this resource properly(Like we do pooling of database connections if we know that many user will access the database and they will need database many connections ...tis way only 10 connection objects can handel 100 clients accessing the database).
one of out team members has given the idea of putting same jsps(with same logic but different name)in different folders...like for addministrator we will have administrator folder in which we put all those jsps that he can access then again for any other class of users let say clerk we will have a folder named clerk having all thos pages which he may need(note that there may be same pages with different names in last two folders)....this way only the page for clerk class is loaded(from clerk folder) and if administrator wants to access the same page it will be loaded from his directory.......
but i am not satisfied with this approach as there should any better approach for resource managment of jsps and doing reaserch on it ......
If any one on this forum has any idea about that then plz help me
thanx in advance
sajjad ahmed paracha

Doesn't matter.
You'd still get the same number of requests which is your real problem.
It might make sense to group your JSPs in subfolders dividing them up for functionality but that's only for ease of organisation (maybe you want access control on such directories for example).
What you really need to do is get those connection pooling and stuff under control and properly configure your application and database servers to function under high load.
This might mean you will have to think about clustering the entire application across multiple servers but with 100 clients that should not be needed.
You might also have to look at the efficiency of your SQL queries. Do some take an inordinate amount of time to complete or return far more data than is needed?
If so see if you can optimise them. Maybe placing some indices on often used database tables will speed things up a lot as well.
Maybe some queries are performed a lot but the results are pretty much always the same? Consider caching those results and performing the actual query only once every hour or day (depending on how often the data changes).
Talk with your DBAs about tracing SQL.

Similar Messages

  • How can i access the jsp file in a asp file

    Hi every one..
    we have two projects one is developed in ASP and one is developed in JSP both are running in two different locations.
    now i want to include a jsp file from one project to ASP file in the other project.
    please tell me how can i insert the JSP file in ASP application.
    thanx in advance.

    Wouldn't that be an ASP question for an ASP forum?

  • How to manage large database records in enterprise application

    Hi All,
    I am working on a large enterprise application relating to Capital Market. I am working in Java and with its extended technology. I am facing one critical problem which needs solution from your side. I have a database table which contains approximately more than 5 millions of records, I want to display the records with proper pagination. Here I am using Hibernate for database related stuffs. I am using a query which contains a join query to load the records. After the query the filtered records come to approcimately 80,000. I am unable to make proper pagination, everytime for next or previous set of 10 records I hit the database which is a time consuming affair. I do not know what I will do , should I cache the data for pagination. Everytime I load more than 80,000 records, think that in an web based application, the no of users are 5000, then how to manage. I need core java level solution not in the JSP level. Please help me in this regard.

    After the query the filtered records come to approcimately 80,000. I am unable to
    make proper pagination,Just a thought. If you display 50 per page, that's 1600 pages. Say it takes the user
    15 seconds to read the page: total 400min=6 2/3 hours and probably a bad case of RSI.
    The proper pagination would possibly be no pagination.

  • How to to display the JSP report in Application Server ? URL for displaying

    Hi Experts,
    Last week, we tried to change the memory of Response Cache and buffer Cache to increase the speed of the Excel report. But it didn’t work out.
    And from the below link, I understood we can convert the oracle 9i report to excel by converting the Oracle 9i report to JSP report.
    http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/index.html
    I’ve converted the Oracle 9i report to JSP report and finding the way to display the JSP report using Application Server. I am trying to find out the REPORT URL of simple JSP report and using Reports Servlet . Right now I am trying to display the JSP report in Application Server.
    Please suggest the URL for displaying the JSP report
    Thanks & Regards

    Hi,
    You can directly call you .jsp file, http://<host>:<domain>:<port>/<jsp report path>?userid=<if your report requires userid>/<pwd>
    Refer to metalink documents:
    Frequently Asked Questions About JSP Reports [ID 301714.1]
    Here --> Question 4. How do I execute a JSP report?
    Also refer, How to deploy JSP reports [ID 220943.1]
    Hope this helps.
    Regards,
    Mithun

  • How to enable Accessibility Mode of OEM 1g Application server console

    Hi,
    Please guide me to deploy the war file in the Oracle EBS release 12. For that i need to enable Accessibility Mode of OEM 1g Application server console.This is in ref. to 392218.1 note.
    Thanks...

    Hi,
    You need to configure the AS10g Control with R12 by following the steps in this document (not enabled by default).
    Note: 603716.1 - Using AS10g AS Control with eBusiness Suite Rel 12
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=603716.1
    Regards,
    Hussein

  • How can I access t-code SOLAR_LIBRARY (Solution/Application)?

    I have found in multiple places that configuration guides for CRM 2006 are now in Solution Manager.
    I found several documentation in SAP Help that tells you to look into solution manager as follows:
    Choose Solutions/Application -> Basic Configuration -> Configuration Structures -> ...
    What I've learned diggin on internate is that Solutions/Application is a t-code called SOLAR_LIBRARY. When I try to access this t-code in my Solution Manager system I get a message T-code for internal SAP use.
    My question is how can I get access to this configuration guides that are referenced in several places on the SAP Help portal?
    Your help will be greatly appreciated...
    Regards
    Armando

    Hi Amando,
    the transaction Solar_Library is only used SAP-internally. To access configuration guides, you need to launch transaction Solar02, select your project, select the node "Configuration" and the tab "Structure". Via the button "Change Configuration Structure" you can launch the maintenance transaction for configuration structures. Select "Business Process Repository" as source and launch the F4 selection help. You can copy complete configuration structure in your project.
    Best regards,
    Michael

  • Hi All.How to deploy the CUSTOM JSP to Oracle Application???

    Basically i am new to OAFramework and i have developed one JSP page--->Connect to Remote Application and it is working fine in my Local System.
    How do i depeloy this CUSTOM page to Oracle Application???
    Please let me know the Steps or is there any Reference documentaion available so that i can follow the steps.
    Message was edited by:
    user550793
    Message was edited by:
    user550793

    How you create your .xml file.
    Have you created your .xml file using New->web tier->OA Components->Page.
    If in this way you would not get your specified Error. Could not find the main class.Progarm will exit.
    I think you are running any java file. either controller, VOImpl.java or any else.
    that do not have main function.
    if still this issue exist on your side. let us know all the steps in details to us.
    Thanks, Avaneesh

  • How to manage the Release versions of webdnpro applications

    Hi All,
    We are building some applications using webdypro . These applications may need to be rollout for different countries like V1.0 and V1.5 ....ect.
    How i need to manage this versions like when completed my V1.0 version when i start working on 1.5 version changes. If want to implement for V1.0 to some client. What is the version management i need to follow. What is the procedure for this.
    Regards
    vijay

    Vijay,
    google for some version control mechanisms like CVS,VSS
    Thanks
    Bala Duvvuri

  • How to restrict access to a deployed web application

    I have a web application (ear-file) and i want to configure NetWeaver so that only certain users can use the web application.
    How/where to configure the Application server to reach that goal?

    Hi Ludger,
    You can create J2EE Security Roles:
    http://help.sap.com/saphelp_nw04/helpdata/en/c2/e13e4045796913e10000000a1550b0/frameset.htm
    Regards,
    Siddhesh

  • How can I access two "E-Business suite" Applications at the same time

    I have Application "A", and for the performance issue, I decide to install another instance let say "B", and clone "B" from "A" in a daily basis, so for some reports I need the user to access "A" and for another reports to access "B".

    On the subsequent invoke event, put up another window.
    Or, duplicate the -app.xml and change the id.

  • Manage Access to Named Credentials via EMCLI

    Hi Colleagues,
    does anyone know how to manage access to Named Credentials via EMCLI or does anyone know if this function exist in EMCLI.
    We want to configure the access via scripts, so that we can for example grant access for all database administrators to all named credentials.
    I would be very pleased if anyone has a solution.
    Thanks in advance!
    Best regards,
    Sönke

    Hi,
    Use the verb grant_privs to grant a user access to a named credential.
    For example:
    emcli grant_privs -name=MARY  -privilege="GET_CREDENTIAL;CRED_NAME=HOST-CREDS:CRED_OWNER=SCOTT"
    ..grants the user MARY view privileges on the credentials called HOST-CREDS owned by SCOTT.
    View privileges will allow Mary to use the credentials but will not allow her to see sensitive information such as the password.
    Check out the security doc for more information on named credentials
    http://docs.oracle.com/cd/E24628_01/doc.121/e36415/sec_features.htm#CJAHBADG
    Other privileges you can grant to credentials are FULL_CREDENTIAL and EDIT_CREDENTIAL.
    Check out the EMCLI reference guide for more details on grant_privs verb:
    http://docs.oracle.com/cd/E24628_01/em.121/e17786/cli_verb_ref.htm#autoId186
    Regards,
    Ana

  • Accessing another variable from another application

    I was wonder how I can access another variable form another application?
    For example: I want to access :P4_EMPLOYEE_NAME from app ID 104 when I am doing is from an activity in page 2 on app ID 142.
    I had a search before, but I am looking for an unambiguous response.

    Greg - About all you can do is call the function htmldb_util.fetch_app_item(p_item => 'F104_ITEM', p_app => '104'). The application you call this function in must be sharing a session with the application from which you are fetching the item, both applications must belong to the same workspace, and the item you name in the argument must be defined as an application-level item in the fetched-from application.
    Scott

  • How can I access xml document from javascript whithin a JSP page

    how can I access xml document from javascript whithin a JSP page?
    I have a JSP that receives an XML document from a JavaBean, so I can access it within the entire JSP, but I need to access it from the javascript inside the JSP... and I have no idea how i can do this.
    Thanks in advance!

    The solution would only work on MS IE browsers, as other browsers do not support an XML DOM.
    It can be done, but you would be stuck with using the Microsoft broswer. If that is acceptable, I have some example code, and a book recommendation.

  • How can I access my parents iCloud account remotely to assist with photo management and printing?

    How can I access my parents iCloud account remotely to assist with photo management and printing?

    I tried that without any luck. I was hoping I could get Apple to reset it for me or delete the account so I could recreate it or at least tell me what is listed as my birth date, the security question answer.

  • How can I access JSP variables from a JavaScript function in a JSP page?

    Respected sir
    How can I access JSP variables from a JavaScript function in a JSP page?
    Thanx

    You may be get some help from the code below.
    <%
        String str="str";
    %>
    <script>
        function accessVar(){
           var varStr='<%=str%>';
           alert(varStr);// here will diplay 'str'
    </script>

Maybe you are looking for

  • How to print using Apple Airprint

    This link to the Canon website gives the best summary I have seen. including default paper sizes: http://www.usa.canon.com/CUSA/assets/app/pdf/airprint/How_to_Print_Using_Apple_A irPrint.pdf It points out that default sizes depend on where you are bu

  • Airport allows access to only one computer at a time

    Is there a setting which prevents internet access by more than 1 computer at a time via airport? I cannot get laptops to connect simultaneously (via airport) to the internet

  • Problem viewing pdf files when browsing

    Help!  Ever since downloading the lates Adobe and purchasing it, I can't view a pdf file at all from any site without first saving it somewhere.  If I just click on it, it won't open -- it makes me save it to a file first.  That never happened before

  • The SDK have no C# Sample to create a new PDF-Document

    I have Acrobat Pro XI installed. I have about 100.000 single pages of tif-files. The number of single pages which belong to one document are variable. Now I want to write a Programm in C# using .NET Environment to convert this to pdf. Thanks for help

  • ODS reporting questions

    Hi BW Gurus, 1) Is it possible to report from a staging ODS ( BEx reporting flag switched off ) using an infoset or some other means ? 2) The data valoume in this  ODS is around 200 Million records in Production . What would happen if I changed the s