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 Advanced Level

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 and then migrating the app to 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 

 Solution is as below.

©All Rights Reserved
Hits: 3280

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


Caused by: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(
at weblogic.utils.classloaders.GenericClassLoader.findClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at weblogic.utils.classloaders.GenericClassLoader.loadClass(
at java.lang.ClassLoader.defineClass1(Native Method)
Hits: 4707

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: 6076

Seldom you expose a webservice operation without a security attached to it..Let us see how we can attach the simple username token based authentication to the webservice we had created in our previous posts.

Checkout the code from below repository if you haven’t completed the previous exercises.



© Creative Commons Attribution Assurance 3.0 License
Hits: 2641

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: 5476

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: 5495