Author Topic: ODWEK java api  (Read 67 times)

Michel de Kraker

  • Full Member
  • ***
  • Posts: 144
    • View Profile
    • SYSBLOX , AIX consultancy
ODWEK java api
« on: September 05, 2018, 05:14:11 AM »
Hi All

Currently I am using arswww.cgi , but deprecated in CMOD 10.1. So now I have to use the ODWEK Java API. In my opinion the IBM documentation is not that great. But maybe it is just me :-)

Is there somewhere a step-by-step document on how to deploy the ODWEK JAVA API? and the SW requirements ?

Thx.

Kind regards

Michel.

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 780
    • View Profile
Re: ODWEK java api
« Reply #1 on: September 05, 2018, 06:25:51 AM »
Admittedly this Redbook is a little old but it's still true and contains all of the basics plus examples:

IBM Content Manager OnDemand Web Enablement Kit Java APIs: The Basics and Beyond

SG24-7646-00

Ed
#zOS #ODF

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 1552
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: ODWEK java api
« Reply #2 on: September 05, 2018, 08:07:51 AM »
Yeah, the basics book is a good start...  But it's so old that some of the calls are deprecated in the latest ODWEK versions.

There's a section in the Wiki with a collection of the IBM CMOD Java API Documentation:  https://cmod.wiki/index.php?title=Main_Page#IBM_CMOD_ODWEK_Java_API_Documentation

I've actually asked IBM to update that Redbook, but I don't have that much sway.  :)

-JD.
#Install, #Educate, #Repair, #Upgrade, #Migrate, #Enhance, #Optimize.

IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SA #Performance #Security #Audits #Customizing #Availability #HA #DR #Training

Michel de Kraker

  • Full Member
  • ***
  • Posts: 144
    • View Profile
    • SYSBLOX , AIX consultancy
Re: ODWEK java api
« Reply #3 on: September 05, 2018, 11:22:03 PM »
Thx Ed and Justin,

To have ODWEK replaced by JAVA API and keep the same functionality , what will be the estimated effort on doing this?
My customer is using the ODWEK interface intensively. Does the JAVA API give the same experience? Is someone having a screenshot or something like that?

One more question on something which is confusing me.

I see that the JAVA API is the replacement for ODWEK. But I also read that IBM Content Navigator is the way to go.
So both seem replacements for ODWEK. Do you have an opinion on this?

Thx.

Kind regards

Michel.

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 1552
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: ODWEK java api
« Reply #4 on: September 06, 2018, 04:43:10 AM »
I was reading your last reply, thinking "They really should be using ICN."  :)

Yes, if you simply need a 'thin' web client, IBM Content Navigator for CMOD is the way to go.  ICN uses the Java API to connect to CMOD, so the only difference is that the hard work is already done for you with ICN.  And it can be customized.  Although the content wasn't specific to CMOD, there was an IBM Content Manager OnDemand Webinar on ICN:  http://www.odusergroup.org/forums/index.php?topic=2297.0 that will give you a basic intro.

-JD.
#Install, #Educate, #Repair, #Upgrade, #Migrate, #Enhance, #Optimize.

IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SA #Performance #Security #Audits #Customizing #Availability #HA #DR #Training

Alessandro Perucchi

  • Hero Member
  • *****
  • Posts: 946
    • View Profile
Re: ODWEK java api
« Reply #5 on: September 11, 2018, 12:04:57 AM »
Thx Ed and Justin,

To have ODWEK replaced by JAVA API and keep the same functionality , what will be the estimated effort on doing this?
My customer is using the ODWEK interface intensively. Does the JAVA API give the same experience? Is someone having a screenshot or something like that?

One more question on something which is confusing me.

I see that the JAVA API is the replacement for ODWEK. But I also read that IBM Content Navigator is the way to go.
So both seem replacements for ODWEK. Do you have an opinion on this?

Thx.

Kind regards

Michel.


Just a word...
ODWEK is a library of many components:

- Old and deprecated CGI (arswww.cgi
- Old and depracted Servlet
- Java API
- Browser Plugins
- Misc other things, mainly docs and samples

That said the Java API is an API and will never 100% replace the CGI part without efforts.

I've done it in the past, because it was cheaper for customer to replace the CGI part with a custom made servlet, than to switch to ICN. I needed to replace the arswww.cgi with EXACTLY the same output of arswww.cgi, to not break the existing software that was parsing the existing html output... really quite a work to do...

It took us a 1 or 2 month (we were 2 doing the work). And we could do something like 70-80% of all the functionality of ARSWWW.CGI.
BUT it was a nightmare to handle the browser part. IE is not retrieving files in the same way than Chrome or Firefox... to handle that part it took us a lot of time.

At first we did ONLY the part the customers needed, and didn't implement the whole spectrum of arswww.cgi options. And after that parts were working as the customer expected, then we added progressibely the rest.

As Justin said, it would be much easier to use ICN instead, since a lot of struggle with browser, etc... are done natively with ICN!
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML