Exposing View Objects from ADF Library as Web Service

While working on large projects, you may split business components among multiple projects to improve the modularity and re-usability of the code. Obviously you can share business components between multiple model projects by packaging them in ADF library. While doing so, you may want to expose view objects from an ADF library as web service through an application module that reside in a consuming project. Though this is pretty straight forward task, you need to be aware of one point while packaging view objects in ADF library that may be later exposed as web service from another project. The point here is that,  you need to generate Service Data Object for view object  in the owning project itself. In other words you cannot expose view objects from ADF library as web service  if the view objects in ADF library are not having Service Data Object generated.
To generate SDO for a view object:

  1. Go to the project that you want to share as ADF library.
  2. Open the view object in the editor. 
  3. Choose Java tab and , click edit icon.
  4. In the Java Options dialog,  select Generate Service Data Object Class and click OK. You are done.

Now you can package the view object in ADF library and consuming project can expose this view object as web service when you service enable the application module

Comments

  1. The effectiveness of IEEE Project Domains depends very much on the situation in which they are applied. In order to further improve IEEE Final Year Project Domains practices we need to explicitly describe and utilise our knowledge about software domains of software engineering Final Year Project Domains for CSE technologies. This paper suggests a modelling formalism for supporting systematic reuse of software engineering technologies during planning of software projects and improvement programmes in Final Year Project Centers in Chennai.

    Software management seeks for decision support to identify technologies like JavaScript that meet best the goals and characteristics of a software project or improvement programme. JavaScript Training in Chennai Accessible experiences and repositories that effectively guide that technology selection are still lacking.

    Aim of technology domain analysis is to describe the class of context situations (e.g., kinds of JavaScript software projects) in which a software engineering technology JavaScript Training in Chennai can be applied successfully

    ReplyDelete

Post a Comment

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of my employer.