This is test
Complex data-types for ADF AM/VO client service methods
One very recent work-related requirement was to pass and return complex data types from an Application Module Implementation class method.
For those of us who are familiar with this concept, we know that we usually pass around native Java data-types, like String, Integer, Boolean, etc, or maybe List, Map. But what if we need to pass and return a complex POJO - such as an Employees object?
You might have also noticed that we are able to pass and return oracle.jbo.Row objects. But we get stuck if we want to return a view object's implementation class, such as EmployeesVORowImpl.
The reason that AM client service implementation allows certain data-types is that those data-types are available to both Model and ViewController projects. If you open up Model or ViewController project properties and search for oracle.jbo.Row class, you will find that it is included inside the 'ADF Model Generic Runtime' library, which is available to both projects.
Comments
Post a Comment