hiya,
        I'll give my 2 cents here... anyone feel free to contraddict me / 
comment on issue as w hat
i say is based on  how i have used JCO (7 years ago)

unfortunately, looks like i cannot access site that Matteo posted (
http://wiki.open-esb.java.net/Wiki.jsp?page=SAPBC
... i have been waiting 10 mins for page to load.. :(   so i cannot comment 
on that.... :(

let me guess how'll do it based only on JCO .

in order to user JCO, you'll need to have  a connection to a 
ResourceConnector (your R3/R4 address).
This assumes you'll deploy your servicemix onto an app server (JBoss?) 
where you canh define ResourceConnectors (unless
there is a better way to do that... i m not aware of that)

i'll write a Spring POJO (let's call it SAPBean) which contains code use 
JCO, using a JNDI connection to your R3/R4....

you'll write a SE that has  a dependency on yoru SAPBean........


to me, this is all that's required..... 
when i did it, i used an EJB (as connection to the R3/R4 ResourceConnector 
needed to be wrapped in a transaction) that uses JCO
to interact with SAP
i see no reasons why the same code in the EJB cannot be put in a simple 
Spring POJO , which in turn gets called by a SE..

any comments appreciated...

end of my 2 cents :)

regards
        marco







Internet
[EMAIL PROTECTED]

12/02/2008 07:48
Please respond to
[email protected]


To
users
cc

Subject
Re: Getting data from SAP







Older SAP releases are abap only based. newer releases (>= netweaver04) 
are
abap and java based. SAP provides java JCO libraries to send/receive data
to/from sap (abap only and abap/java releases) and other middleware
competitors (tibco) use JCO to send/receice IDOC to/from SAP, to call RFC
function modules,... 

There is a jbi implementation
http://wiki.open-esb.java.net/Wiki.jsp?page=SAPBC

but I don't know how to use it with servicemix. can anyone help me? Thanks


-- 
View this message in context: 
http://www.nabble.com/Getting-data-from-SAP-tp8743202s12049p15427090.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



This communication is confidential, may be privileged and is meant only for the 
intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete this 
message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, 
BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are 
authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are 
authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services London 
Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services Authority 
for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member of 
the London Stock Exchange.

Reply via email to