Advice for the development of the ADF.

Hello

We have an internal application made in forms and reports. As today product of strategic importance for the future development of Oracle's ADF. If we intend to migrate the application internal even on ADF. We have 2 options:

1. we should start developing the application from scratch in ADF? Or
2. we should be using Jheadstart to migrate to the ADF, but then also re - write the features of PL/SQL.

Please advice.

Thank you.

I think you need to read this article (again)
The key is what makes a 'good' Forms application is still not a 'good' Apex, ADF, Java, .net, or whatever application (and vice versa). So if you want to do things good sense in your new technology so you think redesign to make the most of this technology.

What you choose technology depends on many factors - your skills of developers, architects, clients, type of application template, business goals... I don't think someone can answer that but you or your team who know it.

Tags: Java

Similar Questions

  • Guard application launch at the start of the appliance, also need advice for the implementation of network methods

    Hi all

    I'm new to the development of Blackberry and I'm writing a relatively simple application to run on 7.1.

    So far the development was interesting, I managed to create my user interface using resources online (mainly this forum), but today I tried to implement some of the network classes that I need and now I just met constant problems.

    I use Eclipse SDK 3.7.2 (the one that comes with the plugin RIM)

    First question:

    I'm not sure what I changed, but today I noticed that whenever I start the Simulator (by sim 9360) my application is started during the initial startup process. I don't think he did this before, but to be honest, I wasn't paying much attention. I think it starts at the start of the device is because I put a breakpoint in the constructor for my class from the main screen, which is hit before the Simulator happens even to the point where it is ready for user interaction. In addition, once it is ready, if I press the BB button, I see my registered application.

    I don't have it set to automatic start in .xml descriptior enforcement.

    I started this application on the HelloBlackBerry sample, here is my main method for the entry of the application:

    public static void main( String[] args ) {
            appSettings = AppSettings.fetch();
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            HelloBlackBerry theApp = new HelloBlackBerry();
            theApp.enterEventDispatcher();
            //openConnection();
    
        }
    
    
    

    As far as I know, this is the only entry point for the application.

    More code

        public HelloBlackBerry() {
            // Push a screen onto the UI stack for rendering.
            mainScreen = new ScreenHelloBlackBerry();
            pushScreen( mainScreen );
        }
    

    Here is the method of. my class AppSettings fetch()

        // Retrieves a copy of the effective properties set from storage.
        public static AppSettings fetch()
        {
            AppSettings savedSettings = (AppSettings) _store.getContents();
            return new AppSettings(savedSettings);
        }
    

    Some of this code that I wrote myself, the persistence store cause the launch of my car?

    I tried to reset the Simulator to the factory settings, no change.

    All applications initialized during the startup of the device and then closed shortly after?

    Part 2: Need advice for the implementation of functions of network in the application

    I need to implement some methods that will retrieve data from a web service, and I also need to send data to this service. What I've read, the ConnectionFactory is the way to go. I want my application to make a request when the application is open and can check on a set interval. I didn't know exactly how to go about adding another thread for networking, I understand that network connections should not be created on the thread main event, so I tried to do this:

    The constructor of my class that implements screen (ScreenHelloBlackBerry), I use the following to create a modal dialog box to prompt the user for a username, I also try networking wire in the same segment of spawning:

            public ScreenHelloBlackBerry(){...initialize fields and managers, add it all together...then near the end
    
    //This will open the confirm dialog when the application is launched
            UiApplication.getUiApplication().invokeLater(new Runnable() {
                  public void run() {
                      openConfirmDialog();
                    //start connection - Possibly broken
                      ConnectionThread ct = new ConnectionThread();
                      ct.start();
                  }
            });
    

    I don't know if it's somehow OK to do, but it seems to work for what I need. I want a user who launches the application at the prompt, and if a user switch applications, when they come back they wondered again (unless they close the app and reopen it).

    Here is my ConnectionThread:

    public class ConnectionThread extends Thread
    {
    
        public void run()
        {
    
              ConnectionFactory connFact = new ConnectionFactory();
              ConnectionDescriptor connDesc;
              connDesc = connFact.getConnection("http://www.google.com");
              if (connDesc != null)
              {
                  HttpConnection httpConn;
                  httpConn = (HttpConnection)connDesc.getConnection();
                  try
                  {
                      final int iResponseCode = httpConn.getResponseCode();
                      UiApplication.getUiApplication().invokeLater(new Runnable()
                      {
                          public void run()
                          {
                              Dialog.alert("Response code: " +
                                            Integer.toString(iResponseCode));
    
                          }
                       });
                      httpConn.close();
    
                   }
                   catch (IOException e)
                   {
                     System.err.println("Caught IOException: "
                          + e.getMessage());
                   }
              }
        }
    }
    

    At the moment it has basically unmodified code from a sample that I found, I'll be retooling to meet my needs whenever I can make it work. I HAD this work to the point where, after the closed user confirm this dialog, a few moments later a an alert dialog appears with the 302 response code. I don't know what changed, but now it doesn't work at all, and if I try to scroll with the debugger, I can't past the httpCon.getResponseCode (). I've seen some mistakes earlier on "no record of service was set up", and I also had once a timeout exception.

    I'm sure I'm doing this wrong, but at the same time as I said WAS working, and now it is not. If someone has done this far, thank you very much for your time and advice are much appreciated.

    Also, should I try to start the thread of the network of the UIApplication class instead of the screen? There is currently very little happening in the class that extends UIApplication, do I spend most of my business logic out of the class of the screen and in the UIApplication class?

    Thanks in advance!

    Hi all

    Just to conclude this topic for those who are interested, I found an excellent guide to the implementation of networks in applications of BB, click here for a link.

    About my application being started at the start of the simulator of the device, I found that on a device real this behavior is not complied with, and in addition, the behaviour seems to have stopped after uninstallation and reinstallation of my Simulator.

    See you soon,.

  • Correct location for the ADF - settings.xml?

    What is the correct location for the adf ADF - settings.xml in JDev 11 g applications file? Documentation conflicted says:

    (1) as by Frank & Lynn Oracle Fusion Developer Guide pg 92, it appears in the correct location for the ADF - settings.xml is < workspace >/.adf/META - INF.

    (2) according to the ADF Web Guide, it seems, it must be < workspace > / < project > / META-INF: http://download.oracle.com/docs/cd/E14571_01/web.1111/b31973/ap_config.htm#BABCBJAB

    Which is correct? With our thanks,

    DMI

    Chris,

    the recommendation to create the ADF - settings.xml in the project source META-INF directory solves the problem of two projects to be used in a single workspace. If the two projects use ADFc MDS got confused. Notes version in R1 mentioned as follows:

    If your J2EE ADF (EAR) application contains several modules web application (WAR files) and contains more than one ADF task flows, then you can get unexpected behavior due to the web application using another its flow XML file with the same name of task (the problem is more likely to occur with the adfc config.xml file because each web application has usually one). You can avoid this problem by defining a 'root web application' separate for each web application (WAR). Web application at most one cannot have any parameters of root web app. To set the "web app root" for an application, you must add an XML file called META-INF/adf - settings.xml to WAR under WEB-INF/classes with content as follows:

    +
    xmlns:WAP = "http://xmlns.oracle.com/adf/share/http/config" >
    ++
    ++
    +
    +
    ++

    The value of the rootName attribute can be any name that uniquely identifies the web application (war) within the overall application (ear).

    In JDeveloper, the new file can be added as follows:

    + 1. Expand the web application project in the browser Application.
    + 2. Right-click on "Sources of the Application", and then select the item 'new ' +.
    + 3. Select "XML Document" and click OK.
    + 4. Type "adf - settings.xml ' under the file name +.
    + 5. Click on the "Browse" button, select the source directory of the project, click the iconic button "Create a new subdirectory" at the top right, type "META-INF" directory name and click OK, then click Select.
    + 6. You should now have a directory and file name "adf - settings.xml ' name '/META-INF +.
    + 7. Click OK to create the new file.
    + 8. In the Source Editor, paste in the XML file above and put a value appropriate for the rootName attribute (this is known as the parameter 'root web application').
    + 9. Make sure that the deployment for the Web application profile includes the new file META-INF/adf - settings.xml under WEB - INF / classes.

    So, if your application has a single web project then this configuration as documented in the book is good to use. To avoid the problem described above (which is in response to bug 8395585) you set it in the project's source. Note that adding adf - setting.xml in the project was presented as a work-around. The bug is closed with a fixed rate per 11.1.1.2, which means that, since the PS2 there should be no need to store the ADF - settings.xml in the source of the project more.

    So long answer that leads to a simple answer: the book is good and the documentation lists always bypass it. However, I'll fill a bug against documentation and make report understand (do not have the time to check the issue being fixed)

    Frank

  • What is the best practice for the enumeration for the ADF?

    Dear all,

    What is the best practice for the enumeration for the ADF?

    I need to add the enumeration to my request. ex: sex, marital status.

    How to deliver? Declarative custom components or is there another way?

    Thank you.
    Angelique

    Check out this topic - '5.3 fill view object Rows with static data' in Guide of Dev
    http://download.Oracle.com/docs/CD/E17904_01/Web.1111/b31974/bcquerying.htm#CEGCGFCA

  • Advice for the real world test device

    I keep running into problems of developing applications of BB where my code works perfectly well on all simulators, but as soon as I do the direct product of dozens of reports to be "unable to connect" is from (or another bug) flood from a random set of devices (the last wave is of Tower owners on Sprint and of course the app works fine on the tower for the Sprint Simulator using the same operating system) I am not able to go out and buy a Blackberry for all models on the carrier, and the labor to do these tests is beyond what my company can manage anyway.

    I'm looking for is advice of some experienced developers.  What do you do to get around this?  How do you verify that your code will run on real devices?  When you get hit by a real single bug, how to solve it?

    Thank you

    ~ NN

    Agree with Simon.

    deviceAnywhere is one that comes to mind, there are at least another company that was in the penultimate a DevCon, but I don't remember his name.

    Each new customer has a new experience with networking and you slowly build your code to handle the case.  Have to say that we are lucky, because we mainly deal with businesses, so use BES connections for most.  And the United Kingdom, there are only 5 carriers, so it is easy to code a quick test and determine what APN settings to use for each.

    Debug object, a method I would recommend is to write your own journal and provide your users with an easy way to email it to you.  Indeed, offer to send when you know you have a problem.

  • Any advice for the creation of delicate design, must I spend DW CS6?

    I bought DW CS6 years previously and have not yet upgraded to CC, but will do so if it will help me.

    I am wanting to be able to create tailored Web sites. Here is the information of sites (a dozen pages in the site), no ecommerce.

    All I need is a header with banner (eventually the banner image); 3 columns (left side navigation, main body/content and contact on the right form); footer. Other than the banner image, it is unlikely that I will use all the other images.

    My skills are limited, but I can use essentially CS6 to change a model that has the same structure.

    I want to increase my skills and be able to create a sensitive site that works well on all devices.

    Where should I start?

    1 should I upgrade to DW CC? If so, do I need to learn the "bootstrap" framework that comes with it then?

    2. should I learn how to create such a site from scratch in DW, or should I continue to buy templates and edit them-if so is there any where I can buy good quality reactive DW models with a GI provision after?

    3. any other advice, for example online resources or books that could be useful with a responsive design and DW.

    Thank you!

    1. no need to upgrade. Unless you need the extras for your web development company, I would not pay for CC.

    2. the easiest way is to use a framework. No need of haven't purchased models, there are plenty of free to use Bootstrap models available.

    3. use the following to get started

  • How temporary disable the security for the ADF?

    Hi, OTN,.
    I have developed security policies in my ADF application. Now I want to disable temporary for development to accelerate.
    Development guide suggests only pass authentication ADF - I still need to enter my credentials each redeployment - or safely remove - I should not really remove all my development security.

    Is there a way to disable temporary real?

    Thank you.
    11.1.1.3 JDev

    Security is controlled by two attributes (authorizationEnforce and authenticationRequire) in the ADF - config.Xml. look at this tag in adf - config.xml:

          
    

    Set the false values and allows you to disable the authentication and authorization. Note that if you disable authentication you may still have problems with authentication due to security constraints defined in the web.xml file.

    A more standard approach is to keep security settings intact, but to use the role of ADF fail-safe "test-all." Configure the security of the ADF to use test-all role and grant it to all objects. This way developers will have access to all objects secured without giving any privileges explicitly.

    Dimitar

  • Solution of scheduling for the ADF

    I am building an ADF application and I want to have the ability to process some processes running longer such as reports of treatment by lots, ETL, imports and exports of batch processing. If people are familiar with the e-Business Suite I think of something as Manager of the competitor.

    I know I can develop something in comics, for example db programmer but I would like to put something in the ADF. Is there a solution for this?

    see you soon
    James

    James,
    There are solutions, i.e. the quartz or the WLS TimerManager. Both offer capabilities of Task Scheduler like cron (which means that you can and intervals or once jobs). I use quartz because we have developed or first planner under OAS and quartz looked like the best solution. I'vs played a bit with the TimerManager which is part of WLS (at least 10.3.x).
    There is a good small sample for the TimerManager of Edwin Biemont (http://biemond.blogspot.com/2009/09/job-scheduling-in-weblogic.html).

    A note of warning: If you use the Scheduler and the adf link layer and we need to create an application root module in a scheduled task, it breaks the link layer. I have a SR pending on this issue. The only solution I know is to keep the Planner in a different application without a user interface.

    Timo

  • I need some advice for the Satellite L630/03

    Hi all

    I just bought my first Toshiba L630/037 (http://www.mytoshiba.com.au/products/notebooks/satellite/l630/psk04a-037001/specifications#details) and I'm really excited that I'm waiting to load for hours first 2 or if, after perform you a unboxing conversion it!
    He looks bloody awesome and I can't wait to start using it!

    You have a few questions:
    1. when I received it, the sticker that keeps the top down was already torn (as in a person already open).
    The clerk said that everything is fine with it, so we opened it to check that the main seal for the laptop has not been broken and that the adapter and cable was there. Now that I'm home and I have everything out, I noticed that I have no CD.
    Is that suppose to be right? I'm a bit confused because the last laptop that I bought a few of the installation CD and the drivers that came with it. In addition, is there something else I should be aware of that should have been in the box?
    All I have is the power cord, power adapter, manual, portable with battery already in it.

    2. in the purchase, there are already standard warranty 1 year that comes with the laptop. I noticed on the Toshiba site, you can buy an extended warranty. Should I buy now? Or can I get, say 1 week before the end of year 1?

    If anyone has useful tips or advice that would be greatly appreciated!

    See you soon!

    > I took everything out, I noticed that I have no CD.
    Yes, that's right. No CD is delivered pre-installed Toshiba Software is on the HARD drive and you can create a clean recovery disk! Please see the operating manual!

    > Should I buy now? Or can I get, say 1 week before the end of year 1?
    Well, as far as I know you don t need to buy the extended warranty immediately after the laptop was purchased

    I found this info:
    > Q: When can I buy the extended warranty?
    > A: the extended warranty is eligible to purchase, during the period of warranty the laptop
    http://www.MyToshiba.com.au/support/warranty/extended/FAQ

  • Performance problem for the ADF calendar

    Hello

    We intend to apply the calendar adf for one of our customers. They will use the calendar as a planner. There will be at least 350-500 activities for a provider and a month.

    We are filtering of calendar data by selecting provider from the drop-down list box. However, execution of the view object takes about 4-5 seconds and activities appear 15 seconds. Total waiting time may be 20 seconds.

    How can I improve performance? Customer will use the calendar as a scheduler of tasks online. Therefore, it must be very fast.

    JDeveloper Version: 11.1.1.6.0

    Please note that all the components are bind to the backup of the attributes of bean whose calendar itself jsff layout.

    Steps for filtering:

    1 combo box action in backing bean:

        public void onResourceChange(ValueChangeEvent valueChangeEvent) {
            valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
            if (valueChangeEvent.getNewValue() != null) {
                if(valueChangeEvent.getNewValue() != valueChangeEvent.getOldValue()) {
                    applyFilter();
                }
            }
            else {
                removeFilter();
            }   
            
            RequestContext context = RequestContext.getCurrentInstance(); 
            context.addPartialTarget(getC1());
        }
    

    2 ApplyFilter and removeFilter in backing bean methods:

        private void applyFilter() {
            DCBindingContainer dcbindings = (DCBindingContainer)ADFUtils.getBindingContainer();
            XxntcCalendarAMImpl am = (XxntcCalendarAMImpl)dcbindings.getDataControl().getApplicationModule(); 
            DCIteratorBinding garageIterator = ADFUtils.findIterator("XxntcGarageInfoVO1Iterator");
            Row currentGarageRow = garageIterator.getCurrentRow();
            Number resourceId = (Number)currentGarageRow.getAttribute("ResourceId");
            am.applyCalendarFilter(resourceId);        
        }
        
        private void removeFilter() {
            DCBindingContainer dcbindings = (DCBindingContainer)ADFUtils.getBindingContainer();
            XxntcCalendarAMImpl am = (XxntcCalendarAMImpl)dcbindings.getDataControl().getApplicationModule();  
            am.removeFilter();
        }
    

    3. the application model Impl applyCalendarFilter removeFilter methods and

        public void applyCalendarFilter(Number resourceId) {
            XxntcServiceCalendarEOVOImpl calendarVo = (XxntcServiceCalendarEOVOImpl)getXxntcServiceCalendarEOVO1();
            System.out.println(new java.util.Date());
            ViewCriteria vc = calendarVo.createViewCriteria();
            vc.setName("fiterCalendar");
            ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
            vcRow.setAttribute("ResourceId", "= " + resourceId);
            vc.insertRow(vcRow);
            calendarVo.appendViewCriteria(vc);
            calendarVo.executeQuery();
            
            /*calendarVo.setWhereClause(null);
            calendarVo.setWhereClause("RESOURCE_ID = :pResourceId");
            calendarVo.defineNamedWhereClauseParam("pResourceId", null, null);
            calendarVo.setNamedWhereClauseParam("pResourceId",resourceId);         
            calendarVo.executeQuery();*/
            System.out.println(new java.util.Date());
        }
        
        public void removeFilter() {
            XxntcServiceCalendarEOVOImpl calendarVo = (XxntcServiceCalendarEOVOImpl)getXxntcServiceCalendarEOVO1();
            calendarVo.removeApplyViewCriteriaName("fiterCalendar");
            //calendarVo.removeNamedWhereClauseParam("pResourceId");
            calendarVo.executeQuery();
        }
    

    Kind regards

    Anil

    Hi all

    Problem is solved.

    There are three important points for the solution.

    1 oracle has proposed to use a separate iterator for suppliers. Here is the explanation of SR Oracle:

    @ The iterator binding of the calendar and the iterator binding of the

    @ suppliers are the same, there is no point at all. Normally, the

    @ the iterator binding calendar is for the events calendar and the provider

    @ the iterator is on another iterator which gives information about the provider, the

    @ provider in the timing of the event is the foreign key to the iterator of provider.

    @You need to create a table for the vendor and then set object entity / view

    @ the object on the table, an iterator will be generated. The provider_id in the

    @ event table should be the foreign key to the table of the provider and the

    @ providerDefinition must point to the iterator of the vo provider.

    @ You cannot use the same table to set the calendar events and providers,

    @ This just doesn't make sense.

    2. I am able to set the iterator range size if I use a separate iterator for suppliers. Otherwise, ADF throws it npe: ' java.lang.NullPointerException: ADFv: calendar activity Id and Vendor Id cannot be null. "

    3. I forgot to use parameters of connection (StartDayTime, EndDayTime and time zones) in my query where clause. Creation of a criteria like this where clause "((HrCalendarEvents.START_TIME > =: StartDayTime) AND (HrCalendarEvents.END_TIME)"<= :enddaytime="" )="" )="" "="" solves="" fetching="" all="" rows="" problem.="" now="" it="" fetches="" just="" current="" time="">

    Kind regards

    Anil

  • advice for the preloading and classes?

    Hi all on the forum.

    I did a class that is responsible for a Web site (fairly ordinary...), but because the entire site is generated as Childobjects and the code for the class, I was trying to make a preloader, but it won't work. Seems that the class load first, and then generates the entire site before loading the first image (where my charger is)...

    If the advice?

    use a preloader swf that loads your main swf.

  • Advice for the purchase of the license

    I have a question for the purchase of licenses as a freelance motion designer.

    I have a desktop computer and in the near future a laptop. With a single member, I could install the CC apps on both devices.
    But I probably have another office machine.

    Up to 3 computers.

    -The main machine in the Office

    -Laptop

    -A 2nd machine dekstop

    This 2nd machine will mainly serve as an extra for 3D machine makes rendered. Most of the time you don't need extra to make power for After Effects or Premiere projects, but if ever there is a big project where my main machine blowing steam because of all the hard work and I want to be able to make a video on the second machine. Do I need a full license for Creative Cloud must be able to go on this machine?

    Or could I (for example) install only Media Encoder on the 2nd machine and open a project of creation or After Effects with whom? Perhaps the first question should be: you can only install Media Encoder on a third computer?

    A single user/subscription license requires that the user not to use the subscription on a machine at any time - it is what you agree to limit yourself to when you accept the license agreement.  If you want to use the software of a subscription to two machines at the same time while you'd have to have two licenses/subscriptions.

  • Need advice for the graphic shape on the image display

    I would like to help plot a circle above an image that is displayed in the get in JLabel, the purpose is, when you click on the image, the image with a small circle apperas instead, we clicked. I used JLabel to display image in get by using imageLabel.setIcon (new ImageIcon("default.jpg"));

    I need to draw the circle/rectangle when I click on the image that I need to select the different points of the image by drawing rectangles circles above the image.
    If you understand my problem, please guide me for the same thing.

    Thank you

    Create your own class that extends JPanel, substitute the paintComponent() method to draw the background image, then go through a list of points where the user has clicked (you'll need to track clicks too) and draw circles it.
    Stick this Panel in your get the label place.

    That's how I'd do it (then again once, I'm not big on Swing these days).

  • Client requirements for the ADF

    The customer want to know the requirement of the client machine visit ADF application, such as processor, memory, browse the version, operating system.
    Application of SFM developed by Jedevloper version 11.1.1.3

    It's just the browser.
    Read this doc http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html#Browsers for more information.

    Timo

  • Eclipse has all the features for the ADF?

    Hello

    Our team is using 11.1.1.7, and the question has been raised whether it is possible to use eclipse (the version of oracle).  I have read this document, but it can appply for a newer version of Jdeveloper.

    JDeveloper + ADF vs Eclipse + ADF?

    The big question is whether they can use Jdeveloper to work which is to the 11.1.17 version.  The functionalities (assistants, etc.) is available in this version of the EPCO, which would correspond to the 11.1.1.7 version?  Otherwise, available in 11.1.1.7, which version includes ALL the features appear?

    If all the features are there, what version of EPCO we need to use it so that it works perfectly with our version of jdeveloper 11.1.1.7?

    Thank you in advance!

    Best,

    Stuart

    EPCO not tooling ADF in British Colombia, control of data REMAINS (it controls of WSDL and POJO data support).

    And they do not have tooling around security ADF and MDS - even if you could possibly set up without tools by manually changing the files.

    ADF Faces page edition also does not offer a Visual Editor but rather codes, properties, the approach of the structure editor.

Maybe you are looking for

  • Broken Fan on the heatsink for Pavilion e9110t

    Editing for this heater broke causing the CPU overheating and close. The part # for the fan of 1322-006D0H2 but it seems his is no longer recognized. Someone can suggest a suitable replacement or can any fan heatsink 3inch work on this? Thank you

  • How can I get the artists out of my section "Podcasts"?

    I'm trying to transfer my files to my new iTunes computer. iTunes originally had the music of these artists 'saved the episodes', when I removed them, they were removed from this article, but stayed in the section "feed". I can't remove them from the

  • Event event Menu and the links control

    I would like to have a menu item that performs the same function as a control ('Save' or 'Print') event. Because there is only one general event for the "selection menu", it seems that I can't add an event in a specific case. For example Save data: B

  • Updates to window Vista cause my computer down

    Whenever my windows vista updates my computer crashes. I tried to use the restore point, and still it comes back and crashes. Here's what the problem and the report says: Signature of the problemProblem event name: BlueScreenThe system version: 6.0.6

  • Can't play videos from YouTube on Surface?

    I may be wrong, but I was under the impression that IE10 has integrated Adobe Flash Player. Still no YouTube videos won't play?