Dynamic application with ADF

Lets say, that we have a very standardized application building. So much standardized, that all of the application rules and definitions could be kept in some database tables. Application would then be generated on-line (ex. when the servlet container initializes - NO development cycle code generator) and then cached until developers want it refreshed.
I know that this is not performance efficient way of solving things, but think of how efficient manageability would be.
As far as I know HTML-DB is completely database-rule generated web application. No code generation is needed. My question is, is there a way to utilize ADF framework in such manner? Steve talked about dynamic views in his blogs. But what about complete Entity-View-ApplicationModule module dynamic generation? What about dynamic bindings and web or even JClient application? BC4J components tester is a dynamic JClient application.
Before I dig myself into ADF source and find out if this is possible I would appreciate an opinion on this...
Message was edited by:
[email protected]

You can't replace the integrated WebLogic Server with another server.
What you can do is create a connection to a remote tomcat server.
Deploy your application directly from inside JDeveloper to that server.
Use remote debug to debug the application on the remote server.
Potentially add a couple of icon to the toolbar to start stop the remote server using the tools->external tools command line.

Similar Messages

  • Labs of Build Application with ADF tutorial

    Hello, I am beginner of jdeveloper adf. I am looking a sample of book Oracle Fusion Middleware 11g: Build Application with ADF. Name of sample is lab. Inside a lab is Storefront-CompleteApp, Storefront-03, Storefront-04,... But I don't see anything on google. Where is the sample? Could you post the link to download. Thank you

    Hi,
    Please check.
    Fusion Demo
    http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html
    ADF Tutorials
    http://docs.oracle.com/cd/E18941_01/tutorials/toc.htm
    Shay's Blog
    https://blogs.oracle.com/shay/entry/how_do_i_start_learning_oracle_adf_and_jdeveloper
    Thanks,
    Jit

  • [ANN] New Course - Oracle JDeveloper 10g: Build Applications with ADF

    Register for this Oracle University course online at:
    http://education.oracle.com/web_prod-plq-dad/plsql/show_desc.redirect?dc=D16975GC10
    Upcoming course at VA, Reston next week.

    Yes more location will follow.
    To get the course near you, you might want to ask for it at:
    http://www.oracle.com/go/?&Src=2400827&Act=4
    This way Oracle University will know where there is demand for the course.

  • Reuse Model Project - Problems in the integration of 2 projects with ADF

    Hi there.
    We have in production one application with ADF and UIX of average composed dimension for 9 placed services inside of one root to share cache. At this moment we are to develop another application, much more simple, to join with the first one. The problem that we have, is the synchronization of caches. Therefore for example, let us assume in the first application we insert a record in the table of employees, in the second application we do not obtain to see this employe while we do it execute query.
    Anyone can explain to us some way of different applications share cache of model in some way, or to make synchronization of caches between them, or other soluction ...
    Thanks in advance.
    http://www.meitner.pt

    Sounds pretty difficult, the whole cache thing has been brought up so many times. You havfe this problem even when one user tries to view the changes of another user. The short answer is you just have to be smart about when to clear cache/reexecute query. If your page has a common entry point do it there, otherwise simply put a refresh button on the page that will do it. I think people get too wound up on caches, unless your app is under some serious load, clearing the cache quite often is not going to hurt anything, after all you do have the database doing caching on it's end too.

  • OC4J 11 with ADF Runtime does not start.

    When starting OC4J 11 I get this error.
    Error initializing server: Shared library "oracle.fabric.runtime" could not be found.
    Fatal error: server exiting
    I downloaded OC4J 11 (11.1.1.0.0) Standalone.
    Then I was running "ADF Runtime Installer" in JDeveloper 11 Preview 2 (11.1.1.0.0).
    In this version the ADF Business Components is 11.1.1.46.84
    Oracle IDE is 11.1.1.0.20.46.84
    Then I got the Shared library "oracle.fabric.runtime" could not be found - error.
    Then I tried to do it manually and
    I extracted oc4j_11110_preview
    Then I copied the BC4J from JDeveloper to OC4J and added the library in application.xml.
    <library path="../../../BC4J/lib" />
    <library path="../lib" />
    Then I started OC4J with no problem.
    I downloaded the “StoreFront”-project that from Oracle.
    I created a EAR-file in JDev from the StoreFrontModule.
    Then I deploy it to the OC4J
    java -jar admin_client.jar deployer:oc4j:localhost oc4jadmin password -deploy -file E:\Projekt\FusionStoreFrontDemo\StoreFrontModule\StorefrontUI\deploy\FOD-webapp.ear -deploymentName FOD -bindAllWebApps
    One warning: VARNING: JSF1033: Resource injection is DISABLED
    Then when I Tried to go to the webb-app at address (http://localhost:8888/StoreFront/ ) I got this error
    ERROR MDS-01331 Failed loading document "null".
    Im working with Windows XP for both JDeveloper and OC4J.
    How do I get any application with ADF to work in OC4J??
    Help me!!
    /Tobbe

    Thats funny. I use a start-script where I added
    SET JVM_ARGS=-XX:MaxPermSize=256m
    But that was never used by the OC4J command.
    Anyway. Now it works much better. Thanks. But sadly I got to next error but I might put in a new Thread.
    2007-12-20 16:38:56.687 NOTIFICATION Application Deployer for Fiskdata2 COMPLETES. Operation time: 10969 msecs
    2007-12-20 16:39:42.890 NOTIFICATION ADFC-60000 ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
    2007-12-20 16:39:42.906 NOTIFICATION ADFC-50009 ADFc: Controller caching of MDS metadata resources ENABLED.
    2007-12-20 16:39:50.531 WARNING J2EE HTTP-00016 Header modification request was rejected. Because the setter method was
    called from included servlet. It is restricted by SRV.8.3 of Servlet Specification 2.4. : Fiskdata2
    2007-12-20 16:39:53.546 WARNING J2EE HTTP-00016 Header modification request was rejected. Because the setter method was
    called from included servlet. It is restricted by SRV.8.3 of Servlet Specification 2.4. : Fiskdata2
    Thanks for the help.

  • Updatable View with ADF ExecuteWithParams

    Ok, I have spent some time and effort, done searches around the forums but I can't find what I'm looking for; it's time to post here.
    I'm following the "Build an End-to-End Web Application with ADF Business Components and JavaServer Faces" tutorial. I run the search page on that tutorial, setting -Djbo.debugoutput=console flag in the run/debug Launch Settings sections so that I can see more into what the application is doing. When you change the bind variables, the application/form's listener is firing an action to bind the variables again and rerun the sql query that's defined in the SearchOrders ViewObject.
    I decided to write an app from scratch to apply the concepts that I learned through the tutorial. I create a search form, basically following the same steps from the tutorial. My form gets an initial recordset based on the view query, but changing any of the bind variables values will NOT cause the app to rerun the query; filtering is done on the available records.
    I've looked and looked, but I can't find where do I make my Search form rerun the sql query after the new form bind variables have been bound.
    Please help! Thx!

    More on this issue. I created a very simple schema (master and detail table with only two fields on each table; the key and description, and a foreign key field on the detail table with a referential integrity constraint set in Oracle). The I created a mini-application following the same steps (as far as I know) as on my previous application that is having problems.
    Now the master/detail search form works as expected. Is there a bug or patch/update I should be looking to apply to JDev or OC4J? I'll need to step away from the problem because I can't see the solution.
    Thanks!

  • Cann't show button's chinese text with adf faces in linux

    I develop an application with adf, deployed in weblogic/linux, all chinese can work well except the commandButton's chinese text can't be dispalyed well.
    The adf generate the button image in adf/images/cache/en/ directory, i suppose it should be in adf/images/cache/zhs/
    directory, Any suggestion? Thanks!!!

    Yes, I've added
    <context-param>
    <param-name>oracle.adf.view.faces.CLIENT_STATE_MAX_TOKENS</param-name>
    <param-value>100</param-value>
    </context-param>
    but had no luck. There are a couple things I can add since my last post:
    1) Other folks reported int he forum that their problem was that after opening a dialog several times, the returnListener method wasn't getting fired. This is not the issue for me. My returnListener method gets fired every time I close the dialog.
    2) I had another developer run the same 10.1.3.4 version of the app on her machine in both IE 6 and 7, and we could not recreate this error. For right now, it seems that this is only happening on my machine.
    So... until this comes up on someone else's machine or in our production environment (once these changes are deployed), I'll assume there is something hosed up in my environment that's causing this. What I find weird is that when I run this code in 11g, it works fine even on my machine, which makes me think that this is more of a framework thing than a browser thing. But, if that's the case, why wouldn't it behave the same way on someone else's machine? I'll consider this issue closed for now... But, if you have any thoughts/ideas, I'd be interested in hearing them. Thanks for the help.

  • News ticker with ADF

    Hi all,
    Is there any example "news ticker ( or text scroller etc.)" application with ADF ?
    Thanks ..

    You should be able to do this with javascript, by making sure the overflow is hidden and changing the left margin to negative numbers up until the limit of the width of the text div. There is probably a library to do this. Luckily the marquee did not catch on, moving text is strenuous on the eyes to track and read.

  • Browser back button not working with ADF Application integrated with SSO

    I have integrated an adf application with Oracle SSO Authentication. Application is running fine.
    Though, while navigating between pages, using browser back button , it is not redirecting the url properly
    Should Redirect it to : http://<hostname>:<port>/<contex-root>/<servlet>/<id>
    Presently Redirecting it to :http://<hostname>:<port>/<contex-root>
    As, directory browsing is not allowed, there is Error 403--Forbidden .
    Can anybody tell what changes needs to be made to make browser back button work.

    In some of the documentation I have read, they have mentioned that using the back button in a browser doesn't work too well with any JSF type of application (not just ADF and Jdeveloper apps).
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/web_form.htm#CFHHJGJH
    Instead, they suggest using buttons on the form.
    There is a video on using navigation between forms that may be of value: http://www.youtube.com/watch?v=bsPtmRID5XI&feature=plcp
    Stuart
    Edited by: Stuart Fleming on Sep 11, 2012 5:30 AM

  • Can I use Same ADF application with SQL server 2008 as well as Oracle 11g?

    Hi ,
    I have created a application in ADF(Using J-Developer). I used SQL server 2008 as Database Provider. I have same Database in Oracle 11g. I want to connect my appliction to Oracle 11g database. I changed connection and connected to Oracle. But, when I tried to save or delete any data from front end, it gave error. Any solution on this?
    Thanks

    Hi,
    I have created Entity object and View object for every page in my application. That objects created from sql server database. Application is working fine with sql server. But when connected with Oracle 11g. It is giving following errors:
    On clicking search control it gives: ORA 00923 From keyword not found where expected.
    On searching with perticular field it gives: ORA-01722: Invalid Number.
    On Clicking save buttonit gives: ORA-00933: SQL command not properly ended.
    These are error messages from IntegratedWebLogicServer-Log:
    java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <QueryCollection> <buildResultSet> [3929] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3947] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3948] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3949] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3950] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3951] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3952] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3953] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3954] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    java.lang.NullPointerException

  • Packaging ADF application with Libraries

    Hi Experts,
    I was exploring on packaging/ bundling an ADF application with all required libraries, so that this application can be deployed on any J2EE server.
    I have gone through another thread on similar topic - Error while deploying ADF application to a standalone weblogic server
    Above thread says that installation of run-time libraries are must. But I want to dig little deeper into the reasoning.
    What are libraries that can't be added into Application WAR file? (Normally J2EE developed application can be bundled and deployed on any of these servers (Weblogic/ tomcat/websphere)).
    Is it possible to bundle ADF application with all libraries and then deploy it to Websphere server directly (without installing 3rd party libraries)?
    Any help on this is appreciated.
    Thanks,
    Randhir

    Timo / Frank / Shay,
    Thanks for your help.
    Websphere server is being used by other applications. So the intention of bundling libs was to check ADF application funcationality on Websphere server without installing 3rd party ADF libraries (installation may conflict other libraries and some application can stop working).
    I gave a try on bundling all libraries with ADF application, but still I can see some error messages about missing libraries.
    What is your suggestion on installing 3rd party libs on Websphere server? Will this impact any deployed application?
    Thanks,
    Randhir

  • BPM Tasklist Integration with ADF Application

    Hi Experts,
    We are using Jdeveloper 11.1.1.7 in our project and need to integrate with Oracle BPM 11g. We basically need to see the BPM task list as well as initiate a new task from ADF Application.
    I have already searched the blogs and internet about the same. Below are some of them along with andrejus blogs.
    Con-Fusion, Bugs, Facts & Workarounds: ADF-BPM Integration: Custom Worklist.
    http://docs.oracle.com/cd/E23943_01/user.1111/e15175/bpmug_ws_taskflows.htm#BPMUG20812
    What I am looking for is step by step process including the things which needs to be done on Weblogic and domain side to integrate task list with adf application.
    Thanks

    It seems all of the instructions are there on your second link.  When it comes to doing the weblogic portions there are links from there to another guide.  I found the following two other links but your second link looks the closest to what I remember from an internal document that had those same steps.
    https://blogs.oracle.com/webcenterportal/entry/oracle_bpm_suite_oracle_webcenter
    http://andrejusb.blogspot.com/2013/10/integrating-custom-bpm-worklist-into.html

  • Oracle ADF application with Teradata as Database

    JDeveloper PS5.
    Is it possible to integrate Oracle ADF application with Teradata as Database?
    If yes, can you please provide some information with respect to the same?
    Thanks,
    Navaneeth

    Does teradata have a JDBC driver ? and can it understand SQL92 falvor SQL ?
    If yes, then maybe you can do ADF on it.
    Take a look at this :
    http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
    A bunch of ADF features will not be available, primary key generation will be a bit sketchy(all keys for all tables will come from a single sequence of numbers) and you'll have to implement some stuff like the persistence collection manager.
    The one thing that doc does not mention is that you also have to make sure your adf-config.xml is set with the correct 'jbo.SQLBuilder' property (SQL92) in the <amconfig-overrrides> section.
    Happy hacking !

  • Oracle 10g Lite with ADF/BC4J Application(Offline access in Mobile )

    Hi All,
    We have the following requirement from one of our client.
    Customer Company has R12 Apps instance(which is having 10g Database APPSDB). The users will come in the morning
    and connect to the System(NEWSYSTEM) to download their daily worksheet(resides in APPSDB) to their Mobile Devices
    (Windows XP - http://www.keenzo.com/zoom.asp?zoom=3830134) and then disconnect from the system. The download of data
    should start after login into their Mobile Device Custom Application So that only their worksheet will be downloaded
    to their Mobile Device DB.
    Then they will goto their fields and review their daily worksheet in the Mobile Device application(NEW APPLICATION)
    in offline mode. And update in the application with their findings, which should be stored in the Mobile Device database(MOBILEDB).
    In the evening the uses will come and connect to the system(NEWSYSTEM) and login into their Mobile Application and
    start the upload process, then the updated data from their Mobile Database will be uploaded into APPSDB via the NEWSYSTEM.
    I checked the links, http://www.oracle.com/technology/products/lite/index.html and http://lite.us.oracle.com and I have
    got some understanding about Oracle 10g Lite. For the above requirement we are proposing the NEWSYSTEM as Oracle 10g Lite Server
    and the NEW APPLICATION as ADF/BC4J which can run in their Mobile Devices(work offline and then sync with DB).
    I have the following questions.
    1) The above proposing system is feasible?
    2) Can we develop the Mobile Application using ADF/BC4J and using that we would like to
    control the sync process from our custom application.(so that only their worksheet will come to their Mobile Device DB)
    3) If I want to have the above system,
    a) I should have Oracle 10g Lite server installed(im Unix or Windows)
    b) I should have Oracle 10g Lite client installed in a Windows PC/Laptop
    c) To get my custom application in My Mobile Device, first I have to deploy the application
    in Oracle 10g server using Oracle Mobile Server. Then I have to connect my Mobile Device to the Oracle 10g Lite server,
    and deploy the application in my Mobile Device using Oracle Mobile Manager.
    4) I would like to do a POC before start the project.
    What are all the installations I have to do in my Laptop.(Consider I am installing Oracle 10g Lite server/client, Mobile Manager in my Laptop)
    I am new to Oracle 10g Lite, correct me if any of my understanding is wrong.
    If you have any comments in the approach please add it.
    Thanks in advance.
    With Regards,
    Kali.

    1) The above proposing system is feasible?
    perfecly feasible, and actually a reasonably standard use of oracle lite
    2) Can we develop the Mobile Application using ADF/BC4J and using that we would like to
    control the sync process from our custom application.(so that only their worksheet will come to their Mobile Device DB)
    Actually two different questions here. The application code that runs on the client device can be written in any thing that will run on that type of device, and is capable of using the APIs to connect to the local database, and the other functionality like synchronisation. From the forum there look to be VB, C, java users out there (an i even believe if you wanted to, you could use forms). Main decision regarding the Platform for the application code development tends to be whatever you have the skills in.
    In terms of the sync process only downloading a particular users worksheet, this would be defined when you define the snapshots of the database tables you want to download, rather than the sync login process itself.
    For example - you have a table WORKSHEETS on the server that you want to download, it has a column EMP_NO which is the employee identifier. You would define the selection for the snapshot as
    select * from WORKSHEETS where EMP_NO=:emp_no (note the bind variable)
    when you then add users to the oracle lite application (actually the database), then you will have a parameter called EMP_NO to define with the employee number for that particular user, and this will be used automatically as the bind variable in the download.
    NOTE subsetting in this way does not need to be direct, for example things like
    select * from TASKS where id in (select task_id from user_tasks where emp_no=:emp_no) is perfectly valid
    NOTE when reading the forum and documentation, be careful of the word application. There are actually two different things to be developed, both normally called 'application'
    Within oracle lite you create an application with publication items, scripts, sequences etc. and then subscribe your users to this application. The application in this context is actually the database and synchronisation management ONLY (you can include files and code for download)
    The second application is your runtime code that has a user interface, functionality, processing and validation. This is written in some development platform, and accesses the database created above for select, insert, update etc.
    3) If I want to have the above system,
    a) I should have Oracle 10g Lite server installed(im Unix or Windows)
    YES this goes on the app server and installs a repository schema MOBILEADMIN within your database
    b) I should have Oracle 10g Lite client installed in a Windows PC/Laptop
    YES - once the server is set up, this is downloaded and set up by accessing the <server url>/webtogo/setup
    c) To get my custom application in My Mobile Device, first I have to deploy the application in Oracle 10g server using Oracle Mobile Server. Then I have to connect my Mobile Device to the Oracle 10g Lite server,
    and deploy the application in my Mobile Device using Oracle Mobile Manager.
    steps in outline are
    1) install server
    2) develop the oracle lite application (ie: database) and publish this to the mobile server (can use the development kit or java APIs for these two steps
    3) add a user with the relevant subsetting parameters
    4) set up oracle lite win32 client on the laptop from the server download
    5) synchronise using the msync utility on the client to create the databases and odbc entries
    6) develop your application code using the client database
    7) during development, then changes to database structure would be via changes and re-publish of the oracle lite application, followed by a sync to update the client database
    8) once all development is complete, the runtime application code can be bundled up into the oracle lite application if you want, and then the initial sync for live users will download the database and application code.
    4) I would like to do a POC before start the project.
    What are all the installations I have to do in my Laptop.(Consider I am installing Oracle 10g Lite server/client, Mobile Manager in my Laptop)
    You can set up a standalone server on the laptop, but better to do this on a development app server so you can use the main server development database as the data souce for the snapshot definitions (pretty easy install). there are conflicts if you try and put the oracle lite client and the mobile development kit on the same machine, but if you are familiar with java, the API development is fairly straightforward to use (i have developed applications in this, and i know only the basics of java) you do not need the MDK
    Basic for a POC i would say is to
    1) set up mobile server on development
    2) define a simple oracle ite application on two server tables. one has select * from table, and the other has select * from table where .... including bind variable. at this stage use complete refresh as the mode for simplicity
    3) publish the application, create user and define the subsetting variable
    4) set up mobile client and synchronise user. use the msql utility to interrogate the database and check the content, and do some updates 9standards SQL syntax)
    5) create simple appliaction code to conect to and read the database on the client
    6) do a sync after the updates above and check they appear in the server
    The above should be reasonably quick and proves
    a) ability to define the data you want to be sent to the users
    b) ability to create an app to manage the database running on the client device in you preferred software platform
    c) data download and upload
    after this basic POC, you can extend into defining fast refreshes to improve the efficiency of the sync process, managing the MGP process, developing a more comprehensive database and application etc. If you have complex joins between server table, you may also want to look at creating views to denormalise data and use these as the basis for the snapshots

  • Start and ADF Application with a non-View Task

    I would like my application to start with a non-View task from within Unbounded Task Flow.
    For example, I would like a single "Task Flow Call" in the Unbounded Task Flow which will call the first Bounded Task Flow. The first BTF will expose the main application page. The main application page will contain a dynamic region to handle all other bounded task flows.
    Is there a better task type to use than the Task Flow Call?
    Does the first task in an unbounded task flow need to be a view task?
    If so, is possible to simply use this page to redirect to a non-view task (such as a Task Flow Call)?
    Any ideas on the best approach for this? The point is that I do not want to start the application with a view task.
    Thanks,
    Vince

    Hi,
    you can't start with a non-view acticvity in an unbounded task flow. In your case I suggest to use a bounded task flow that you enable for browser access (property setting) and have it using JSPX pages. You don't need to start with a view in the unbounded task flow to achieve what you want
    Frank

Maybe you are looking for

  • No Microphone (!?) Any Recommendation?

    Hello all. My sister was using her Mac mini, and she was all excited when she used Skype to talk to her friend in England, only to realise there is no Mic on the Mac mini... So what kind of mic can we get for the mini? I know one way is the get iSigh

  • Query editing in Management Studio

    I've accidentally done something to my install of Management Studio that is making query editing very difficult.  I must have used a weird key combination to enable some feature that is now opening an Intellisense like window with suggested keywords

  • Safari pop-up EXCEPTION list

    I bet I am not the only on who wants an "exception list" to allow pop-ups. The current solution is "all or nothing". I am aware this is for security reasons but some radio stations for instance when accessed via tunein (which is my preference) requir

  • Use custom query script webi

    Hello, I have created an SQL query to MS SQL Server. I want this query to run for my results at webi reports. When I copy this query, I validate it without errors, but afer saving it, the webi losses it and has the query created by the tool. How can

  • How to create an IdM session

    I am writing a standalone Java program to login to IdM, then export some objects. However I fail to create a user session. Here is my code and the error I got. String host = "http://localhost:8181/idm"; URL localurl = new URL (host); String User = "m