on 07-04-2007 5:43 AM
Hi All,
I am creating a J2EE application. In this I want to access BAPI in EJB.
For this whether I should use Jco or JRA? How to differentiate when to use Jco and when to use JRA?
Also, is there any document for how to access BAPIs from EJB using Jco and JRA.
I am using EJB2.0.
Don't worry about points, I will assign points to correct answer.
cheers
Jayant
JRA definately is the way to go , even SAP recommends it and that is because:
1. Credentials and other connectivity details are out of your code and are configurable from Visual admin.
2. Connection pooling etc is not your headeache, which with JCo is yours ...
3. JRA is based on JCA and follows the J2EE specifications and that is how fits perfectly in the J2EE scenarios...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jayant,
based on what i've seen JRA is the preffered route to go when accessing BAPIs, JRA is layer that sits on top of JCo anyway. The benefits of going JRA is that your connections are managed by the J2EE Engine, so for example pooling is controlled by the engine. Also, with JRA you have access to the J2EE services as the SAP Adapter sits on top of the J2EE Engine. go to the Java Area of SDN and click on Getting Started, there's a tutorial on how to use JRA.
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.