on 06-17-2008 10:47 AM
Hi all,
I just want to know in what kind of scenarios java proxies can be used. what kind of systems can be connected to PI using java proxies.
Also, the advantages and disadvantages if there are any.
Thanks,
Neha
HI
Java proxies r used to integrate XI with java applications
Java Proxy Runtime enables and manages connectivity between Java Proxies and the IS. It can be installed on SAP J2EE Engine Release 6.30 SP3 or higher, and currently this J2EE engine is the only one supported by the Java Proxy Runtime. As of SAP NetWeaver 2004 the Java Proxy Runtime is installed with and integrated into the J2EE Adapter Engine. This Adapter Engine implements queuing, persistence and monitoring services required to guarantee asynchronous communications. However, both synchronous and asynchronous communications are supported.
In a Java Proxy client scenario, an Java application utilizes Proxy Beans to connect to the Java Proxy to send a message from itself to the IS in XI Protocol (XML) format. Conversely in a server scenario, the Java Proxy (consisting of a EJB bean for message handling) receives a XML message from the IS. This bean in turn calls the application bean (Java Proxy Bean in the diagram above) registered for that inbound interface. Beans are used in sending and receiving messages from a J2EE application.
Java Proxies are created via Java Proxy Generation.
Java Proxy Generation is done directly within the Repository. Using tools within the Repository, a Message Interface can be used to generate the necessary Java Proxy Objects for handling the communication requirements for the interface. Proxy Generation creates J2EE beans and proxy classes for this purpose. These beans and proxy classes are bundled into an archive (as a Jar or Zip file) for deployment.
Java Proxy Objects
Upon generation, a number of Java objects are created. The following two examples document what objects are created in both an inbound and outbound generation.
In general:
u2022 A class is generated for each complex Data Type with set/get methods to access the corresponding fields
u2022 No classes are generated for simple Data Types, rather the type is simply transferred (such as string)
u2022 Additional bean classes are used for J2EE applications (which use them to exchange messages instead of the proxy classes). These classes are not required for stand-alone Java applications
u2022 The class for the input / output message corresponds to the Data Type referenced by the Message Type used
u2022 No public global classes are created for Message Types (Fault Message Types are the exception). Normal Message Types are included internally as private classes
u2022 For both inbound and outbound a class is created named: <MessageInterface>_PortType
Within this class it contains a method declaration of the format:
u2022 Inbound
o <Data Type Outbound Message> <Message Interface name> (Data Type Inbound Message
u2022 Outbound
o <Data Type Inbound Message> <Message Interface name> (Data Type Outbound Message
In simpler terms, the Message Interface from the Repository becomes the method name in the class.
cheers
reward points if found useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
java proxies can be used in all scenarios where java application has to pass message to XI.
You can refer to liks which explain java proxies in detail:
http://help.sap.com/saphelp_nw04s/helpdata/en/97/7d5e3c754e476ee10000000a11405a/frameset.htm
Advantage is that all java application interact with Xi without any special adapter.
regards,
ujjwal kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Application which runs on java.
if u see the second link which has given u the business scenario where the a request from a JSP page is send to SAP Exchange Infrastructure, which forwards the request to a database and fetches the response from data base. The request contains the username and password and the role is returned to JSP as response.
chirag
Hi,
While we are dealing with the JAVA Based Applications then we will use JAVA Proxies
Like When we are dealing with ABAP Based systems we use ABAP Proxies
Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 1
Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 2
Regards
Seshagiri
Edited by: N V Seshagiri on Jun 17, 2008 11:51 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Java proxy-1 /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
java proxy-2 /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
JAVA PROXY-3 https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd2...
ABAP proxy /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
You can refer to the articles by Mr. Sudhir on java proxies-
Also follow the link-
http://help.sap.com/saphelp_nw04/helpdata/en/97/7d5e3c754e476ee10000000a11405a/frameset.htm
/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
Thanks,
vijaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Java proxy are used to intergrate Xi with java applications.
refer the below links for java proxy:
java proxies
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.