Connectivity between applications

Hello,
I have two different aplications, one made with Forms 10g (Web Enabled) and in the other side one developed with Java, JS and XML, both running in the same OAS and using the same DB.
Now, I want that my Web Enabled application can call some of the modules I have in the other application, but Im not sure how to do that:
Using Java or JS code in an object trigger
Using other type of events.
I dont have experience with the applet that loads the Forms in the browser, so I have a lot of questions.
If someone have any idea how to do that, ill appreciate your help.

Hi,
you have to options for this integration
- direct access to the Java class on the server
- access the server side Java classes as Web services
Both work with the JavaImporter functionality in Forms (see online help for more information). I think best practices for such an integration is to use Web services wrapper for the functionality of your J2EE application
Note that a client side integration doesn't make sense before we introduce the JavaScript API in Forms 11
Frank

Similar Messages

  • How can i make a connection between an application and a database over net

    dear sir
    how can i make connection between an appliction and a database over internet while the client side appliction is behind proxy and firewall
    for example how the live update of norton antivirus makes connection to the data server to make comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

    The ability to do so depends entirely on the JDBC driver implementation having some proxy method. It needs to recognize the HTTP or SOCKS proxy and use them to connect, and the firewall and proxy need to allow those specific port connections.
    To the best of my knowledge, all of these update utilities, e.g. live update for Netscape, Norton, etc., do not connect directly to the database. As it is, no sane security person would allow a database to be exposed to the Net. Rather, they connect using HTTP or HTTPS, which normally traverses firewalls just fine, to connect to a Web or application server on the far end. That application server then parses the request and retrieves whatever it needs to from the database.
    In other words, you cannot have a 2-tier client/server application. You need a 3-tier application:
    your client -> Web/app server -> database
    where the connection from your client to the Web/app server is over http or https through the firewall and proxies.
    Hope this helps.
    Avi
    dear sir
    how can i make connection between an appliction and a
    database over internet while the client side
    appliction is behind proxy and firewall
    for example how the live update of norton antivirus
    makes connection to the data server to make
    comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

  • How to make a connection between an application and a Coherence Grid?

    Hello,
    We're starting with Oracle Coherence.
    How do I connect an application (for example running in JDeveloper) to an existing grid?
    I used the following tutorial to get started with Coherence.
    http://www.oracle.com/technology/pub/articles/vohra-coherence.html?msgid=6521631
    Within JDev an Coherence instance is started, data is entered and queried.
    Next I'd like to connect this to a running Coherence instance, (started with [Coherence home]\bin\coherence.cmd)
    When I start the coherence.cmd and run the application from within JDev, I can see a connection is made
    Map (?):
    2008-05-13 13:15:24.667 Oracle Coherence GE 3.3.1/389 <D5> (thread=Cluster, member=4): Member(Id=5, Timestamp=2008-05-13 13:15:24.484, Address=10.35.1
    4.150:8090, MachineId=10134, Location=process:4612@WBNL71033) joined Cluster with senior member 1
    Map (?):
    2008-05-13 13:15:24.934 Oracle Coherence GE 3.3.1/389 <D5> (thread=Cluster, member=4): Member 5 joined Service DistributedCache with senior member 5
    Map (?):
    2008-05-13 13:15:25.630 Oracle Coherence GE 3.3.1/389 <D5> (thread=Cluster, member=4): Member 5 left service DistributedCache with senior member n/a
    2008-05-13 13:15:25.630 Oracle Coherence GE 3.3.1/389 <D5> (thread=Cluster, member=4): Member 5 left Cluster with senior member 1
    I am, however, not able to retrieve the data which is entered via JDev.
    (1) What do I need to do to distribute the data entered via the Jdev application to the Coherence grid
    (2) How can I get access to the data within the Coherence Grid(do I need to to change the Cache, Map or something else)?
    Thanks in advance
    Regards Leon

    Hi Leon,
    In order to see the entries created by the sample application within JDev, you will need to do several things:
    1. Ensure that at least one storage enabled Coherence node is running, by executing cache-server.cmd at least once (coherence.cmd starts storage-disabled console only).
    2. Run coherence.cmd and change to the appropriate cache from the console:
    Map (?): cache VirtualCache
    (the name should be the same as the one defined in cache-config.xml and Java code)
    3. Execute commands against the cache:
    Map (VirtualCache): list
    This should give you a list of all the entries within a VirtualCache.
    HTH,
    Aleks

  • Connection between CRM back end and ASP front end website for Ecommerce

    Hi All,
    I want to establish the connection between a ASP website and CRM back end server(we are replacing th existing ERP back end system with SAP CRM ).
    I want to know whether I have to go with XI or any other connectors provided by SAP to establsih the communication between the existing ASP website and CRM back end server..
    Can anyone please help me out.
    Thank you,

    Okay here is the general concept for your scenario:
    -You will call standard/custom RFC's(could be BAPI's) in the CRM system from the existing application. 
    -You will need to write a new model layer in your ASP application that calls the RFC layer in CRM
    -You decide what data you want to use from CRM in your application
    Let's assume at minimum you will want to use the product master, business partner master, and business transactions.  You will need RFC's/BAPI's for every interaction point where you will consume/publish data to CRM.
    So when an user creates an order from your e-commerce site, you will need to support saving an order in CRM.  This is example of how you need to map out each function in your existing site to a part of the CRM system.  Since we don't know what your site currently does, this is something you would have to do.
    Once you have mapped out the business level data to the CRM system, then you can evaluate where you will need a BAPI and/or RFC call.  Once that is done, then you can look at the CRM system and see what standard pieces can be called.  Then everything else is custom development.  Your ASP application will call CRM via RFC. 
    It is possible to do what you want to do, but it is going to require a lot mapping work and a fair amount of development effort to integrate the two pieces.  I don't know if you might be better off looking at the SAP Internet Sales Solution instead so you could focus only customizing that application, instead of worrying about an integration problem.  It just depends on how much special functionality your existing e-commerce site has today.
    My general recommendation would be for you to hire a consultant that has done an SAP e-commerce project using SAP CRM in the past and let them guide you on the implementation issues.  An on-site resource could better answer your "high-level" questions.
    However if you have more questions please ask and I will try to answer to the best of my knowledge.
    Good luck,
    Stephen

  • Regarding connection between front end HTML and back end SQL 7.0

    Hi!!
    I am working on the project 'ERM'. I have designed 12 forms using HTML. Can u please give me brief idea how to establish the connection between a back end and front end i.e. between HTML and SQL 7.0. If possible can u provide me the source code for the same.
    I will be very thankful to you.
    Thanks,
    Jigar.

    Read up about multi-tier applications.
    You need servlet and JSPs for the server-side presentation layer, some classes for the business logic, and some mor for the persistence layer either using JDBC or some framework like Hibernate.

  • Open connections between AS Java and AS ABAP when using JRA

    Hi, we have a problem with open connections and hope that someone here could give me hint where to find a solution.
    The situation is that we open a connection from a Java application to an AS ABAP. In detail, the application first connects to a statefull session bean on the AS Java by RMI. The bean communicates with the associated AS ABAP by the Java Resource Adapter (JRA).
    All interactions between all components work correctly. But even after we close the application, manually close of the connections (on side of the AS Java) , remove all created and used session beans there are still open connections between the AS ABAP and the AS Java.
    The transaction smgw (Gateway Monitor) shows open connections from jlaunch to our local SAP gateway using the internal communication protocol. Obviously, the established connections are not closed, even when they are open for a week or longer.
    After opening 100 connections, the AS ABAP denies additional connection attempts.
    We have been able to close all open connections by restarting the AS Java or by restarting the Connector over the Visual Administrator (path: Cluster – Server – Services – Connector Container – “select the right connector” – stop / start).
    We have developed our application similar to the tutorial from [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4]
    Can someone explain to us why the connections stay open for so long? Is there no timeout mechanism? Or is there some way to close the connections from our Java application?

    Hello,
    maybe someone can help us with our problem.
    We have developed our application similar to the tutorial from https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4 and it was running without problem with the SP12, now we change our system to SP16 and we are having the problem described in note 1083348, but as you can see, for us it was working with SP12 and now it doesn't work with SP16....
    Here is part of our code....
        public List getAll() {
            String functionName = "bla";
            try {
                openConnection();
                MappedRecord response = (MappedRecord) interaction.execute(null, request);
                MappedRecord record = (MappedRecord) response.get("E_S_RETURN_CODE");
                if (((String) record.get("RETURN_CODE")).equalsIgnoreCase("E")) {
                    throw new SQLException((String) record.get("RETURN_TXT"));
            catch (ResourceException exc) {
                throw new EJBException(".");
            catch (SQLException exc) {
                throw new EJBException(".");
            finally {
                closeConnection();
        protected void openConnection() {
            try {
                connection = connectionFactory.getConnection();
                interaction = connection.createInteraction();
            catch (ResourceException exc) {
                interaction = null;
                connection = null;
                throw new EJBException(getExceptionText(exc));
      protected void closeConnection() {
           try {
                if (interaction != null) {
                    interaction.close();
                if (connection != null) {
                    connection.close();
            catch (ResourceException exc) {
                throw new EJBException(".");
    With that code we are getting this error: "Connection handle is already closed and no longer associated with a managed connection" everytime we try to close the connection in the method closeConnection().
    We were thinking that maybe we should not close the connections, because the were already close, and tried not to close the connection (connection.close()), but then after a few time we are getting the following error, because we are not closing the connections:
    Connection to ABAP System could not be opened, because the Connection Factory returns "Cannot get connection for 120 seconds. Possible reasons: 1) Connections are cached within SystemThread(can be any server service or any code invoked within SystemThread in the SAP J2EE Engine), 2) The pool size of adapter "eis/..." is not enough according to the current load of the system or 3) The specified time to wait for connection is not enough according to the pool size and current load of the system. In case 1) the solution is to check for cached connections using the Connector Service list-conns command, in case 2) to increase the size of the pool and in case 3) to increase the time to wait for connection property. In case of application thread, there is an automatic mechanism which detects unclosed connections and unfinished transactions.". Please check the connection defined for the Connection Factory of the Java Resource Adapter with JNDI name...
    Any help?

  • Can someone please tell me a simple but effective method for burning a slideshow to DVD? Now that the connection between iPhoto and iDVD no longer exists, I can't figure out a way to get there with an acceptable quality result.

    Can someone please tell me a simple but effective method for burning a slideshow to DVD? Now that the connection between iPhoto and iDVD no longer exists, I can't figure out a way to get there with an acceptable quality result.

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailier like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    OT

  • Connectivity between SAP ECC system and SAP BI

    Connectivity between SAP ECC system and SAP BI
    Hi BI-experts!
    I would like to load e.g. transaction data from SAP ECC system into SAP BI system.
    The Loading process is hanging in processing step u201CSERVICE APIu201D.
    The process  in hanging in status "yellow" and then changed after a while to status u201Credu201D.
    [0FI_AR_4 |http://www.file-upload.net/view-1447743/0FI_AR_4.jpg.html ]
    The following steps within Load process are yellow and then red:
    Extraction (messages): Missing messages
    Missing message: Request received
    Missing message: Number of sent records
    Missing message: Selection completed
    Transfer (IDocs and TRFC): Missing messages or warnings
    Request IDoc : Application document posted (is green)
    Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
    Info IDoc 1 : sent, not arrived ; Data passed to port OK
    Info IDoc 2 : sent, not arrived ; Data passed to port OK
    Info IDoc 3 : sent, not arrived ; Data passed to port OK
    Info IDoc 4 : sent, not arrived ; Data passed to port OK
    Subseq. processing (messages) : Missing messages
    Missing message: Subseq. processing completed
    DataStore Activation (Change Log) : not yet activated
    Question:
    Can some one tell me whether my distribution model or other settings are wrong?
    I created 2 distribution model (BD64), one from SAP BW system and other from SAP BI system with message types RSRQST, RSINFO, RSSEND
    Thank you very much!

    Hi Holger.
    this issue is related to the RFC but not the one which is communicating from BI to R/3 rather the one which is communicating from R/3 to BI follow these steps.
    1. check your BI system logical name from the myself source system.
    2. go the ECC and run the transaction sm59
    3. go the ABAP Connection folder and search for your RFC which name would be by default as per your BI logical system name.
    4. double click it and edit it now check whether the Target hostname or ip is OK.
    5. In the logon tab check the client number User and password settings.
    Save it and test it with both Connection Test and Remote Logon.
    if every thing work fine i hope your problem will be solved.
    kind regards,
    Zeeshan

  • Connectivity between Oracle database and client...

    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.

    user11000521 wrote:
    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.You probably should do a cost/risk analysis. Where you are headed might be able to be done (but it will require that the "clients" also have their own copy of the database) but it won't be easy and it certainly won't be cheap, either in initial implementation or in on-going maintenance. The alternative is to take a hard look at your network connections and see if it wouldn't be cheaper/easier to be able to ensure that it is reliable. Remember "the internet" won't break, it is highly redundant. If you have connectivity issues, they will almost certainly be in your own equipment and configurations, so your (your organization) will have the ability to address and fix any issues there.

  • Ports to open to enable connection between TVN staged env and SAP

    Hi,
    What the ports to be opened to enable connection between SAP TVN stage environment and SAP ECC...

    Hi Abi,
    I have implemented STVN products in 10 or 11 clients and have never had to do this. The SAP .NET connector (or SAP JCo for Java version) handles the connection between the STVN apps and the SAP system and no port is usually opened. The default port for the application, if you have not changed the IIS website, will be port 80.
    I hope that helps.
    Kind regards,
    Luke

  • Remote connection between two macs.

    I'm trying to set up a remote connection between my iMac and my MacBook so I can share them over the network. On the MacBook's Terminal I'm entering the following command: "ssh username@hostname" witch is supposed to let me remotely login into my iMac, after a few seconds the command line prompt me with this message: "connect to host 1.2.3.4 port 22: Operation timed out". What am I missing?

    This forum is for troubleshooting Apple Remote Desktop, Apple's application for managing networked Macs. You should post your question in the OS X networking forums:
    http://discussions.apple.com/forum.jspa?forumID=1222

  • Gig DWDM connection between 2 x 3750's

    We have a customer that has a gig DWDM connection between 2 cat3750's. The interfaces are SMF.
    He is complaining of throughput issues. He has a pair of AIX servers transfering a file between them using we believe RPC (not 100% sure). If he does it across the gig link he gets 300mbps, if he does it across a single switch or across two switches locally connected he gets 700mbps. I have checked the cfgs, and fibre connections and interface errors. they have also used spare 3750's to do the test again. Not sure if the transfer suffers in both directions. They are not using oversized frames. We have not replaced the GBIC's yet.
    The links have been tested by ISP, and show now issues, the tets results show now latency. The 3750 code is SEC.
    Any ideas

    Is MLS QoS enabled on the switch by any chance?
    I expirienced trouble with 3750 using 1000-BASE-SX and 1000-BASE-LH lasers that gave poor peformance with file transfers.
    This was the case on switches that had MLS QoS enabled for IP phones.
    The symptoms are described in bug toolkit CSCeg29704. There is a workaround. Upgrading to 12.2(25)SED or higher resolves the problem.
    Release Notes
    After enabling QOS on 3750 and 3560 switches, certain application (mostly bursty
    and TCP based) experience significant performance degradation due to unexpected
    packet drops on some of the egress queues.
    This is due to initial default egress queue threshold settings
    (when qos enabled) not optimized for this type of traffic pattern.
    This initial default queue threshold settings (when qos enabled)
    thus need to be changed to accommodate these traffic.
    Workaround:
    Tune the egress queue thresholds parameters to
    allocate more to the affected queues.
    Specifically, egress queue 2 thresholds need to have the following settings:
    Thresholds1 = 200
    Thresholds2 = 200
    Reserved = 50
    Maximum = 400
    e.g.
    mls qos queue-set output 1 threshold 2 200 200 50 400
    mls qos queue-set output 2 threshold 2 200 200 50 400
    HTH
    Leon
    * Please rate useful posts.

  • Connection between 2 points in a geodetic coordinate system

    In a geodetic coordinate system the connection between two points is a geodetic line or "great circle" (the shortest connection between two points on the surface of the earth).
    Since Oracle 9i distances and queries like "Is a point outside or inside the polygon" are computed correctly for a geodetic coordinate system.
    Even though a circle or arc is not allowed in a geodetic coordinate system (like WGS84 - SRID 8307)
    arcs and circles are used in geographic applications like aeronautical maps.
    Frequently a special area is defined like this "10 nautical miles around airport XXXX"
    and this area is shown as a circle in aeronautical maps (in the projection).
    The function SDO_UTIL.CIRCLE_POLYGON (in Oracle 10g) is very useful to construct such kind of areas and for queries like
    "Does the area belonging to airport XXXX overlap with the area belonging to airport YYYY?".
    For Oracle 8i we had to write special PL/SQL code.
    Another type of connection between two points that is frequently used is a line of equal latitude (parallel).
    Many boundaries are defined like "from meridian (longitude) 30°E to meridian 31°E along parallel 47.5°N".
    If this line is a border of a polygon and if we use a direct connection (geodetic line) and we ask if a point is
    inside or outside the polygon, we will not get the correct answer if the point is close north to this line.
    We have to approximate the line and add points e.g. every 0.1° longitude (30.1,30.2,30.3...), then the answer will be correct.
    My question:
    Are there plans to support circles of equal latitude or generally rhumb lines as a type of connection between two points?
    Karl Mann

    There are no plans to support rhumb lines, also know as loxodromes, and including the special case of parallels of latitude, at this time. Note that it is easy to simulate such rhumb lines with a sufficiently dense set of sampled points. Such a densification is implemented implicitly for parallels in the VIEWPORT_TRANSFORM function so that the concept of the "geodetic minimum bounding rectangle" can be supported, primarily for visualization applications.

  • How to set connection between oracle forms and DB?

    I have installed win xp,
    oracle database 10g in c drive ,
    oracle forms and reports 10g in d drive ,
    how do i set the connection between forms and DB ?
    i know its an old question but i am very new to this !
    thanks in advance.

    You didn't mention the versions or whether you are using Developer Suite or Application Server. I guess it really doesn't matter in this case, but please provide complete information in the future.
    In order to connect the F/R home to a db you will need to make the appropriate configuration entries in tnsnames.ora found in the F/R home (\NETWORK\ADMIN). The entry you add will be similar to the one found in the tnsnames.ora for the db which is found in a similar directory in the db home. The entry will look something like this:
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myMachine)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = myMachine)
      )

  • Live/realtime connection between WebI and Xcelsius

    Hi,
    is it possible to have some kind of a live connection between WebI and Xcelsius for the following scenario...
    I need to have my WebI report made availabe as an Xcelsius Dashboard and when I filter a value in the dashboard it should also get filtered in the WebI report. Is this possible and if so then how?
    Pls help.
    Thanks,
    SD
    Edited by: Sebastian D'Souza on Feb 22, 2011 11:39 AM

    Hi Sebastian,
    Yes this is very possible. Of the three connection methods (QaaWS, Live Office, BI Services) I would recommend BI Services for flexibility, speed to set up, and speed for query refresh times.
    Check out this post for a step-by-step guide http://blog.davidg.com.au/2011/03/drill-down-in-xcelsius-using-bi.html
    And refer to the Webi Rich Client guide in the section "Sharing Web Intelligence content with other Web applications" for the full details of how this works.
    Hope this helps.

Maybe you are looking for

  • Object placing on a terrain

    I'm new to java and am especially interested in game programming. I started making a game to learn some basics of game programming, where I came to an obstacle I couldn't find a solution for. So far I made a "ball" positioned in the center of the app

  • How do I reconnect my iTunes with the files?

    So my wife, after not using iTunes for awhile, opened iTunes to find absolutely nothing at all. No lists of any artists or songs at all; it was like we just bought a new Macbook and opened iTunes on it. All her media files are on an external drive (m

  • .wbmp pictures does not show up, why ?

    Hello, Problem: I have created a Java servlet which produces a WML card with text and an command to load .wbmp picture (see code below). I have tested the WML card without servlet (loaded it straight from hard disk), and it works fine. The problem oc

  • UAD Xpander and Mac Book Pro

    Hi, I'm thinking about taking the UAD plunge with the Xpander product. ANyone have any experiences, pro or con? I see there are probs with the UAD PCI cards and 8-cores -- anything similar with Xpander and MBP?

  • RAW Camera updates for CS3

    HI Folks, I'm using the CS3 Web Premium suite with Photoshop CS3.  I am having trouble importing RAW camera files for one of the newer OLYMPUS SLR's.   All the recent Adobe RAW updates seem to be only for CS5. Where can a person get support for CS3?