Oracle Forms to ADF & JET Migration
Free Estimation
Toggle Bar

How to use subversion with jdeveloper for Oracle ADF – Part 2

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:

Copyright

© All Rights Reserved

Continue reading
8580 Hits
0 Comments

How to use subversion with jdeveloper for Oracle ADF development Part 1

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.

Copyright

© All Rights Reserved

Continue reading
10364 Hits
0 Comments

How to use subversion with jdeveloper for Oracle ADF – Part 3

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:

Copyright

© All Rights Reserved

Continue reading
5884 Hits
0 Comments

How to expose custom AM method as a webservice in Oracle ADF Part 3

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.

Copyright

© Creative Commons Attribution Assurance 3.0 License

Continue reading
9152 Hits
0 Comments

How to add lov validation to oracle ADF BC webservice Part 2

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

Copyright

© Creative Commons Attribution Assurance 3.0 License.

Continue reading
8315 Hits
0 Comments

How to notify the user of uncommited changes in Oracle ADF page

b2ap3_thumbnail_2013-03-05_21-08-25.png

There is a huge form user has filled up and suddenly by mistake she clicked on another button in the page  which took her to another page.All her changes are gone..This will be a typical scenario which could have been handled in the development stage, if the team knows the best practices around the web page development.Now you know the use case and lets see how we can implement the solution in Oracle ADF.

 

Copyright

© Creative Commons Attribution Assurance 3.0 License.

Continue reading
4088 Hits
0 Comments
Featured

How to enforce package naming standards and object naming standard for ADF Business Components

It is indeed a pain to work in an Oracle ADF project where there are multiple developers and everyone names their objects according to their wish.We had the same kind of issue in my previous Oracle ADF  Development project.This has to be the first priority before even starting the coding.If not, you are in for a big shock when you look at the object names in future :)

Oracle JDeveloper comes with a great feature to tackle this scenario and does a wonderful job.Let us look at the steps to implement the same.

 

Copyright

© Creative Commons Attribution Assurance 3.0 License.

Continue reading
7570 Hits
0 Comments
Featured

How to use History columns in Oracle ADF for mini auditing

b2ap3_thumbnail_image_20130304-162011_1.png

History columns in Oracle ADF is a very convenient builtin functionality which takes out a little bit pain out of the developers to maintain the who columns.It is very simple to implement and have to be done at the Entity Object level.Below are the list of History or WHO columns available in Oracle ADF.

 

Copyright

© Creative Commons Attribution Assurance 3.0 License.

Continue reading
14163 Hits
0 Comments

Login

Cron Job Starts