I have just completed a youtube video on this subject, available here: http://youtu.be/xAzBVvwYOZU

-- Post:
Hello I am now using Jdeveloper 11.123

I am compiling a list of all the steps necessary to deploy an ADF application. The application to be deployed has a model and view controller project, and has security. It runs in the integrated weblogic server. I have created a stand-alone weblogic domain using the configuration wizard that comes with jdeveloper, creating a testing domain as outlined in source #2. The users and Enterprise Roles were added to the Stand-alone Weblogic Server, and a datasource was created.

Sources:
#1 http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adf_security1/adf_security1.html
#2 http://www.quovera.com/whitepapers/downloads/nocoug_2012_deployment_doc.pdf (this is the same as the deployment chapter of the Oracle 11g Handbook by Duncan and Peter (same authors as the whitepaper).
#3 Oracle Fusion Developer Guide, Frank Nimphius
#4 https://blogs.oracle.com/shay/entry/shorter_url_for_your_adf

Below are the steps I have deemed necessary. At the bottom are some questions I would appreciate help with. I know this is a long list, but I kept on finding references to different steps and need a comprehensive list.

Model Project
1. Open Application Module.
a. Change the Application Module "XXXServiceLocal" configuration from "JDBC URL" to "JDBC DATASOURCE". (FYI: From the string "java:comp/env/jdbc/hrDS" use this part "jdbc/hrDS" to configure the Weblogic datasource).

-- Note: After making this setting when you run this application with the integrated Weblogic server, you may suffer slower undeployments.

6. select "Deployment", Create new Or Edit the existing entry. Select "General"
a. Change the "EAR file" to name of application. ex: HRApp.
b. Change the "Application Name" to name of application. ex: HRApp.

e. Select "Application Assemply"
f. Make sure the View Controller node is Checked, Model is NOT Checked. -- this should contain only the view controller.
g. exit

#1 In step 1a the Application Module shared setting does not need to be updated.

#2: In Source #1 (3 min 45 seconds into video) He leaves "Credentials" checked. In Source #2, they uncheck the credentials. Which is Correct?

#3 In Frank Nimphius's book he says to make sure the jazn-data.xml file is updated (as done in step 8). Top of 717. I haven't seen this mentioned in other documentation.

*#4 Are all the steps correct?* I realize that many of the steps are just to make the URL etc prettier, but for a proper application, they should be implemented.
Steps #1, 3, 6, 7 and 8 are essential settings to make.

#1 In step 1a the Application Module shared setting does not need to be updated.

#2: In Source #1 (3 min 45 seconds into video) He leaves "Credentials" checked. In Source #2, they uncheck the credentials. Which is Correct?

#3 In Frank Nimphius's book he says to make sure the jazn-data.xml file is updated (as done in step 8). Top of 717. I haven't seen this mentioned in other documentation.

*#4 Are all the steps correct?* I realize that many of the steps are just to make the URL etc prettier, but for a proper application, they should be implemented.
Steps #1, 3, 6, 7 and 8 are essential settings to make.

1. That's correct.
2. It depends. If you want to use security (login and so on) and configure your LDAP on Weblogic, then I you could uncheck it. If you are not planning on using an external LDAP or any form of securtiy, you can leave it checked.
3. Same as step 2. This depends on the security aspect of your use case.
4. If you follow those steps, you should be able to perform a perfect deployment.

So 2) and 3) really depend on the security aspect.
If you want to move you whole application to Production, uncheck it. If you still in development or testing phase, just leave it checked.

Yes, I forgot to mention that in a production environment, and that you would likely use an LDAP. I would make this test server as production-like as possible -- even though I would not be using LDAP, I will configure users, groups etc -- so I would uncheck it..... (did I get this right?)

Also, just curious, the section where you quoted me is in gray, what did you do to get that to work like that?

Yes, I forgot to mention that in a production environment, and that you would likely use an LDAP. I would make this test server as production-like as possible -- even though I would not be using LDAP, I will configure users, groups etc -- so I would uncheck it..... (did I get this right?)

Also, just curious, the section where you quoted me is in gray, what did you do to get that to work like that?

Stuart

If you configured users and groups using the ADF Security in JDeveloper, then you need to keep it checked.

For the off-topic part. In the toolbar just press " (next to to abc icon). If you use 'reply' on a forum post of course.