Next ADF Training
Join Demo Session
Toggle Bar
  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.
  • Bloggers
    Bloggers Search for your favorite blogger from this site.
  • Team Blogs
    Team Blogs Find your favorite team blogs here.
  • Archives
    Archives Contains a list of blog posts that were created previously.
  • Login
    Login Login form
Subscribe to this list via RSS Blog posts tagged in Oracle ADF Tutorials
Posted by on in JDeveloper
Work around for bugs in Jdeveloper 12.2.1.3.0

Below are the bugs which we found while working with JDeveloper 12.2.1.3.0 and their corresponding work arounds

©All Rights Reserved
Hits: 94
0
Posted by on in ADF UI

In JDeveloper 12c there is a feature called add custom operator in view criteria, default operators are commonly using in many places, in some cases we need to have additional operators.

In sql developer we can use In clause parameter directly which jdeveloper doesn’t have by default.

Hits: 95
0
Posted by on in ADF Mobile

Recently I had migrated the MAF app for one of our client to IOS 9.2 using MAF 2.2.1 and found the issue like below.

 

The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

 

Below are the steps to fix the issue

Hits: 2896
0
Posted by on in General

The main complaint against the JDeveloper is that it is very slow..Yes, of course you can increase the heapsize and use 64 bit jdk to speed up the slow jdeveloper.

 

But still the design view for the page and page fragment is very slow.Sometimes it hangs and creates lot of frustration among the ADF developers.Here is the way you can set the default view as source view for the page and page fragment.

The navigations were slightly confusing in 12.1.3 JDeveloper..Here is the screenshot for the same.

b2ap3_thumbnail_defaulteditor.png

©All Rights Reserved
Hits: 3311
0

I had a requirement to move a bunch of personalization from one instance to another in my current project.I did lot of googling as well as raised an SR with oracle to find the best way to move the personalizations from one instance to another..And then I gave up on it for sometime and later while researching on a different topic I found out the best way to move adf saved queries and user personalization.

It is as simple as export from the source instance and import into the destination MDS using the EM Console.Let me show the steps here..

©All Rights Reserved
Hits: 5706
0

I got really excited to hear the news that Oracle JDeveloper 12c released finally.I tried to install the 12c jdeveloper to get my hands dirty but couldn’t even install it :(.

 On windows, installer quit abruptly without any error message and on MAC, what the heck happened I don’t even know.Here is the solution to install them successfully on MAC and Windows.

©All Rights Reserved
Hits: 3276
0

In the last article, I had taken you through the steps required to source control your Oracle ADF apps with the help of code.adfapps.com repository and subversion.Let me show you how to checkout an existing oracle adf project from the code.adfapps.com subversion repository.

High level steps:

1) Connect to Subversion repository using the credentials

2) Open up the Versioning Navigator in the JDeveloper

3) Open up your repository and go to (Trunk or Branches or Tags)

4) Checkout the appropriate project folder by right click on the folder and say checkout

Below are the steps in detail:

©All Rights Reserved
Hits: 4322
0

In the last article, we had seen how to deploy Oracle ADF app to the java cloud from jdeveloper.In this article, let us create some objects in model project with the Department and Employees table from oracle XE database to deploy those tables to the database cloud.Once you migrate the required tables from the XE database to Database cloud, we can deploy our ADF app to javacloud.

Here are the high level steps.

1) Develop your ADF app locally connecting to the Oracle XE database

2) Migrate the referred tables to the associated database cloud

3) Modify the Root AM’s datasource to database.

4) Deploy the ADF app to the Java Cloud.

©All Rights Reserved
Hits: 2719
0

It is a very rare sight that a project team with more than 2 developers doesn’t have any source control in place while working on an Oracle ADF development project.If you don’t have source control for Oracle ADF development, then your project needs a better project manager and architect :).

I had created a small project to demonstrate source control with Oracle ADF jdeveloper’s native support for subversion(SVN).We will use the code.adfapps.com for our subversion project hosting.

Below are the high level steps..

1) Create a manual connection to subversion repository from Jdeveloper

2) Click on the Application menu and say version application.

3) Select the repository connection and choose whether to version control to trunk,tags or branch(Put it in Trunk for the first time)

4) That’s it.. We are done with source control..No, there are lot of challenges still.We will cover them one by one in the 5 part series.

For now, let us look at the above steps in detail.

