InterviewSolution
| 1. |
What Are Data Controls? What Types Of Data Controls Are You Aware Of? |
|
Answer» A data control is ESSENTIALLY a BRIDGE that makes data from a source available to the user interface in an ADF Fusion Web Application. You can use the objects in the data control to create databound user interface components. The most commonly used TYPES of data controls include the following : ADF Business Components Data Control :This type of data control is generated by JDeveloper when you create an application module in your ADF Business Components application. JavaBean Data Control : This type of data control obtains the structure of the data from POJOs (plain, old Java objects).To create a JavaBean data control, right-click a Java class file (in the Application Navigator), and choose Create Data Control. EJB Data Control : The EJB data control is essentially the same as the JavaBean data control, except that it uses features inherent in the EJB architecture to obtain the structure of the data.You can create an EJB data control from the New Gallery. Expand the Business Tier node, select Data Controls, choose EJB Data Control, and click OK. URL Service Data Control : A URL service data control lets you access and consume the data STREAM from a specified URL. This type of data control is not updateable.You can create a URL Service data control from the New Gallery. Expand the Business Tier node, select Data Controls, choose URL Service Data Control, and click OK. Web Service Data Control : A Web Service data control obtains the structure of the data from the WSDL for a web service.You can create a Web Service data control from the New Gallery. Expand the Business Tier node, select Data Controls, choose Web Service Data Control, and click OK. JMX Data Control : A JMX data control obtains the structure of the JMX MBeans from an MBean SERVER. You can create a JMX data control from the New Gallery. Expand the Business Tier node, select Data Controls, choose JMX Data Control, and click OK. For more information about creating a JMX data control, see the online help for the Create JMX Data Control wizard. Before you can create a JMX data control, you must first have a JMX connection. Placeholder Data Control : A placeholder data control is a special type of data control that doesn't require a traditional data structure. As the name implies, it is a placeholder that can be used during UI development, and then replaced with the real data control when it becomes available. A data control is essentially a bridge that makes data from a source available to the user interface in an ADF Fusion Web Application. You can use the objects in the data control to create databound user interface components. The most commonly used types of data controls include the following : ADF Business Components Data Control :This type of data control is generated by JDeveloper when you create an application module in your ADF Business Components application. JavaBean Data Control : This type of data control obtains the structure of the data from POJOs (plain, old Java objects).To create a JavaBean data control, right-click a Java class file (in the Application Navigator), and choose Create Data Control. EJB Data Control : The EJB data control is essentially the same as the JavaBean data control, except that it uses features inherent in the EJB architecture to obtain the structure of the data.You can create an EJB data control from the New Gallery. Expand the Business Tier node, select Data Controls, choose EJB Data Control, and click OK. URL Service Data Control : A URL service data control lets you access and consume the data stream from a specified URL. This type of data control is not updateable.You can create a URL Service data control from the New Gallery. Expand the Business Tier node, select Data Controls, choose URL Service Data Control, and click OK. Web Service Data Control : A Web Service data control obtains the structure of the data from the WSDL for a web service.You can create a Web Service data control from the New Gallery. Expand the Business Tier node, select Data Controls, choose Web Service Data Control, and click OK. JMX Data Control : A JMX data control obtains the structure of the JMX MBeans from an MBean Server. You can create a JMX data control from the New Gallery. Expand the Business Tier node, select Data Controls, choose JMX Data Control, and click OK. For more information about creating a JMX data control, see the online help for the Create JMX Data Control wizard. Before you can create a JMX data control, you must first have a JMX connection. Placeholder Data Control : A placeholder data control is a special type of data control that doesn't require a traditional data structure. As the name implies, it is a placeholder that can be used during UI development, and then replaced with the real data control when it becomes available. |
|