Which business layer for ADF/JSF applications?

We are considering developing j2ee applications using ADF Framework ad JDeveloper. We have choosen to use ADF framework using ADF Faces as a view layer, JSF Controler.
Can someone give me a suggestion about which tecnology to use to build service layer?
Since we are java developers, is it better to use Toplink POJOs or is there some advantages using ADF BC.
Is there any tutorial or note thet can help us making this choice?
Thank you very much
Michele

The ADF Developer's Guide for Forms/4GL Developers and the corresponding end-to-end tutorial for the SRDemo sample using ADF Business Components should be on OTN by the end of this week. If you are interested in a pre-release, please email me at [email protected]
Thanks.
The ADF Developer's Guide for advanced J2EE Developers and the end-to-end tutorial using EJB/Toplink are already on OTN. Using these side by side, hopefully it will help you get an idea of which one feels like a better fit for your team's background, experience, and preferences for ways of working.

Similar Messages

  • Coding custom business methods in ADF BC Application Module ?

    Dear All,
    Where do i put my custom business methods in ADF BC Application Module ?
    Can anyone point me to a good tutorial which gives a good insight into developing ADF BC Applications ?
    Thanks,
    Raghavendra

    Hi,
    there will be a developer guide out soon. Its written by Steve Muench and provides an indepth walk-through ADF BC.
    To answer your question, custom code is written in Java files on the ApplicationModule, ViewObject and EntityObject level. If you go to the Editor of each of these components there is an option for you to create Impl.java and RowImpl.java files. The first is for generic business logic, the latter for row based logic
    Frank

  • ADF-JSF: Application Performance Issue

    Hello!
    My question or set of questions will be a bit vague...I am simply not sure where to look for problem(s). So here is what I have. Application implemented with ADF-JSF (JDEV ver:10.1.3.2.0). It basically has 5 pages. Each page containes user input form, commandButton and result table. Functionally, each page is a 'search page' that returns results based on what user specified in the form. Components on each page are bound to VO that is based on EO (DB table). Tables have at least 2.5M records up to 16M. Certain indexes exist (for most common searches) to improve the performance. However, there have been performance issues found and largely they would be grouped into the following:
    1. User is on page A, performs the search, goes to page B (via link) and performs other search, then goes back to A and similar search takes much longer to return results. Seems to me that this moght be related to memory. Maybe results of the previous search are cashed and it takes new search to retreive results longer as the VO cashe needs to be cleared first. Does that make sense?
    2. User is on page A and then goes to B. Leaves browser for 10-20 minutes and tries to go back to A. It takes up to a minute before page reloads with the previously displayed results. I am thinking this has to be related to page lifecycle where AM tries to re-execute bindings ( I do not think it is passivation issue though). What is the best practice to control the lifecycle?
    Any pointer on where to look for the solution is very welcome.
    Rade

    Carl,
    To use Tom Kyte's analogy, you are firing a gun into a room full of people hoping to hit the bad guy. You haven't seemed to have gotten any information about where the performance issues lie. It could be in the DB, network, ADF Business Components, JSF layer, other stuff monopolizing resources, etc, etc. I have ADF BC apps developed in 10.1.3.3 that run quite well.
    So, I would recommend you spend some time investigating where the performance problems lie. Try turning on logging output, check machine utilization - use your investigative techniques to find the bad guy so you can then work on fixing him.
    John

  • Need information on open source testing tools for ADF web applications

    Hi experts,
    I need to investigate on new feasible open source Java testing tools for testing ADF web applications. I have tried to google a lot but getting confused.
    My requirements as as under:
    1. The tool must be open source.
    2. It should be easy to understand and to work upon by the tester and developers.
    Selenium based testing approach is already in place for testing the application but need to search for tools other than Selenium which shall prove suitable for testing ADF applications. Kindly let me know your inputs / suggestions.
    Thanks a lot in advance.
    Neelanand

    Hi,
    Have a look at JMeter http://jakarta.apache.org/jmeter/index.html
    1. The tool must be open source.It is.
    2. It should be easy to understand and to work upon by the tester and developers.I guess it is.
    There are some specifics in configuring it for ADF, but Chris Muir wrote a nice blog about how it's done, check it out http://one-size-doesnt-fit-all.blogspot.com/2010/04/configuring-apache-jmeter-specifically.html
    Pedja

  • URGENT: How to debug non-reproducable problem(s) in ADF JSF application?

    This is one of the most anoying things in programing.... We have JSF application developed by JDev 10.1.3 and deployed on AS. It works fine but almost once or twice per day users complain that, say on a certain page (could be any page) they click on a button or a link and nothing happens. Sometimes it looks like the browser is trying to open a page but never does and sometimes the link or a button is dead. I looked into log file under opmn/logs and could not find anything?
    This is very urgent, so please, please if you have any hint on how to approach this problem, let me know. At this time I cannot file the Service Request with Oracle since they would ask me to create sample code and reproduce the problem which is just not possible.
    please help.

    Hi,
    if you are on JDeveloper 10.1.3.0 then chances are that these are concurrency issues. If a user starts a long running query then others may be blocked by this. This is fixed in JSF RI that is contained in JDeveloper 10.1.3.1
    Its just a guess. To prove my assumption, make sure you run the app with a single seat and see if the issue reproduces or exclude queries from the tests.
    Frank

  • How to enable SSO for ADF 11g application

    Hi All,
    I am new to ADF 11g. I need to enable SSO authentication for a ADF 11g application.
    Please let me know if we have any document to follow to perform the configuration.
    Thanks
    Sai

    Check this out
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15478/opssadf.htm
    -Arun

  • Data Source configuration for ADF BC application

    Hi,
    I am working on a POC using ADF BC.
    I want to configure a data source in weblogic server and want to connect to that data source in my ADF BC application.
    Please let me know how and where to configure this data source in ADF BC app.
    Thanks,
    Praveen

    Praveen,
    Right-click your Application Module, choose "configurations" Then, you can edit your configuration to specify a data source instead of JDBC URL.
    [url http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcservices.htm#CHDJDBJB]The documentation can tell you more.
    John

  • How to Recreate the Business layer for Deleted Universe

    Hi ,
    I have moved the universe from DEV to PROD insted of copy. after MOVE i have lost the universe from DEV folder then the reports pointing to the DEV are not working . Now my DEV universe is moved , there is no universe in DEV Folder then i have placed my back up universe in to DEV folder and returns with the error named "You do not have the right to access data returned by this universe. (Error: INF )" , If i try to edit the qurey returns with error named "No business layer sent back from server"  and i try to change source of my DEV reports but the Change Source option is disabled.
    The below options i have tried
    1. Refresh Structurre of universe and Exported
    2. Request the universe and connection access from BO admin team (They have refused)
    Please suggest me if there any work around.
    Thanks in advanse.
    Regards
    MKR

    Grant permission to the user on top of the universe, universe connection , folders and reports under the folders.
    Before doing this login with admin account and test running of the reports. if there are no issues with admin then just grant the user access. its simple

  • JSF Design Time View Not working correctly for ADF/JSF components

    My project is not using any external tag libraries. It is based purely on ADF core/html and JSF core/html components. The design time view does not show the appropriate presentation, everything is shown as nexted frame containers (I suppose how you would show a component that does not have a visual representation).
    If I create a new project and copy my jsp (jsf) pages over they show perfectly. I did this activity and all was going well in the new project and then I lost the design time view again. I cannot tell you what I did to cause the issue, maybe it was a modification to the web.xml as has been suggested in some other threads. Can anyone tell me what I should be looking for that causes this problem, what corrective actions I might take to eliminate the issues

    Ok I have isolated this issue. In my phase listener I had this line of code:
    private static final Logger _logger =  Logger.getLogger(EigRequest.class.getPackage().getName());
    and I changed it to
    private static final Logger _logger =
    Logger.getLogger(EigRequest.class.getName());
    and design mode started to work. I guess either of the above works for me although I do not understand why the line works when you run the application but not in design mode.
    Moral to the story is if something fails in any one of these types of decorators you will drop into a raw view mode. The question I have is if errors are occuring how do I figure out where they may be. There is no indication that anything is wrong with the exception that you lose most of the design mode functionality.
    This was not a compile issue, this was not a runtime issue. It took me quite a few hours of writing a test program to validate that it was not just writing a phase-listener issue; then launching, editing, relaunching the application to find the problem. I will say that a good portion of the code came from a Eclipse project. If you add the offending lines of code while using JDeveloper you do not loose design mode immediately. You only see the problem the next time you start JDeveloper which complicates finding the problem.

  • [Best Practices] Which versioning strategy for the web applications?

    Hi all,
    An important question when starting to develop a web application is how to correctly make the releases follow-up?
    That involves to adopt a versioning strategy to definitely fix the version numbers which will be associated to each release.
    The versioning strategy i have imagined is based on four different numbers with format like v.X.X.X.X:
       - The first one represents the version number of the database structure.
       - The second number is linked to the different finalized releases of the data model layer.
       - The third number concerns the different releases of the interfaces
       - And finally, the last number is the Subversion (or other code control system) last save.This strategy involves:
       - The subversion number is systematically reported
       - Changes on the database will affect both the data model layer and the interfaces; also, among the three first numbers only the first one will have to change.
       - Changes made on the data model level automatically involve a new interfaces release and will also be represented on the second number and not on the third.
       - Finally, bring some changes only on the interfaces level will affect the third and the fourth numbers only.My questions are:
       1) Is my choice correct?
       2) Maybe it already exists some versioning convention?
       3) What is your strategy?
       4) What is the strategy for the Jdeveloper versions?Best regards,
    Tif

    I would like people to be able to watch it in a flash player embedded on my site (and have it look good even if they click on a full screen button) or download to their iPod.
    Use the H.264 setting for iPod in Compressor. The h.264 file will play in a JW Flash Player and it's able to be downloaded for iPod viewing.

  • Jdeveloper 11g team development model when develpoing ADF JSF application.

    We have a application include five nearly 10 screens developed using J dev 11g.
    Our application conteins model and view projects.
    We want some of our developer develop some of the screen of project and other programmer develop the other screens. Just one developer responsible from Model projects.
    We shared responsibility between programmers such as.
    Programmer1 --> input.jspx
    Programmer2 --> edit.jspx
    We gave programmer projects files. They develop the new screens.
    But When we want to combine the screen, some of the shared files suchas (databinding.cpx) couses problems.
    How can we manage this kinds of situations. We don't want to create a new projects for each screen.
    We are using cvs. But shared files couses problems in CVS also.
    is there any metodology you recommend ?
    Thanks.

    Hi,
    Many of our users work in this same way - one application, one model project and one view/controller project. As you are using CVS I would suggest the following:
    1. Have each developer check out the whole application, not just the project
    This is because
    a. there are dependencies between the model and VC project
    b. many of the files also have dependencies (Java/XML metadata, binding, pagedef....)
    2. Make use of Pending Changes
    a. use outgoing changes to ensure that you check in all changed files
    b. be careful that all your outgoing changes are properly checked in - as CVS does not do atomic commits you can experience the situation where some file dependencies are not check in (for example if a network failure). SVN does do atomic commits, by the way
    c. use incoming changes to see changes that have been checked in by other developers - this allows you to do a Compare of files such as DataBindings.cpx to see what changes have been made and, if necessary, to discuss with the other developer prior to doing an update
    3. Use JDevelopers Merge Conflict resolution functionality to merge any conflicts in files
    4. If you are using Task Flows consider having one developer who is responsible for adding/editing them
    a. The information that is shown on the design view is taken from the source XML file - so these will need to be merged if multiple users check in
    b. There is a diagram file associated with each task flow (eg adf-config.adfc_diagram) - this holds the x.y postional information of each shape on the diagram. If a diagram is edited by multiple users it can be complicated to decide which positional info should take precedence
    Can you give me an example of the problems you are experiencing with the data binding file?
    regards
    Susan
    www.susanduncan.blogspot.com

  • Creating a Business Service for Start/Stop Application Service in CCB 2.3.1

    Hi,
    I'm in the process of creating a BPA script that invokes a Business Service to perform a Start/Stop for a given Account ID/Premise ID combination. The Business Service is using the base Application Service: Start Stop (CILCSSEP). I am moving the Account ID and Premise ID, along with the start date and requested by fields to the data area of the Business Service, prior to invoking it. When I invoke the Business Service via the BPA script, it throws the below error message... I'm at a loss because the BILL_ADDR_SRCE_FLG is being set to a default of "PREM" on the Business Service Schema:
    A Bill Address Source is required on the address override record. Please enter a valid value.
    One of these two is true:
    1) The Bill Route Type on this record has a Bill Routing Method of 'Postall', or
    2) The main customer on the Account has a Quote Route Type with a Quote Routing Method of 'Postal'.
    In either case, the Bill Address Source must be populated with a valid value.
    If you need support please supply the following info to system support:
    Message number: 3, 59204
    Business Service: CMSTARTSERVICE
    Application Service: CILCSSEP
    Schema:
    <schema pageAction="fastChange">
    <accountId mapField="ACCT_ID"/>
    <df mapField="DEFAULT_FOR_FLG"/>
    <startDate mapField="STRT_START_DT"/>
    <startOption mapField="STRT_TYPE_FLG"/>
    <premiseId mapField="STRT_PREM_ID"/>
    <premAddress mapField="ADDRESS1"/>
    <premCity mapField="CITY"/>
    <startCisDiv mapField="STRT_CIS_DIVISION"/>
    <startReqBy mapField="STRT_STRT_REQ_BY"/>
    <bldStrtSaSw mapField="BUILD_START_SA_SW" default="true"/>
    <accountIdtwo mapField="ACCT_ID2"/>
    <mainCustPerId mapField="MAIN_CUST_PER_ID"/>
    <billFrmtFlg mapField="BILL_RTE_TYPE_CD" default="POSTAL" private="true"/>
    <billAddrSrcFlg mapField="BILL_ADDR_SRCE_FLG" default="PREM"/>
    <billAddrSrcFlg2 mapField="BILL_ADDR_SRCE_FLG2" default="PREM"/>
    <startStopTelephoneOverride type="list" mapList="OVRD_PHONE">
    <accountId mapField="ACCT_ID"/>
    <sequence mapField="SEQ_NUM"/>
    <phoneType mapField="PHONE_TYPE_CD"/>
    <internationalPrefix mapField="COUNTRY_CODE"/>
    <phone mapField="PHONE"/>
    <extension mapField="EXTENSION"/>
    <version mapField="VERSION"/>
    </startStopTelephoneOverride>
    <startBtn mapField="ACTION_START_SW" default="true" private="true"/>
    </schema>
    I'm running CC&B 2.3.1 - Any help in pointing me in the right direction to get this working would be greatly appreciated, Thanks!
    Regards,
    Jack

    Hi,
    Can you try and do this transaction online and see if the error occurs as well? If so run it with traces on and check for the details just before the error is thrown. ( you can also switch on debug via the service call, but it may be easier to debug when doing this online. ) I am predicting this error will occur also when you do it online.
    When you are using an Account with its main Person set up with BILL_ADDR_SRC_FLG as PREM you will need a valide PREM_ID on the CI_ACCT record for MAILING_PREM_ID and the premise needs to have a switch set to YES indicating it is a Mailing Address type Premise.
    Good luck
    Arjen

  • Internal load balancer for ADFS, Web Application Proxy join problem

    Hello,
    we deployed 2 x ADFS (2012 R2) behind a internal Azure load balancer.
    In front are two WAP servers, which should be joined to the ADFS farm based on the internal load balancer IP.
    Unfortunately the WAPs fail to join and sometimes after 5 tries it works. The problem is (based on the event logs) that the ADFS Servers dont trust the WAP certificate.
    It seems, that during the join process the ADFS internal load balancer does not stick to one ADFS server. If we join the WAP directly (without the ILB) to one of the ADFS servers, everything works fine.
    As soon as we try to join via the ADFS internal load balancer IP, the abover occurs.
    Did anyone experience the same problems? How does the internal load balancer distribute the requests? Seems to be not sticky at all.
    Thanks for any Feedback,
    Thomas

    Thomas -
    This article talks (in detail) about a recently updated distribution mode - Source IP affinity.
    http://azure.microsoft.com/blog/2014/10/30/azure-load-balancer-new-distribution-mode/
    Hope this helps!
    /Arvind

  • Oracle ADF JSF APPLICATION

    Pls, can any one help me how to implement inputfile component that is how use it to upload file to application server.

    <af:inputFile label="Upload:" value="#{managedBean.file}"/>   -- Managed bean is Bean you need to create . The file value binding is with a varible name file in managedbean
      <af:commandButton text="Begin" action="#{managedBean.doUpload}"/>     Similarly doUpload is method inside the managed Bean.
    see this link .. and follow
    ADF Webcenter Blog: File Uploading in ADF

  • I cannot find my downloads which I paid for from an application.

    I recently bought some media from an app which was free. They have come up on my latest purchases on my credit card.
    I can't find them as downloads on the iphone or the computer (when I have sunc the phone to the computer).
    If I go to the app and go to the item I bought, the only way to access it is to press the the BUY button again.
    Where are the downloads kept on the iphone?

    It has possibly saved to the Photos app, but depending on what the format of the videos is, it may not be playable on the iPad.

Maybe you are looking for

  • Photo sharing with FB in IOS 7

    Since downloading IOS 7, I can no longer share photos from my iPhone 5 to Facebook and there is no option in my privacy settings to change this as there should be. I've deleted the app from my phone twice and then reloaded to see if it would fix it b

  • Magic Trackpad Power Off?

    Just got a Magic Trackpad. Downloaded the software update and everything is working great. I even read the manual. The manual says how to power on - it talks about turning the trackpad off when not using it, but it doesn't say how to power it off. I'

  • LEAD MANAGEMENT- how to make fields mandatory

    Is there a provision in lead management to make the fields mandatory so that lead number is not generated without filling the mandatory fields/ as it is in business partnerm using field groupings in customizing (eg. without submitting address proof B

  • Unable to empty the Trash in iPhoto.

    I'm unable to empty the Trash in iPhoto.  I have uploaded all my photos to iPhotos and then deleted any duplicates.  Consequently I have 33,000 photos in the trash but every time I select 'Empty Trash', the iPhoto app crashes.  Any Ideas?

  • TS3868 iMovie icon in the dock is missing

    I have "lost" iMovie.  When I try to connect, it says that it "damaged" or "incomplete.  I have done nothing with iMovie for weeks, yet now it is unavailable.