Business/Technical Decision - ADF or JHeadStart/ADF?

Hi all.
I'm posting this topic on both JDeveloper and JHeadStart forums.
I'm planning to develop a system based on Oracle ADF framework (using ADF UIX or JSP as the view).
I started developing some evaluating applications, and found that, although very powerfull, the ADF itself lacks some functionality regarding multi-row page handling.
So a started looking at the JHeadStart 10g product, and found that it has many funcionalities the ADF framework itself does not provide.
I'm really in a doubt about what technology to use, so I'd like you guys here to share experiences about the pros and cons of using one or other.
If we have a product like JHeadStart, why some might decide not to use it? It's a matter of price constraint, or technical constraint, or both?
What kind of problems I might face by using this "extended framework layer", and not my own extensions?
I'll have to use in my project a lot of pages with multi-row insert, update and delete. If I do not use JHeadStart, I'll have to hand code many of the funcionalities that alreary exist in JHeadStart.
Unfortunatelly, the examples regarding multi-row processing provided by the OTN tutorials are very poor in funcionality and easy-of-use, and are not comparable to the superiority of the one provided by JHeadStart.
Thanks.
Denis Ievenes

Hi Denis,
I work for AMIS, a software consultancy organisation in The Netherlands. We have used JHeadstart on 7 different projects and for different customers, ever since 2003. I think you make some important observations: JHeadstart offers you a lot of functionality through a combination of generation and run time libraries that you would otherwise have to develop yourself. And mind you, these pieces of code are definitely not the easiest ones: they require a thorough understanding of ADF (and ADF BC) and will take quite some time to develop. Using those pieces as provided by JHeadstart will yield a huge benefit. And then I am talking months of advanced development time.
Another huge benefit from using JHeadstart is that developers who are not very experienced with ADFor Java and Web technology in general for that matter, can quickly become productive. JHeadstart through the declarative application design and the generation provides an easy entry level for all developers. Besides, it bundles many best practices of working with ADF in its runtime code. We have had developers with no prior knowledge of ADF Business Components, ADF Binding Framework or even UIX work along one or two experienced developers, and they were productive within two weeks time.
The main reason I can see for NOT using JHeadstart is the fact that it is not an official product from Oracle. There is no official support and you may feel that it is not as safe to bet your money on as is perhaps the database or the application server. After all, would can promise that in 10 years time we will still have JHeadstart?
While this is a valid argument, I should immediately put it in perspective. JHeadstart has been around since 2001, so it has definitely proven itself in terms of stability. What's more: we have been able to migrate (regenerate) applications from the earliest versions of JHeadstart up to the latest. But most importantly: JHeadstart comes with all run-time source code. And this is really accessible code with lots of comments etc. So if for some reason JHeadstart would no longer be supported by Oracle Consulting, you will have the run time code - Java middle tier as well as JavaScript Client Side. That is the code you would otherwise have had to build yourself. And you can pretend you did in fact develop it yourself and take it from there.
Especially given the fact that you have a lot of multi-row handling in your application, I would not hesitate in recommending you would use JHeadstart.It will save weeks and weeks of development time, allowing you to focus on the business oriented functionality rather than the ADF oriented plumbing and wiring of the application.
If you have more questions about our experiences with JHeadstart, you can always drop me an email ([email protected]).
Best Regards and lots of luck,
Lucas Jellema

