On Saturday, May 5, 2012 at 9:01 AM, cpradip wrote:
Hello All
We are trying to use filenet for out document management system.
They provide custom apis (java apis) too to help us use them and do
the operations of file management , retrieval , work flow etc.
We want to build a custom UI in adf to supports this .
This would mean that the model that is created would be from these
api's and not standard views and tables but instead these api's.
Does any one have any experience in creating such an application in
ADF where the backend interaction is done completely by api's .
Yup - it's actually fairly common if you're developing apps that are interfacing with SOA architected systems.
Even retrieval of rows is done by apis. So there is no concept of
views or it has to be other than creating and using at run time.
Additionally they also provide wsdl for the same. So i used the wsdl
to create a Data control but the operations that come in the wsdl take
complex type parameters which is sent as Object. How do i populate
these so that they can be passed.
A few thoughts, as I'm not entirely sure of the use case here.
1). When you generate a WSDL to use through ADF bindings, you may have a method that will be called for submitting. Depending on the WSDL this might be 'automatic' in the binding.
2). I've seen a few cases where the interface might require a 'composite' of a few WSDLs/services. In this case, a SOA middleware composite can be used to simplify the view of a service presented to a page.
Another option - with no SOA middleware - would be to create a 'facade' POJO that combines the result of a workflow method in the POJO (think of a method that might aggregate a couple of service calls). The POJO can be exposed as a data control for binding to an interface.
NOTE OF CAUTION: Though using services is 'easy', each call is traffic over the network. This can easily cause performance issues in the interface if you aren't careful in design.
Is this a good use case for an ADF application.
I would think so - ADF is a pretty flexible technology. I can even envision a pure JSF approach, but binding can be a simpler approach than doing service calls from backing beans.
- Chad
----
Chad Thompson