{"id":819,"date":"2012-07-09T15:11:03","date_gmt":"2012-07-09T13:11:03","guid":{"rendered":"http:\/\/oracle.malin.pl\/?p=819"},"modified":"2012-07-09T15:11:03","modified_gmt":"2012-07-09T13:11:03","slug":"komponenty-oa-framwork","status":"publish","type":"post","link":"https:\/\/oracle.malin.pl\/?p=819","title":{"rendered":"Komponenty OA Framwork"},"content":{"rendered":"<h3><\/h3>\n<div>\u00a0na podstawie<\/div>\n<div><a href=\"http:\/\/oracleanil.blogspot.com\/2009\/05\/disable-button.html\">http:\/\/oracleanil.blogspot.com\/2009\/05\/disable-button.html<\/a><\/div>\n<div><\/div>\n<div>\n<h3><a href=\"http:\/\/oracleanil.blogspot.com\/2009\/05\/disable-button.html\">OVERVIEW OF THE OA-FRAMEWORK COMPONENTS<\/a><\/h3>\n<p><strong>OA-Framework is a very rich and powerfull development tool ; we will not start an in-depth discussion about how it works, but here is the main vocabulary you will need :<!--more--><\/p>\n<p><\/strong><br \/>\n<strong><span style=\"text-decoration: underline;\">MDS\u00a0<\/span>&#8211;\u00a0The declarative metadata repository used with 11.5.10+ OA Framework applications. This replaced the older AK Repository.<\/p>\n<p><span style=\"text-decoration: underline;\">Page<\/span><br \/>\nThe first component is the page ; a page is a set of regions (header, footer, table\u2026), and each region can contain items (field, button, checkbox&#8230;), or other regions.<\/strong><br \/>\n<strong><br \/>\n<\/strong><strong>Pages are XML files found under $APPL_TOP\/MDS folder example:-<\/strong><br \/>\n<strong>$appl_top\/pa\/11.5.0\/mds\/project\/webui\/MyProjectsPG.xml<\/strong><\/p>\n<p><strong><span style=\"text-decoration: underline;\">BC4J : Business Components for Java<\/span><\/strong><br \/>\nBC4J is a set of java libraries that meshes SQL database concepts like views, tables and transactions into the Java world via View Objects (VOs), Entity Objects (EOs), and Application Modules (AMs).<\/p>\n<p>All\u00a0<strong>BC4J components<\/strong>\u00a0are found under $JAVA_TOP example:-<\/p>\n<p><strong>Application Module, View Object, View Link, PVO\u00a0<\/strong>found under:-<br \/>\n$JAVA_TOP\/oracle\/apps\/pa\/project\/server\/<\/p>\n<p><strong>Controller<\/strong>\u00a0found under:- $JAVA_TOP\/oracle\/apps\/pa\/project\/webui\/<\/p>\n<p><strong>Entity Object, Validation View Object, Validation Application Module<\/strong>found under:-<br \/>\n$JAVA_TOP\/oracle\/apps\/pa\/project\/scheme\/server\/<\/p>\n<p><strong><span style=\"text-decoration: underline;\">View Object<\/span><\/strong><br \/>\nIn the simplest terms, a BC4J view object encapsulates a database query and provides iteration over and access to the view rows in its result set.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Entity Object<\/span><\/strong><br \/>\nWhen we handle data through a page &#8211; INSERT \/ UPDATE \/ DELETE &#8211; we do this by using an Entity Object. An Entity Object is a java representation of a table ; each column of the table is mapped to an &#8222;Entity Attribute&#8221;.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Application Module<\/span><\/strong><br \/>\nAn application module is a container for related BC4J objects. The AM is connected to the database, and is responsible for the commit and rollback of a transaction.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Controller<\/span><\/strong><br \/>\nThe controller is the java code in charge of loading a page when we call it. It is also in charge of handling an event on a page, like a click on a button, or the call of a List Of Values. It has three\u00a0Methods:-<br \/>\n<strong><br \/>\n<\/strong><br \/>\n<strong>1. ProcessRequest<\/strong><br \/>\n<strong>2. ProjcessFormData<\/strong><br \/>\n<strong>3. ProcessFormRequest<\/strong><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0na podstawie http:\/\/oracleanil.blogspot.com\/2009\/05\/disable-button.html OVERVIEW OF THE OA-FRAMEWORK COMPONENTS OA-Framework is a very rich and powerfull development tool ; we will not start an in-depth discussion about how it works, but here is the main vocabulary you will need :<\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[96],"tags":[146],"_links":{"self":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts\/819"}],"collection":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=819"}],"version-history":[{"count":2,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts\/819\/revisions"}],"predecessor-version":[{"id":821,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts\/819\/revisions\/821"}],"wp:attachment":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}