Similar Messages

  • JHeadstart-ADF Viewlets are not available

    Hi,
    JHeadstart DemoLinks at
    http://www.oracle.com/technology/consulting/9iServices/JHeadstart.html
    are obvios corrupted:
    JHeadstart-ADF Demo 1 - Generating a first cut J2EE application
    JHeadstart-ADF Demo 2 - Refining the JSP application
    JHeadstart-ADF Demo 3 - Refining the UIX application
    JHeadstart-ADF Demo 4 - Adding a graph to the JSP application
    kind regards
    Boris

    Boris,
    Thanks for pointing this out. We have fixed it and you can now take a look at them.
    Regards,
    Ton

  • [ADF EMG] Update: ADF EMG Oracle Open World 2010 Unconference Sessions

    I teased in a previous forum post that I'd reserve publishing details about the ADF EMG Oracle Open World 2010 Unconference sessions till later. Well later is now, and I'm (you guessed it) excited to announce we have another full schedule at the Unconference. Read below for more details:
    Where and when?
    Location: Hotel Parc 55, 3rd Floor, Mason Room
    Map: http://www.parc55hotel.com/map-and-directions
    Date/time: Wednesday 22nd Sept 10:00-12:00
    Duration: 120min
    Topics and Speakers
    Oracle ADF 11g and Oracle WebCenter 11g Production Demo
    Andrejus Baranovskis - Red Samurai Consulting
    During his session Andrejus will demonstrate two production systems, the first a retail system, and the second for the education sector. Both systems are based on a standard Oracle development architecture - utilising ADF BC, ADF Task Flows, ADF Libraries and Oracle's ADF UI Shell. The second system in addition implements Oracle WebCenter Services - Composer, Discussions, Document Management and RSS feeds, providing a Web 2.0 platform.
    ADF BC 10g and ADF Faces 10g to ADF BC 11g and Trinidad, Live!
    John Flack – Information Engineer Synectics for Management Decisions, Inc.
    John will run a live lets-get-down-and-dirty demonstration of migrating a small ADF BC 10g/ADF Faces 10g application to ADF BC 11g and Apache MyFaces Trinidad. This will include steps to make the migration easier, the migration wizard, and how to clean up the application after migration, as well some differences between ADF Faces 10g and Trinidad. John will also show some steps needed which aren't documented, from some hard-earned real-life experience.
    Demonstration of UW-Madison's Scholarship Application
    Todd Hill & Ed O'Connor-Giles – Development Services Specialist and Technical Leader at the University of Wisconsin
    University of Wisconsin-Madison automates management, evaluation, and awarding of scholarships -- and the online application experience for students -- with an application built on Oracle ADF. In this session Todd and Ed from the university will demonstrate the application and their technical approach, discuss the many real-world technical challenges faced, and lessons learned in the course of the project.
    Integrating 3rd party tools/frameworks into ADF
    Gert Leenders - Product Manager at Axi Nv
    Gert will discuss their latest ADF project resulting in a real Java technology mash-up showing how ADF can be integrated with several different product. The core remains ADF but for the management of the business processes his team integrated JBoss jBPM, JBoss Drools as a business rule engine, and last but not least Alfresco & UCM as a content repository through the use of CMIS.
    ADF - How much do you really need to know?
    Sten Vesterli
    How much knowledge is enough? You could spend months or even years learning to master all aspects of ADF Business Components and ADF Faces, but you already know that you don't need to know everything. This presentations proposes a set of ADF skill levels and a way to classify application complexity - and a way to map these, so you know what skill levels you need in order to build a given application.
    Don't forget...
    Don't forget that the ADF EMG also has an on-schedule session on Sunday 19th:
    Session ID: S313445
    Location: Moscone West, Level 3, Room 3012
    Date/time: Sunday 19th Sept 14:00-15:00
    ...with the following well respected ADF and JSF speakers:
    • Frank Nimphius
    • Kito Mann
    • Aino Andriessen
    • Sten Vesterli
    We look forward to seeing you in San Francisco!

    Please note the Wednesday sessions have moved room to the Mason room. Same hotel, same date & time, just different room. The original post above has been changed.
    The Sunday session is still Moscone West Level 3 Room 3012.
    CM.

  • ADF Faces with ADF BC

    Hi everyone,
    I'm trying to map a <af:table> to an ADF Business Component. I can retrieve the records and I can also navigate doing Next and Previous, but I cannot do a Delete of a record. Do you know if there's any kind of "work arround" to use ADF Faces with ADF BC to do a delete or update, etc.?
    Here is the code, you can notice the: <af:tableSelectOne> tag to put the radio buttons colums to select which one to delete, and you can also notice the action="#{row.markForDeletion}" for the commandbutton to perform the delete.
    Jonas Jacobi wrote in his web blog on August 16 that he was going to post some samples for this "work arround" but I think he never posted them.
    Here is the code:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA12/html" prefix="afh"%><%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/ui/jsp/adftags" prefix="adf"%>
    <adf:uimodelreference model="table_testUIModel"/>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA12" prefix="af"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <H1>This is a Test</H1>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>my test page</title>
    <link href="css/blaf.css" rel="stylesheet" media="screen"/>
    </head>
    <body>
    <f:view>
    <afh:head title="tableSelectOne Demo"/>
    <af:panelPage>
    <af:table rows="3" var="row" value="#{bindings.CmSvcView1.rangeSet}" first="0">
    <f:facet name="selection">
    <af:tableSelectOne text="Select and ...">
    <af:commandButton text="Delete" action="#{row.markForDeletion}"/>
    </af:tableSelectOne>
    </f:facet>
    <af:column>
    <f:facet name="header">
    <af:outputText value="SvcId"/>
    </f:facet>
    <af:outputText value="#{row.SvcId}"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="SvcNum"/>
    </f:facet>
    <af:outputText value="#{row.SvcNum}" styleClass="OraHeaderSubSub"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="SvcName"/>
    </f:facet>
    <af:outputText value="#{row.SvcName}" styleClass="OraHeaderSubSub"/>
    </af:column>
    </af:table>
    </af:panelPage>
    </f:view>
    </body>
    </html>
    Thanks,
    Pablo (sorry for the long post)

    Thank you Gabrielle. At least now I have an excuse to tell my boss why I can't get it to work.
    Any idea when it may be available? Would it be a better idea to implement the table in plain vanilla JSF, and when ADF Faces is ready for ADF BC then do the migration?
    Are there any workarround to this problem?
    Thank you for your time,
    Pablo

  • ADF table and ADF form on the same view object

    Hi,
    As per the ADF demos available on ADF site, I created a jsf page with 2 panels. One panel is an ADF table based on a view object. And the other panel is and ADF form based on the same view object. My requirement is that as I scroll through the records in the ADF table, the ADF Form should dynamically display the details of the record in the ADF table. My understanding is that this should be automatic. However, its not working as expected. What have I missed?

    Hi,
    Apply PPR for form that displays details.
    Like :
    <af:table id="t3">
    </af:table>
    <af:panelFormLayout id="pfl2" partialTriggers="t3">
    </af:panelFormLayout >

  • Scalability ADF-BC vs ADF-JPA

    anyone
    do you have material that can compare the scalabitlity between ADF-BC vs ADF-JPA (Toplink).
    my opinion still the direct JDBC is the fastest one.
    F

    Frans,
    ADF BC is designed to be used with ADF Faces for those who adheres 4GL style of development. While ADF-JPA is appropriate for those J2EE monkeys (i'm one) who likes to keep things separated.
    By the nature of the intended development camp, I think in terms of complexity JPA is more scalable. It has a high starting point compared compared to ADF-BC, but raising slowly as the complexity increases.
    On the other hand, ADFBC is essentially a thin layer on top of JDBC. So if you're talking about 'speed', then ADFBC is more 'scalable'.
    But hardware is cheaper than code, right?
    CMIIW.
    Rudi

  • Has anyone seen any issues with persistent Chat in the Skype for Business Technical Preview client? No Messages dispalyed.

    Hi all,
    We are testing out the new Skype for Business technical preview client
    with Lync 2013 and although we're not really users of Persistent Chat, I wanted to install this feature too so I added a server pool just to check things out.
    I can post and even search the history (which shows results), but apart from seeing my immediate post, when I close the room a re-enter I see nothing. I get a notifications that there are new posts, but clicking "Read" button also does nothing.
    We're off for Easter and I wont have access to another Lync 2013 client until we return, so I'm not sure if there is just something odd with my installation.
    I would be interesting to see if other are having this issue.
    Cheers
    Chris

    <xmlns:texthelpns rwthpgen="1">I have asked Microsoft about this directly because it came up.</xmlns:texthelpns><xmlns:texthelpns rwthpgen="1">   It's a known issue that has been resolved, but the
    version in which it's resolved won't be available until the general client release on April 14th.</xmlns:texthelpns>
    <xmlns:texthelpns rwthpgen="1">Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".</xmlns:texthelpns>
    SWC Unified Communications
    <xmlns:texthelpns rwthpgen="1">This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.</xmlns:texthelpns>
    Thanks Anthony. I was about to dig into troubleshooting a bit more based on Holger's response.
    (sorry about the XML tag additions, I have no idea why these are continuously added to my quoted or edited posts. I thought I had tried different browsers with the same result, but will try again).
    Chris

  • ADF without using ADF-Faces

    I'm starting a new project and I want to combine the use of ADF without using adf-faces in other words I want to connect to the Oracle data base through ADF while building my own beans.

    Well I'm still having problems with "ADF without using ADF-Faces" so I went back and found documentation:
    Oracle® Application Development Framework
    Developer’s Guide
    10g Release 3 (10.1.3)
    B25386-01
    However I came to point where I was confused with the TopLink documentation on 3.7 Querying Objects where it said:
    You cannot configure the sort criteria of a TopLink query from Oracle JDeveloper. You
    must write a Java method, using descriptor amendment method. See Section 3.3.3.2,
    "Using Amendment Methods" for more information.
    I find this hard to fathom would you not want to sort the dataset on a JSF table?
    The link takes you to a statement that has nothing to do with Sorting.
    Jim

  • JDK dependency of adf bc and adf client

    Hi!
    We want to build an application which needs to run under jre 1.4.2.
    Is it possible to build an application which use adf bc and adf client or are they dependent from jre?
    How can I find which version of this libs run under which jre?
    kind regards
    Torsten

    May be this is of help.
    I guess you have to stay with 10.1.2.1 version of jdev. Still you can use 10.1.3 and configure it to use jdk 1.4.2 for you application, but you have to take care of the adf libraries you use (if they are 1.4.2 compatible).
    Timo

  • JDev 11g TP4: ADF tables and ADF form pop-ups PPR?

    I was hoping somebody could help me with the following please.
    I'm currently having a bit of an issue with ADF tables and ADF forms embedded in a pop-up, where the wrong record is shown in the popup. I suspect it's a PPR problem but am unsure. My scenario:
    1) I have the following table:
    CREATE TABLE "CHRIS_MUIR_DELETE_ME" (
    "ID" NUMBER(5,0)
    "SOME_COLUMN" VARCHAR2(20 BYTE)
    CONSTRAINT "CHRIS_MUIR_DELETE_ME_PK" PRIMARY KEY ("ID"));2) I have a default ADF BC EO/VO combination for this table.
    3) I have an ADF Faces RC page with a read-only table based on this VO:
    <af:table value="#{bindings.ChrisMuirDeleteMeView.collectionModel}" var="row"
       rows="#{bindings.ChrisMuirDeleteMeView.rangeSize}"
       emptyText="#{bindings.ChrisMuirDeleteMeView.viewable ? 'No rows yet.' : 'Access Denied.'}"
       fetchSize="#{bindings.ChrisMuirDeleteMeView.rangeSize}"
       selectedRowKeys="#{bindings.ChrisMuirDeleteMeView.collectionModel.selectedRow}"
       selectionListener="#{bindings.ChrisMuirDeleteMeView.collectionModel.makeCurrent}"
       rowSelection="single" partialTriggers="myDialog">
      <af:column sortProperty="Id" sortable="false"
        headerText="#{bindings.ChrisMuirDeleteMeView.hints.Id.label}">
         <af:outputText value="#{row.Id}">
            <af:convertNumber groupingUsed="false" pattern="#{bindings.ChrisMuirDeleteMeView.hints.Id.format}"/>
         </af:outputText>
      </af:column>
      <af:column sortProperty="SomeColumn" sortable="false"
         headerText="#{bindings.ChrisMuirDeleteMeView.hints.SomeColumn.label}">
        <af:outputText value="#{row.SomeColumn}"/>
      </af:column>
    </af:table>Note that rowSelection is set to "single".
    3) The page also includes a popup-dialog combo that shows the same data from the table (ie. they're based on the same VO) as an ADF Input Form:
    <af:popup id="myPopUp">
      <af:dialog type="okCancel" id="myDialog">
         <af:panelFormLayout>
            <af:inputText value="#{bindings.Id.inputValue}"
                label="#{bindings.Id.hints.label}"
                required="#{bindings.Id.hints.mandatory}">
               <f:validator binding="#{bindings.Id.validator}"/>
               <af:convertNumber groupingUsed="false" pattern="#{bindings.Id.format}"/>
            </af:inputText>
            <af:inputText value="#{bindings.SomeColumn.inputValue}"
                label="#{bindings.SomeColumn.hints.label}"
                required="#{bindings.SomeColumn.hints.mandatory}"/>
            </af:inputText>
         </af:panelFormLayout>
      </af:dialog>
    </af:popup>Note that the table's partialTriggers is set to the id of the dialog. This implies on return from the dialog, the table will update itself to reflect any changes.
    4) I have a data bound Create commandButton, + a simple Edit commandButton. The Edit button includes an <af:showPopupBehavior> to display the popup:
    <af:commandButton
        actionListener="#{bindings.Create.execute}" text="Create"
        disabled="#{!bindings.Create.enabled}"
        partialTriggers="table1"/>
    <af:commandButton text="Edit">
        <af:showPopupBehavior popupId="myPopUp"/>
    </af:commandButton>If you run the form with the following steps, you can reproduce my issue:
    1) Click the create button, this will create a blank record in the <af:table>
    2) Click the edit button and give the 2 fields values, press ok. Note this is reflected back in the table.
    3) Click the create button, you will now see another blank record in the <af:table>. Note that the current row selection highlight is on the new record.
    4) In the table select the original record, then the Edit button. Oddly the input form is showing the blank record, not the original record even though we selected it in the <af:table>
    This implies to me that I have to hook up a PPR event such that the fields on the popup know to update themselves when the user selects a new row in the table.
    I've tried setting the partialTriggers property for the popup, dialog and individual fields on the popup page to the table id, but this doesn't seem to work.
    Does anybody have any suggestions on how I'm meant to hook up the partialTriggers in this case? I'm at a bit of a loss to know what to do to solve this issue. Is it possible the table selectionListener isn't working?
    Thanks for your help in advance.
    Regards,
    CM.

    G'day gang
    This morning I had a chance to play with Pavle's suggestions, specifically the popup contentDelivery option, and it's solved the issue. Specifically changing the contentDelivery option to lazyUncached was the golden solution.
    As the popup component help states, the default functionality is: "lazy -- the default strategy described above. The content isn't loaded until you show the popup once, but then is cached."
    ....cached being the issue I was seeing.....
    While the lazyUncached options states: "lazyUncached -- the content isn't loaded until you show the popup, and then is re-fetched every subsequent time you show the popup. Use this strategy if the popup shows data that can become stale."
    The nasty thing about the lazy option is the fact that in the dialog it can show the previous cached result (even though you've selected a different record), and you can even appear to edit that cached result in the dialog, but when you press okay in the dialog and return to the previous table, it's updated the record you selected, not the cached result.
    Confusing, but not a bug if you understand the popup contentDelivery options.
    Frank, if you'd like it, I have the simple test case available to send you. But as it's not a bug I wont send it to you unless requested.
    Thanks to both of you for your assistance with this one. Once again your help is much appreciated! :)
    I'll take time out to blog about this in the next few weeks to assist others.
    Thanks & regards,
    CM.

  • Oracle Business Rules decision tables - export

    This is a beginner's question.. Suppose that you want to use an Oracle Business Rules (OBR) decision table, for example to check company’s eligibility for financing based on their country and business type (PRIVATE or PUBLIC). You would define a corresponding decision table in JDeveloper with true/false assignments in the Actions. Is it possible to export this decision table somehow? Ideally we would want to have a web service returning the decision table data as XML, which would then be used to generate PDF or a dynamic webpage etc. Then we would have OBR as the only point of data entry.

    I moved this to "SOA Suite and OC4J 11g Technology Preview"
    Business Rules - Decision Tables and Buckets
    Chandresh

  • ADF UI Shell + ADF Security - blog post

    For readers of this forum, I've written a blog post on combining the UI Shell + ADF Security:
    New blog post: ADF UI Shell + ADF Security - http://one-size-doesnt-fit-all.blogspot.com/2009/12/adf-ui-shell-adf-security.html
    Regards,
    CM.

    Hi
    How does the SignIn/SignOut link in the UI Shell Global Area Work ?? . When the SignIn link is clicked it takes me to the default login Page and i am able to login . But once logged in , if i select the SignOut link , it doesn't seem to do anything .As per the document it is supposed to clear the User Session and redirect to the Home Page. Any reason why this is not happening ?
    Thanks
    Aditya

  • Problem while converting a Form to ADF using Jheadstart

    Hi,
    As I convert the forms to ADF . When I am in the 1st step to extarct the application defination.xml and ADF BC's .
    When I click on forms2ADF generation to generate the xml and ABF business components . I receive the following error:
    java.lang.Exception: EMPDEPT: : An error occurred while composing ADF Business Components:
    java.lang.NullPointerException
         at oracle.jmig.target.bc4j.objects.BC4JObject.getChild(BC4JObject.java:204)
         at oracle.jmig.target.bc4j.objects.ViewLinkDefEnd.findOrCreateViewAttribute(ViewLinkDefEnd.java:189)
         at oracle.jmig.target.bc4j.objects.ViewLinkDefEnd.processProperties(ViewLinkDefEnd.java:125)
         at oracle.jmig.target.bc4j.objects.BC4JObject.findOrCreate(BC4JObject.java:290)
         at oracle.jmig.target.bc4j.objects.ViewLinkDefEnd.<init>(ViewLinkDefEnd.java:41)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.jmig.target.bc4j.BC4JClassReflection.construct(BC4JClassReflection.java:132)
         at oracle.jmig.target.bc4j.BC4JFactory.processElement(BC4JFactory.java:138)
         at oracle.jmig.target.bc4j.BC4JFactory.processNodeList(BC4JFactory.java:244)
         at oracle.jmig.target.bc4j.BC4JFactory.processElement(BC4JFactory.java:197)
         at oracle.jmig.target.bc4j.BC4JFactory.processNodeList(BC4JFactory.java:244)
         at oracle.jmig.target.bc4j.BC4JFactory.processElement(BC4JFactory.java:197)
         at oracle.jmig.target.bc4j.BC4JFactory.processNodeList(BC4JFactory.java:244)
         at oracle.jmig.target.bc4j.BC4JFactory.processElement(BC4JFactory.java:197)
         at oracle.jmig.target.bc4j.BC4JFactory.startProcess(BC4JFactory.java:122)
         at oracle.jmig.target.bc4j.BC4JFactory.createBC4J(BC4JFactory.java:100)
         at oracle.jmig.target.bc4j.BC4JComposer.compose(BC4JComposer.java:178)
         at oracle.jmig.MigrationRunnable.compose(MigrationRunnable.java:473)
         at oracle.jmig.MigrationRunnable.migrate(MigrationRunnable.java:278)
         at oracle.jmig.MigrationRunnable.run(MigrationRunnable.java:130)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
         at oracle.jmig.target.bc4j.BC4JComposer.compose(BC4JComposer.java:213)
         at oracle.jmig.MigrationRunnable.compose(MigrationRunnable.java:473)
         at oracle.jmig.MigrationRunnable.migrate(MigrationRunnable.java:278)
         at oracle.jmig.MigrationRunnable.run(MigrationRunnable.java:130)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    Please help in this regards,
    Regards,
    Noman

    Noman,
    I assume you are using the 10.1.3.3 version?
    If you send an e-mail to [email protected], I will get you access to the latest JHeadstart 11 build which includes many improvements and other fixes in Forms2ADF. Note that you should use this build with JDeveloper 11.1.1.0.
    Steven Davelaar,
    Jheadstart Team.

  • JBO-27022 within ADF Module, JHeadstart 10

    (oracle.jbo.AttributeLoadException) JBO-27022: Failed to load value at index 4 with java object of type java.lang.String due to java.sql.SQLException.
    LEVEL 1: DETAIL 0
    (java.sql.SQLException) Fail to convert to internal representation
    The above is the error message received from within the ADF Module executed with Test. Using JDeveloper 10.1.3 4 with the latest Jheadstart 10 release. The application and ADF definitions are simple - one entity and six views of that entity differing only on a where clause which has the same form in all cases: "where status_ind = 'value'".
    It is failing attempting to read the 10th record, having successfully read the first 9 records. For testing purposes (to isolate this problem) I constructed the test data from the original data. Using the original data, the test of the module failed on the 5th record. The original records contains a single integer surrogate key that is populated via an Oracle sequence number referenced within an Insert Trigger on the database. To determine if the failure was based on the record or the number of records read, I constructed the test data such that from the original data as follows:
    Record 1, record 1, record 2, record 2, record 3, record 3, record 4, record 4, record 5, record 5 ...., where the record # refers to the original data. The Test of the Module again fails on the 5th record's data, but it read the 1st Record 5 correctly, while failing on the 2nd Record 5. Since these records are or should be identical, except for the integer sequence number field (which is in index 10 -- that is the key is not in index position 4).
    The field in Index 4 is a varchar2(30) and whose value is BAV (that is, only 3 characters long, no padding). The base classes remain the standard oracle.jbo.xxxx classes and not any jhs classes.
    I'm at a loss why the exception, especially since the fields contents are the same between Record 9 and Record 10, with the primary key of integer 9 and 10 respectively.
    NB: Running under Mac OSX 10.5.7 and latest JVM 1.5 from Apple

    Hi,
    Jhsadfrt contains all the runtime components for JHS. For the model layer, this includes the JhsApplicationModuleImpl (which will be used as the superclass for your appmodule) and the JhsModelService, which will be used as a nested application module within your applicaton module. The last one will only be used when you use database-dynamic options such as flex fields, custom security and database-based internationalization. In those cases, JHeadstart provides its own screens which will use these business components to display their data.
    Libraries such as Commons Logging, Oracle Intermedia and SQLJ Runtime (allthough I'm not 100% sure of the last) are used by these JHeadstart extensions to the model. So you will need them, otherwise your project might fail to run.
    Hope this answers your question.
    Regards,
    Evert-Jan de Bruin
    JHeadstart Team

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

Maybe you are looking for

  • Rename file name & format using ftp sender

    Hi all, This is regarding the renaming of file at sender file(FTP) communication channel and placeing the same file in the same folder. At FTP server at sender side (i.e.clients place) is in .txt format.But now .txt file has to rename and change into

  • Importing to Adobe photoshop Elements 9 from copier

    When I bought Elements 9 I was told I could import my photo's from my copier.  Don't see how to do this import.  I had Photoshop 5 and had no problems it was right there in import.

  • I'm getting a message from iPhoto stating that it is locked.

    I have tried pulling up the iPhoto first aid window in order to rebuild it but the command and option key method is not allowing me to access that window.  Any help out there?

  • E220s freezing without symptoms after renewing fan and thermal pad

    Hello fellow Lenovians, I recently renewed a rattling fan in my E220s. Since then I get permanent freezes every time, starting from ca. 5 to 40 minutes on. I checked with Sandra, and to my understanding no temperature sensor shows anything abnormal.

  • VISTA (PC)  BUDDY CAN'T VIDEO CHAT WITH ME , WHAT CAN I DO?

    I am using my PowerBook G4 OS version 10.4.9 using my iSight cam with iChat on aol( thru AIM) I can text but when I send an invitation to view it always gets reject, but they are trying to accept it, can anyone help (I am not very savy on all of this