Architecture for large Applications of ADF

My developer team finished a web application that contains about 350 web pages, 45 entity object and as the view object 90 between 12 modules app.

The problem of enforcement is that weakens.


I use all the tips, I get to guide performance and tuning... then I think the problem is that the architecture is building.

Is correct use a proyect for model think but is a viewController project correct use?

Maybe we can get more performance with bills viewCOntroller multiple each of them using the dependence on the same model project and of multiple war file attached to file an ear?


Thanks for the tips...


NOTE: I use ADF 11 with webLogic... All queries that use in the application in 50 to 100 ms, are moments of database...

Published by: user10363801 on 05/03/2011 15:52

The first thing to do would be to understand what is the source of the slowness in your application. I don't think that the slowness has to do with how your split your application into modules.
Try and pin-point where slow - is making the pages? is it to get the data? what queries - or maybe she receives the data from the database for the medium level?
Without such information it will be very difficult to recommend on a way to solve the problem.

Tags: Java

Similar Questions

  • What architecture for my application?

    Hello!

    For my test bench, I developed the LabVIEW software. In the last months, I asked several questions in this forum, but always about the details of my application. Until now, I never really questioned the general architecture (which is certainly a mistake, that I want to learn).

    What drives this desire to review my work, it's that I am currently not able to interrupt the complete progam or subfeatures of controlled prematurely or if errors occur.

    I hope you could give me some suggestions which would fit my application better. I'm not really experienced in structured programming, use for example architectures producer/consumer etc and I'll read up on them, but first I need a general boost in the right direction.

    First a brief overview of my hard - and software:

    HW:

    • 3 different controllers control of actuators
    • 2 different cameras

    SW:

    • Front for the interaction with the user
    • Several measurement routines that use different combinations of actuators and cameras. For example "move to position 1 and take a picture, then move on to position 2, etc.. These routines can be quite long, including the analysis of the images and decisions based on the results. These routines must sit in event of an event structure that in turn lies in my main program (the program of the façade).
    • Void / screw (lowest level in my software) who send the actual orders for controllers, for example 'move', 'read the current position' etc. These Sub VIs are separated from my Panel VI and consist of structures events themselves, an event for every basic function. These event structures are controlled from the front panel via the dynamic user events. So basically a push of button on the remote.

    Finally a very brief example of workflow in my software:

    1. Façade is started. Along the SubVIs for controllers are also started
    2. Lance user measure routine N1 with a button
    3. Start of the event in the front panel. In this case, other events are generated sequentally, according to the algorithm of measure.
    4. These remote events live Sub point 1, for example remote press the buttons for the basic functions in the desired order (move, take photo etc.).

    Problem is that the user cannot terminate measurement routines before they are completed, because the program is locked up in the case of corresponding event.

    In addition, when a controller reports an error (e.g., loss of power), as routine orders keep coming which results in more errors.

    This should be possible with my new architecture:

    • The user in the front panel (as before)
    • Premature termination of all auxiliary program if the user wants or if the error occurs. Then a defined State must be entered (including closure of all references, power off all devices, etc.)

    I'm not at work right now, but I'll upload some screenshots later because let's face it – which was a wall of text

    But maybe it's enough for a few first thoughts of you?

    Thank you!

    I tend to like to have HAL - so I tend to create a module that is designed just to communicate with the instrument and then my main loop of the program (e.g. routine measurement / logic program) interact with that and sends updates to the user interface. This is because if I want to use this material in another application, I can re - use the 'module '. It's perfectly OK to have your material combined with your message loop - loop, but if it takes a long time to read the data of the instrument, your application would be not as sensitive to the façade events (because it must wait to finish first).

    So, you could have:
    -UI event loop
    -The main Message loop (responds to user interface events and your program 'flow')
    -Hardware Loop (to initialize and communicate with the instrument)

  • Setting up security for Mobile Applications of ADF


    Hello

    I tried to configure security for a native application of the ADF Mobile.

    Security in the ADF Mobile native application is configured using the files below-

    • adfmf-application.xml
    • adfmf-feature.xml

    I selected "remote" option under 'Security tab' for a feature. I have also assigned a role under the 'Constraint' tab for the same feature.

    "Now in the.adfmf-application.xml' file, under the 'security' tab I have defined a connection to my OID( Oracle Internet directory) instance by providing the Login, Logout URLs and provided 'JSESSIONID' as the value for Cookies option. I tested the connection and it shows connection successful.

    Now, on the authorization tab, I provide the URL "access control", but I couldn't find any "URL access control" for the OID (Oracle Internet directory).

    Can someone let me know where to find the URL "access control" for OID or how to form the same?

    or

    How can I authenticate remotely for the ADF Mobile with OID login process?

    Thank you.

    Hello

    If you read the documentation, then he said:

    you create an access control for the ADF Mobile application by entering the following in the dialog box create a connection Login ADF Mobile, shown in Figure 14-4 (and described in Section 18.4.2, 'how to designate the Login Page'):

    • The URL of the REST Web service that transmits a list of user roles and privileges.
    • A list of user roles checked by the functionality of the application.
    • List of privileges.

    Definition of constraints on the functionality of the Application - 11g Release 2 (11.1.2.4.0)

    So the answer to your question is: create a custom REST service that queries the roles of your instance OID. There is no automatic for this as OID does not expose its services as REST

    Now read this: ADF Mobile Application Security - 11 g Release 2 (11.1.2.4.0)

    Frank

  • Using OATMEAL - tests for Web Applications with ADF Faces functional

    Hello

    I have tried unsuccessfully to use web functional OATS to test to test a web application written
    with Oracle ADF faces (JDeveloper, ADF BC + ADF Faces).

    It is supposed to work or we are in the same situation as OpenScript when a version 9.1 for ADF Faces
    is scheduled for mid-2010?

    Concerning
    Paul

    Paul

    As you pointed out support for ADF will be released later this year, as it is now can use OpenScript to test ADF but is somewhat complicated and you need to do a bit of editing of your scripts.

    Concerning

    Alex

  • Application requirements for the Application of ADF Fusion Web Server deployment

    Hi all

    What I need to know is the following:
    If I develop an Application of Web of merger, based on the ADF business components, ADF Page lifecycle, pages JSF, and ADF Rich Faces components, using JDeveloper 11 g, can I deploy it successfully on an Oracle 10 g R3 application server? I mean, is fully compatible with an older application server such as Oracle Application Server 10 g R3 Oracle Application Development Framework? Or should I wait for a version 11g of the OAS?

    I know the Oracle JAVA application server is Weblogic, but I need to know that it is a must for the deployment of generation of ADF with JDeveloper 11 g applications.

    Thank you.

    Bogdan.

    PS: If I posted this in the wrong forum, please tell me and I'll pass it to the server part of the forum applications.

    No, you can not - ADF 11g requires Java EE 5.0 - which means you need to WLS 10.1.3.1.
    See more info here:
    http://www.Oracle.com/technology/products/jdev/collateral/papers/11/certification/index.html

  • Suitable for large enterprise applications?

    Hello

    I am in favour of Apex in the Gayshop Oracle Forms, but he has received the following statement: "I'm afraid that because of its architecture of 2 level (treatment of all takes place in the comic book), it is not suitable for large enterprise applications.

    Please help me to answer that.
    Not to say yes, "it is" or "no, that is not, the person is just", but saying why it is or isn't.
    References would be nice too.

    Thanks a lot in advance.

    Gabor

    Hello Gabor,

    Here, a few links:
    [http://www.oracle.com/store]
    [Oracle Application Express reference | http://htmldb.oracle.com/pls/otn/f?p=26380:1]
    [Pinnacle of Paetc | http://www.pinnsoft.com/]

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Urgent - Custom authentication and authorization for the application of the ADF

    Hi friends,

    Custom implementation for authentication and authorization for the application of the ADF

    My project to use the OID , authentication and authorization, we will need to support both OAM and DB tables ( according to the preferences of the client during the installation ).

    I am new to this and do not have a clue about the same.

    Please guide me how to set up both in JDeveloper 11 g + ADF

    Thanks in advance.

    The answers you got up to present every point in the right direction. ADF security see the authentication of WLS, even for business authorization with respect to user roles defined on the WLS server. During the deployment, ADF security defined application roles are mapped to the user enterprise groups

    Application developed using Jdeveloper ADF +.

    This would use WLS for authentication

    Users of authentication - LDAP (OID) - are stored in LDAP

    Use the OID authentication provider in WLS

    Authorization - OAM or database (authorization details are stored in the DB or OAM tables)

    You can't allow users without authentication. If you need create authentication providers additional if they exist for OAM and RDBMS (there is a supplier of existing RDBMA, that you can use to identify users and to assign membership user groups). Then, you set the optional flag so that when authentication fails for additional providers you can always start the application.

    When running Admin users - create users from roles to create and assign permission privileges to the role (for pages and workflows)
    assign (or remove) the roles to/to leave users.

    ADF security uses JAAS to permissions that you can change using Enterprise Manager when running. Permissions are granted to the application roles and application roles are granted to business roles that which then has users become members of the. If you want to change the status of user account, then you don't do this the ADF or EM, but use a direct access to the provider of the user (for example, access OID, RDBMS access etc.) There is no unified administration API available that would allow you to do this via WLS (which uses OPSS).

    If your question is in the context of the ADF, the documentation, with that you should follow is OPSS and WLS authentication providers.

    Frank

  • Different audio output for different applications

    For most applications, including Windows itself, I use my speakers that work out of my sound card in the PC. For my Skype, I use a headset connected to the back of the monitor. This configuration works very well, given that Skype allows to choose the audio output by default se device. Now I want another application (a game, Endwar, to be precise) to use headphones as a default with the rest of the system device as it is on the left. Is there a way to do this?

    SUP Zatrix,

    It would be only possible if it is supported in the game/program itself or if your sound card driver configuration settings will allow it.  Some sound card drivers will allow you to have two different audio streams or separated for helmets.  So, it really depends on your hardware and the application that you are willing to put in place this way.

    It's funny how some people leave Windows to a Mac not realizing that Bill Gates has a large part of the Apple.  MARIE.

  • Speakers stereo mod for ALL applications and sounds

    Sony Hi community,

    I want to ask you if there is a mod without root using the speakers of my Xperia Z2 on stereo for all applications, calls and sounds (System and not system).

    I found very bad that Sony didn't optimize Android 5 this feature because speakers of the Xperia Z2 are beautiful and functional, better than the Z3, but without stereo output are very limited and potential of this smartphone!

    The stereo speakers of Xperia are one of the design features LARGE and the BEST against all THE Samsung and Apple devices, so I don't understand why they use stereo Sony to give us a powerful and especially audio output COMPLETE

    I hope in a future implementation of this setting in the next firmware update, but now I haapy even if there is a mod sostitutive to force them to use stereo speakers for ALL o.

    All responses are welcome for me!

    See you soon

    Alessio_84

    The mod that I use currently uses two speakers for everything except the speaker, but that's because I use an older version (the mod has since been updated to include the speaker, but since I got back from vacation early this morning, I got a chance to further improve). I intend to give it a try later tonight.

    Unfortunately, it requires root. The good thing is that you do not need to unlock your bootloader to root the device, so don't lose your drm keys.

    Here is a link to the thread:
    http://Forum.xda-developers.com/showthread.php?p=60337177

  • Is my application an application of ADF Essentials

    Hello

    The "Oracle ADF Essentials overview and frequently asked Questions" document [1] points to this forum essential ADF JDeveloper and ADF in place for community support.

    Even the FAQ also answers the question "what is included in Oracle ADF Essentials? " with listing some contained components and others not included features.

    It could be seen as a guide to answer the question "do I have to pay to deploy my application ADF? '.»»

    Wouldn't be handy if there was an easy way to determine what a given application of ADF ADF Essentials application?
    Or is it not possible to start using the features that you should not use for ADF Essentials (e.g. safety ADF) application?

    -(q1), how can I determine whether my application is an application of ADF Essentials?

    -http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentialsfaq-1837249.pdf [1]

    Thank you very much
    Jan Vervecken

    Hi Jan-

    In this version, we have no tools to help verify a request to ensure that there is an ADF Essentials application. Our original goal was to ADF Essentials on the market. Now let's study to obtain feedback from the community on what we do then... Add other application servers? Add more features? Improve the tools? We'll probably do some of all of the above.

    We are considering using JDeveloper audits as a set of rules to check for an application. We are also assessing if a JDeveloper role can be useful in limiting technology to those that are part of most of the ADF.

    In short, Yes, it would be good to have an easy way to determine if you have a request for the ADF, but it's a manual process for the moment. In this regard, there are two aspects to consider: 1) making sure that you only use components that are permitted under the license of the ADF Essentials and 2) in licensed components, make sure in charge you use features that are taken. The good news is that it is not so complicated. Here is the list of components that are/are not included in the ADF Essentials:
    http://www.Oracle.com/technetwork/developer-tools/ADF/overview/components-1844931.html

    And is a really short list of features that are not supported: http://www.oracle.com/technetwork/developer-tools/jdev/11gr2update3-1851251.html#11.1.2.3.0ShermanUpdate3-ReleaseNotesREPOSITORY-ADFEssentialsandGlassFishDeployment

    -Brian

  • running application module (AM) from a secure application of ADF

    Hello gurus,


    If you can put some lights on the following problem on which I'm stuck, then I have will greatly appreciate it.

    After the security application in my application of ADF, when I try to launch the application module (AM) she prays for principal and credentials. I don't understand what I should give here. Do you have a solution to this?

    Thanks in advance.

    Hello

    find the menu, choose Application--> Secure--> users and create a user account. If you have enabled not only authentication but authorization too, you must also create roles. The main thing is the user name.

    Frank

  • Why Dev Guide says 'create a separate project for each workflow to ADF... '. »

    Hello

    We have a process BPM application that is having some human tasks. Form for each of the human tasks is similar. We would like to share some fragments of page or code between them and create unique web application to manage all human tasks for this application of BPM process. Then, I found the following in the document Oracle "Oracle SOA Suite 11 g Release 1 (11.1.1.4.0) Developer Guide":

    "If the composite SOA contains several human tasks, create a separate project for each ADF workflow associated with each human task."

    I wonder if we have to do and if so, what is the reason.

    Do you have any idea? Help, please.


    Thank you very much

    Helen

    Hi Helen
    1. I don't know the reason why they mentioned as separate project for each human task. NO, this is not necessary and we can have a single project of UI as MyTaskForms and have all JSPS in this same project for each human task.

    2. for our part, we have like 10 human tasks, while using the same payload. We have therefore 10 .task file. For the first file .task, we Auto generate project and gave the name of the project as OurAppTaskForms. Is the reason why as we did, for he adds all dependent libraries required, tag libs etc correctly. For all other .tasks files 9, we did NOT use auto generate. Instead we used standard New-> JSF human task and select only one task at a time and follow the steps. These steps are covered in the online documentation. At the end in our BPM application, we have just a UI project with all 10 screens.

    3. in ADDITION, all 10 screens have some common data. We put in a reusable JSF Fragment page. And associated with a managed Bean for this set and get the values of this fragment and also certain Actions for a few buttons in the Joint Strike Fighter. Then, we have included this JSF in every file of jsf taskform, uisng the tag include. We have added the include tag, somewhere in the upper part. If all the screens share common page fragment of jsf.

    4. we can refine the above things further. As per above, we have again JSF 10 screens for each one of the .tasks 10. Of course all these 10 jsf have same common jsf fragment. BUT instead of 10 screens individual jsf, we can have only ONE screen of Jsf also. For details, see the docs online. The hard part is, we don't have that one jsf, there may be a few tricks of bussiness, validatoin stuff to take care of in Manager ValidationCallback custom classes. Say for Task1, had to show some buttons, but NOT for Task2. So, we have to manage this logic. Also validation callback, we can always get each task, title also. So that we can get around this problem too. We are in the process of doing now. But first of all 3, we did it before and they work very well.

    My personal suggestion is to first go with jsf one fragment and include all duties jsp files. Any changes made to the common elements need only put in one place IE page fragment.

    Thank you
    Ravi Jegga

  • Why do I receive alerts in iPhone mirror on my watch for an application for which I turned off mirroring alerts iPhone?

    Why do I receive alerts in iPhone mirror on my watch for an application for which I turned off mirroring alerts iPhone?

    Watch OS 3.0

    iOS 10.0.1

    Hello

    You should find that restart both devices solves this problem.

    The two put together, and then restart your iPhone first:

  • One volume for all applications

    Is there a way to define the Air iPad for a volume for all applications?  When I go into the music and YouTube, it seems
    always change and increase the volume.

    Thanks in advance.

    Hello. In fact change such volume indicated by the slider in the control center? Swipe up then left to see. I think that maybe it's just that the music is stronger, more deeply modulated. Not much you can do about it.

  • If I have the first generation iWatch I'll be able to get the update for new applications and look at faces?  I know that I couldn't display or the waterproof function to the water.

    If I have the first generation iWatch I'll be able to get the update for new applications and look at faces?  I know that I couldn't display or the waterproof function to the water.

    Hello

    The next operating system update, watch OS 3, will be available for all Apple Watch models, including the first generation watches.

    We should go out on 13 September, after which it can be installed by following the steps detailed here:

    More information:

    http://www.Apple.com/Watchos/

Maybe you are looking for