cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Java Proxies

Former Member
0 Kudos

Hi all,

We have a scenario for RFC -> Xi -> Java Application. We need to inoke certain functionlities provided by the java application through RFC. As per my understanding, i need to create the relevant interfaces and then invoke the java application by writing Java Proxies.

Can any body please suggest if:

1. My approach is correct? if no, then what is the possible solution?

2. If Its correct then how to create java proxies. Can any body please provide me a link to a blog with sample application?

Any help will be appriciated.

Thanks and best regards,

Kulwant Singh

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

For dealing with the Java Applications you have to go for Java Proxies i.e. best the preferrable way.

For your synchronous scenario from RFC to Java proxy will require to be created and have to deploy it in XI.

Please follow the steps mentioned in the link

How to Work with Java Proxies

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd2...

Java Proxies in XI

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_...

Java Proxies in XI

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_...

SAP Network Blog: Pre requisites for Client Java Proxies

/people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies

Thanks

swarup

Former Member
0 Kudos

hi kulwant,

your approach is correct

go thru the bolgs for java proxies:

JAVA PROXY

how to work with java proxies

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc21...

Use a Java Proxy instead of a JCA Adapter

/people/thorsten.nordholmsbirk/blog/2006/08/06/use-a-java-proxy-instead-of-a-jca-adapter

Use a Java Proxy instead of a JCA Adapter

/people/thorsten.nordholmsbirk/blog/2006/08/06/use-a-java-proxy-instead-of-a-jca-adapter

AVA Proxies Part I

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5a...

JAVA Proxies Part II

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7e...

regards

chandrakanth

former_member537867
Active Contributor
0 Kudos

Hi Kulwanth,

Java Proxies are Java Class files to access the R/3. If u create an RFC Model for a BAPI/RFC enabled FM the system will automatically create Java Proxy classes for ur R/3 connection.

The Java proxies for the message interfaces are generated using the Integration Builder tool (Design) in the menu Tools --> Java Proxy Generation and subsequently by selecting the message interfaces

Java proxies, the Integration Builder tool is used

1) The Java proxies for the message interfaces are generated using the Integration Builder tool (Design) in the menu Tools ---> Java Proxy Generation and subsequently by selecting the message interfaces.

Using the Java Proxy runtime we can Receive messages or Send messages to the Integration Server. The Java proxy runtime supports J2EE applications on the SAP J2EE Engine using Enterprise Java Beans 2.0. Synchronous and Asynchronous Outbound and Inbound communication is possible with Proxy Beans.

Check some links on proxies.

JAVA Proxies:

Asynchronous inbpund java Proxies

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy

More on Java Proxy-

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b0...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5a...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7e...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b20...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903...

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b...

How to Work with Java Proxies

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd2...

Java Proxies in XI

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_...

Java Proxies in XI

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_...

SAP Network Blog: Pre requisites for Client Java Proxies

/people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies

good docs on Java Proxy:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc21...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b20...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903...

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

/people/srinivas.gv/blog/2005/09/27/concept-of-proxy-generation

Regards,

Vinod.

Former Member
0 Kudos

Hi,

Yup your approach is correct.

Currently, if you want to integrate Java applications using Java Proxies, the Java applications must be deployed on the SAP NetWeaver WebAS Java server (i.e., SAP's J2EE Engine). The JPR (Java Proxy Runtime) is the relevant component within the engine that allows proxy integration with XI.

Other than on SAP's official help site (help.sap.com), there is no official, published SAP how-to guide on this, but it is in process. However, an SDN member did publish an article on this topic in the past:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5a...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7e...

Java Proxies and SAP XI - The Inside Story, Part 1

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5a...

Java Proxies and SAP XI - The Inside Story, Part II

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7e...

SAP XI 1.0 Configuring your PC or Laptop as a Java Receiving System

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f5b19b90-0201-0010-9bb0-81c...

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy

Please reward points if it helps

Thanks

Vikranth