Pages

Tuesday, May 22, 2012

ManagedServer For ADF application Deployment

Here we will talk about how you can create a separate managed server for ADF applications deployment. The way you install SOA, Webcenter etc and create Managed Servers for deployment... same can be done for ADF applications as well.


Steps involved :
1. Install Weblogic Server - I will assume that you already have a weblogic server installed and will not cover in this post.

2. Install ADF runtime (available as part of Jdeveloper 11g) to WebLogic Server
Run the Jdev installer and select options as shown below.
Select to install in your existing middleware home where you have installed Weblogic






 CLICK NEXT AND Select ADF Runtime




Now do Next and Finish the wizard.

3. Run Config.cmd to create/extend domain.




Create or Extend the domain with ADF Runtime. You should see the option to select ADF Runtime as below.




 That is all .. you can go ahead with domain creation/extension as you do with SOA.
 
 
Enjoy.....

Friday, May 4, 2012

Using JSTL Functions in ADF Page

This post will illustrate how can we use the JSTL functions in you ADF Jspx/Jsff pages.

A friend came with following problem :

Attribute Value : +1100WWS displayed in a table column with some inlineStyle.
Same attribute value needs to be displayed in following manner
+ -> with a different inlineStyle
-> with another inlineStyle.

Business Service Layer used in his project EJB. If it would have been ADF BC, I would have recommended creating transient attribute and all. Now I don't have any idea on EJB, I started looking for something to do on expression Language on ADF page. Simple google Search - subString operation in Expression Language.

Answer is - Use JSTL.

How to use JSTL -
1. Add JSTL function in your tag library.






2. Include namespace in your jsff.



3. Use JSTL functions in your expression language.






Src: http://www.tutorialspoint.com/jsp/jsp_standard_tag_library.htm


Enjoy...