on 07-20-2006 12:50 AM
I just want to know a small thing
We have an approach to build a Java Web Service having JCO code in the classes so that it can call RFC's and pass some data into these RFC from the clients which are using them.
Please let me know whether our approach is correct or not... ???
If anyone has example of the above requirement please send it to me at 7.tarun@gmail.com or tarun_bakshi@keane.com
Thanks
Tarun Bakshi
Cant i do it by a writing a simple java class
which has JCO code also in it..
Whats the problem with that...
My idea is to create a simple java class and
create a web service for this class and then
deploy it on j2EE engine ....
Is my idea wrong ... ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tarun,
You can call RFC by JCO connection from EJB class
and expose as web service.Webdynpro has the RFC Model option you use that also.
Only thing is web Service will take more time when its loading large number of data.
Regards
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's fine to use a Web Service to make RFC. A bit suggestion may be to use JRA instead of JCO.
Using JRA you can call function modules and BAPIs in the ABAP backend. Since SAP JRA is closely integrated with the J2EE Application Server you can have some advantages like an easily use of J2EE Services inside the webservice, Transaction Management, etc. I think that more efficiency may be obtained.
Hope this help you.
Vito
Please mark helpful answers
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.