©All Rights Reserved
Hits: 4926
0

Oracle public cloud simplifies the process of deploying your application and keep it running without much of a headache specially if you don’t have full fledged IT team to maintain the application.You need to register for Oracle Cloud Java Trial account with the below url.

https://cloud.oracle.com/mycloud/f?p=service:java:0:::::

Once the trial activation is done, you will receive username/password to login to identity console(Probably in your junk email :) )

Let us go over the steps in detail.

©All Rights Reserved
Hits: 2451
0

Posted by on in ADF UI

This is a very interesting issue which totally got me stumped as the application was working perfectly fine in 11.1.1.6 and then migrating the app to 11.1.2.3 resulted in the below error while uploading the file to a blob column.

Cannot create an object of 
type:oracle.jbo.domain.BlobDomain from 
type:weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB with 
value:weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB@114

 Solution is as below.

©All Rights Reserved
Hits: 2979
0

In the last part of this series, I had explained you about how to checkout an Oracle ADF project from subversion and run the page from JDeveloper.In this part, I will explain you how to make changes to the checkout project and commit changes to the subversion repository using the pending changes tab in JDeveloper.

High Level steps:

1) Make a change to the jsf page

2) Open up the pending changes tab

3) Select the changed files and click on commit button

4) Provide a commit message to commit the changes to repository.

Above steps in detail:

©All Rights Reserved
Hits: 3407
0

This is the feature you must have been used to if you had used forms developer and I missed this with the previous version of jdeveloper, specially during the OAF development days.But here is the relief in the 11g version of JDeveloper.I noticed this option while opening the jdeveloper 11g version 11.1.2.3 and came as a tip in jdeveloper.

Lets see how we can use this option.

©All Rights Reserved
Hits: 2235
0

I had faced an issue with resource bundle variable resolver library after upgrading adf from 11.1.1.6 to 11.1.2.3.

Error:

Caused by: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at java.lang.ClassLoader.defineClass1(Native Method)
Hits: 3994
0

Those who are from OAF background would definitely appreciate a simple way to invoke a method in the AM from managed bean by passing parameters and getting the return value back.I wrote a reusable method called invokeMethod to call a method in AM and packaged it as CholaADFUtils..I had reused some method from ADFUtils and JSFUtils(Of course I had given proper credits to the original authors :) )

For this article, let me kill 2 birds with one stone..No..I don’t want to kill birds virtually too :).Let me hit 2 mangos with one stone..I will show you how to call a plsql procedure in ADF from AM and also use the invokeMethod from managed bean to call the same method.

Hits: 5602
0

Oracle ADF has helped us to develop a webservice with ADF BC pretty fast by using the service interface of the App Module.In the last version of this webservice, we just created an EO,VO and exposed the AM methods as a webservice.What if you need a custom functionality written in a custom method in the AM to be exposed as a webservice? We have an option in the service interface of the AM to expose the custom methods in AM as a webservice method too.

Lets start by creating the custom method in the AM.

© Creative Commons Attribution Assurance 3.0 License
Hits: 5208
0

In the last post, I had walked you through the creation of simple ADF webservice which is based on the Departments table in XE database.There was no validation on the create or update method of the webservice in the previous version.There is a lot of chance that the caller of this webservice may send some junk data into your system through the webservice which doesn’t handle the validations properly.I have a lot of experience with my clients on this aspect :).

Also, the caller won’t know the ids in our system and most probably they will send the names(For Ex: Location id will not be known to the callers but they will know the Location Name).Instead of writing code to handle this kind of scenario, you can simply handle it by attaching the lov to the location id attribute.But this is tricky because locationid attribute is bigdecimal but how the caller will send the location name which is a string ??

Let me show the trick :)

© Creative Commons Attribution Assurance 3.0 License.
Hits: 5178
0

Posted by on in OA Framework
Hits: 2469
0
Posted by on in ADF Webservices

b2ap3_thumbnail_2013-03-07_21-52-33.png

Oracle ADF has a cool feature for building SOAP based webservices using ADF Business Components.I will take you through series of blog entries to build a simple webservices with ADF BC, adding validation using lovs, adding security to the web services etc.

I will be using Oracle XE for the database access and will post the workspace at code.adfapps.com website for you to checkout directly from your jdeveloper.

© Creative Commons Attribution Assurance 3.0 License.
Hits: 3210
0

Login