<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: composite application framework tool for customization in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560104#M683160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case "C" is not configurable parameter, but just calculatable. So, implement additional method for this parameter, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
public static String getC()
{
  if (A.equals(X) &amp;amp;&amp;amp; B.equals(Y))
 {
   return CONSTANT_Z ;
 }
 else if (A.equals(Y) &amp;amp;&amp;amp; B.equals(X))
 {
   return CONSTANT_U ;
 }
 else ....

}
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aliaksei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2006 15:07:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-05T15:07:38Z</dc:date>
    <item>
      <title>composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaq-p/1560096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I am making an application using CAF. My application has some properties which are used to control the application.&lt;/P&gt;&lt;P&gt;I can store these properties and their values in XML file and can use it in my application. Is there any other way to handle this in CAF?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 08:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaq-p/1560096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T08:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560097#M683153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J2EE application service has generic support for application properties handling. Please read the &amp;lt;a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2ce854ed-0701-0010-deb5-ffd61d73fd9f"&amp;gt;Application Configuration&amp;lt;/a&amp;gt; chapter (page 7). This short overview of this feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the following coding in order to retrieve properties:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;			
Context ctx = new InitialContext();
			ApplicationConfigHandlerFactory chf =
				(ApplicationConfigHandlerFactory) ctx.lookup("ApplicationConfiguration");
			Properties props = chf.getApplicationProperties();
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Compartment: SAP_J2EE&lt;/P&gt;&lt;P&gt;DC: configuration&lt;/P&gt;&lt;P&gt;PP: default&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One hint: you can even put configuration listener in order to effect changed configuration data without server instance restart.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aliaksei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 08:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560097#M683153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T08:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560098#M683154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also create an Entity Service to store these values.  This way you would not have to worry about another file on the file system and you could leverage the CAF data transport / deploy mechanisms.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 13:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560098#M683154</guid>
      <dc:creator>Austin</dc:creator>
      <dc:date>2006-10-04T13:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560099#M683155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Austin&lt;/P&gt;&lt;P&gt;Yes, It will work but i am not able to visualize these properties as entities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 05:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560099#M683155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T05:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560100#M683156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Application Configuration functionality you can easily handle your properties in user safe way: Visual Admin -&amp;gt; Server -&amp;gt; Services -&amp;gt; Configuration Adapter -&amp;gt; Configurations -&amp;gt; apps -&amp;gt; sap.com -&amp;gt; &amp;lt;your_caf_app&amp;gt; -&amp;gt; appcfg -&amp;gt; Propertysheet application.global.properies. Also you can import/export configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using CAF entity for configuration storage requires additional implementation effort.&lt;/P&gt;&lt;P&gt;Also, main disadvantage of this approach in my view is default configuration values support. Surely, you can create additional project with type dbcontent but that is unjustified effort in comparison with Application Configuration functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, ejb usage for application configuration storage in the same application looks like a workaround but not a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best reagrds,&lt;/P&gt;&lt;P&gt;Aliaksei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 08:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560100#M683156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T08:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560101#M683157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i need to explain my requirement little more. In my application, I have some set of rules which are used to control application. These rules can be changed over a time. So I need some way to maintain them easily.&lt;/P&gt;&lt;P&gt;Rules are like this:&lt;/P&gt;&lt;P&gt;Assume I have Three property say A,B and C.&lt;/P&gt;&lt;P&gt;now if A = X and B = Y then C = Z&lt;/P&gt;&lt;P&gt;I can make a database table with A and B as key fields. But I don't know whether it is an efficient way to handle this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 13:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560101#M683157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T13:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560102#M683158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there are some disadvantages to using the Entity Service for this.  One advantage of using an Entity Service over a properties file is that you can easily build a CAF ui pattern or VC UI on top of it (also the default service browser).  This could be more user friendly than the J2EE Visual Admin and be incorporated into your application.  True, you could build a custom UI on top of the j2ee properties, but this would be extra effort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 14:18:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560102#M683158</guid>
      <dc:creator>Austin</dc:creator>
      <dc:date>2006-10-05T14:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560103#M683159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But property file has a standard syntax propertyName value. How can I define my rules in this format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 14:25:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560103#M683159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560104#M683160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case "C" is not configurable parameter, but just calculatable. So, implement additional method for this parameter, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
public static String getC()
{
  if (A.equals(X) &amp;amp;&amp;amp; B.equals(Y))
 {
   return CONSTANT_Z ;
 }
 else if (A.equals(Y) &amp;amp;&amp;amp; B.equals(X))
 {
   return CONSTANT_U ;
 }
 else ....

}
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aliaksei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 15:07:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560104#M683160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T15:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560105#M683161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is good but putting rules in the code is not easy to maintain. Because I may need to add more rules in future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 15:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560105#M683161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T15:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560106#M683162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not clear: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have 3 properties which you use in your application: A, B, C. And defined one rule for them: if A=X and B=Y then C=Z. You say that you want to add additional rule in the future. Please demonstrate possible additional rule for these properties with an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aliaksei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 16:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560106#M683162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T16:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560107#M683163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its starting to sound like you need a &amp;lt;a href="http://java-source.net/open-source/rule-engines"&amp;gt;Rules Engine&amp;lt;/a&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also try the &amp;lt;a href="http://help.sap.com/saphelp_nw04s/helpdata/en/44/3d3936c5c14a8fe10000000a1553f6/frameset.htm"&amp;gt;Business Logic Callable Object&amp;lt;/a&amp;gt; if your solution uses Guided Procedures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Austin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 17:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560107#M683163</guid>
      <dc:creator>Austin</dc:creator>
      <dc:date>2006-10-05T17:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560108#M683164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have three properties only but they can have a set of values. like right now A and B can take values X and Y. But in future, they can take P and Q also  as values and accordingly C can also take different values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand my point&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 03:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560108#M683164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T03:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: composite application framework tool for customization</title>
      <link>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560109#M683165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I try to explain my one example.&lt;/P&gt;&lt;P&gt;We have to give bonus to employees on different countries. Like for Indian employee, I will give 10% bonus , for Germany employee, it is 15% like this. Now we can do more countries in our list. We can change bonus values within a year like this.&lt;/P&gt;&lt;P&gt;For this, I need some solution in CAF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 04:48:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/composite-application-framework-tool-for-customization/qaa-p/1560109#M683165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T04:48:53Z</dc:date>
    </item>
  </channel>
</rss>

