ADF with filenet apis

51 views
Skip to first unread message

cpradip

unread,
May 5, 2012, 10:01:45 AM5/5/12
to ADF Enterprise Methodology Group
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 .
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.

Is this a good use case for an ADF application.

Thanks

Chad Thompson

unread,
May 5, 2012, 7:29:26 PM5/5/12
to adf-met...@googlegroups.com
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

Amr Gawish

unread,
May 6, 2012, 2:24:19 AM5/6/12
to adf-met...@googlegroups.com
Hi,
As Chad mentioned this is actually a common requirement when developing an enterprise application, I for myself has created ADF application based on RIDC API(s) of Oracle Content Management, I believe you can do the same with FileNet, the trick is how to organize your work in order to expose the right functions into the ViewController

I've used a Session Facade Design Pattern in order to organize my things, with Service Locator but you could choose a different approach, and after creating your classes and testing them, you can expose the Session Facade class - or its equivalent - by using the JDeveloper function "Create Data  Control" to be used as Data Control, and hence use it the way you use any Data Control in any ADF Application

Best Regards,
Amr Gawish
Senior Oracle Middleware Consultant
    
Reply all
Reply to author
Forward
0 new messages