views:

173

answers:

1

My current task is to migrate a J2EE application (JDK5) that is using DWR for its AJAX capability, into WebSphere Commerce platform (J2EE 1.4, JDK1.4). In the WebSphere Commerce, the idea is for the AJAX to call commands those are written in Commerce platform. WebSphere Commerce has its own AJAX approach (powered by Dojo), but I am hoping I could avoid the learning curve and leverage existing knowledge on DWR.

I wonder if anyone has tried using DWR in WebSphere Commerce?

Any advice (re DWR & WebSphere Commerce), to get me started? or... is it better to learn WebSphere Commerce AJAX approach?

---- Please advice if more clarification is required via comments. Thanks a lot.

+2  A: 

I haven't tried DWR yet but have used DOJO and jQuery both and on Websphere Commerce. IMO it doesn't matter which JavaScript library you use since it is any way going to call underlying Websphere Commerce Commands... Since you are already familiar with DWR I would suggest you to go with that instead of using DOJO which I feel is cumbersome compared to jQuery.

sarego
I completely agree with sarego. I have worked with WebSphere Commerce with DOJO and Mootools and I would suggest that you just work with what you know.
martinatime
Thanks for the answer. Since the last time I asked the question, I now understand the AJAX framework support by WebSphere Commerce. Due to technical constraint (security/business-context/etc), I am not able to get DWR working. I later adopt combination of Dojo, jQuery, and Commerce AjaxAction to get it done. ;-)
Nordin