How to establish communication between webapplications on the j2ee

Hello,
we have two applications on the j2ee.
Is there any possibility to exchange informations that are saved in the session between those two applications?
Can you use the session id of one application to access the session data from the second app?
Thanks and best regards,
Jens

Hello Jens,
There are many ways to communicate between two J2EE applications. It depends on what you are trying to achieve. Johathan has mentioned already web service. Two other options recommended by sun are JCA (used mainly for synchronous invocations of EIS) and JMS (used for asynchronous invocations and loose coupling between your two applications). 
Here is a link that perhaps can be useful to you :
http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/eis-tier/eis-tier4.html
Since both JMS and JCA are part of the J2EE specification, they are available and come with the WebAS server. There are many tutorials and examples on the net as well.
Best Regards
Peter

Similar Messages

  • How to establish communication between dynpro and Applet running in Portal

    Hello SDN,
    I have a problem with concept of my app and would be glad if You can help me. 
    -  I needed a graphics engine to draw a map during a dynpro runtime, and i made applet for it because dynpro don't offer suitable api.
    Map have to show some data from Bussines Warehouse and R/3 and also have to return coordinates onMouse click to dynpro app.
    My question is how to pass params from web dynpro app to applet and receive coordinates after mouse click on map.
    I made dynpage and placed my applet inside for EPCF but don't know how to use it in applet?

    1. First of all set up the Rfc connection between System A and System B.
       If you are calling the function module which is avlaible on Syetem A  and calling in system B. In system A, go to SM59 opt for R\3 connection and give all the details in "Technical settings" and "logon & Security" tabs and test your connection. If you are returning any value Back to system A , make the same settings in system B.
    2. While creating the Function module check the Radio-button "Remote-Enabled Module" in the attributes tab.
    3. Call function <function-name> Destination <Destination-name>.

  • How to Establish communication between two R/3 systems.

    Hi experts,
    I have a requirement in which I have a group of programs on a R/3 system A.Now, I need to execute those programs on another R/3 system B.
    For example,
    I have developed a program which performs syntax check on all the existing programs in the sysytem A.
    This program is developed on system A. but my requirement is that I should execute this program on system B and find all the syntactically incorrect programs on system B.
    How do I achieve this
    Please provide solutions.

    1. First of all set up the Rfc connection between System A and System B.
       If you are calling the function module which is avlaible on Syetem A  and calling in system B. In system A, go to SM59 opt for R\3 connection and give all the details in "Technical settings" and "logon & Security" tabs and test your connection. If you are returning any value Back to system A , make the same settings in system B.
    2. While creating the Function module check the Radio-button "Remote-Enabled Module" in the attributes tab.
    3. Call function <function-name> Destination <Destination-name>.

  • HT1343 how do I switch between windows in the same programme?  I know that I can use Command tab, however this takes you through all of the programmes that I'm using. What I need to do is have a shortcut to switch between windows in the same programme.

    how do I switch between windows in the same programme?  I know that I can use Command tab, however this takes you through all of the programmes that I'm using. What I need to do is have a shortcut to switch between windows in the same programme.  For example if I'm in Excel and have 5 windows open I want to be able to scroll between each window of Excel only with a shortcut.
    Please help!

    Command and ~ keys to tab between open windows.
    Technically it is the Grave Accent ` (aka reverse quote) under the tilda ~ key.  Tilda ~ is shifted, and Grave Accent ` is not.
    Command-Grave Accent

  • How to apply transitions between clips in the same track?

    Hey guys,
    I'm in Uni on Final Cut Pro 5 and all the videos and discussions tell of how to apply transitions between clips in the same track.
    I like to have my clips on different tracks so that I can overlap them at specific points but I don't know how to do this?
    If I have track one. . .which ends. . .and have track 2 beginning below that (and have it overlapped for a few seconds) I don't know how to enable the transition at the point where track 2 begins.
    Can anyone help?

    Yep I understand that.
    Let's say I overlap track 2 as I don't like the beginning of it. . .so I want the transition from the end of track one to track two to occur in the middle of track 2 - should I just trim the track to the point I want the transition to occur as opposed to have it overlapping?

  • How to establish code standards to make the abap code more readability

    Every programmer have their habit to code, but this lead a problem , it is difficult to read other people's code, especially the complex logic.
    So how to establish code standards to make the abap code more readability?
    I came up with this:
    1.Unify the naming rule.
    2.Reduce the nest of 'if' statement. (better in less than 4 if statement in one block )
    3.Use more Perform to replace the big code block.
    Is there any other standards to make our abap code more readability ?  (if we establish the standards, in sap is there any tool to help us to follow the rule we set ?)

    There are a number of things you could do. Some of which are:
    I would recommend creating your own in-house document on Coding standards, some of which you can control with the code inspector.
    It is also possible to set up the transport request in such a way that objects that do not pass the SCI test are not allowed to be released.
    I would also assign a senior developer to act as quality control for all developments. You can have a rotation scenario where this work can be divided by the number of senior developers you have.

  • Communication between thread in the same process using file interface.

    Hi,
    I am developing  driver and i need to communicate between two thread.
    >can anyone guide me on implementing communication between two thread in the same process using File Interface. First thread will be driver and second will be application.I need to send IOCTL like commands using File interface ie is WriteFile(),ReadFile()
    from Host process to driver through file-interface(which run's in driver context).Host process should not be blocked for the duration of the driver to process the command.
    >File-interface will run in driver context and it will be responsible to receive command from application and pass it to the driver.
    what are the complexity introduced?
    >Can anyone also give me the link/reference to get more information on this topic?
    >How to replace IOCTL command's for instance baud _rate change command with a file interface for example with IRP.

    Here  is the detailed query:
    Hardware Abstraction Layer will interact with Driver(Both will be running in complete different process) .there is a IOCTL for command and  File interface for read and write.
    My requirement is:
    Both should run in the same process so HAL will run as one thread and driver as another thread in the same process .I don't want HAL to wait for completion of request and also i don't want driver to be blocked .
    We are planning to use a File Interface for communication between Hardware abstraction layer and Driver
    HAL will send the command or read/write operation to a file interface and driver will get the command or read/write request from the File interface
    There is a flexibility to change Hardware Abstraction layer and also the Driver
    Is it possible to use IOCTL between two thread under same process? if not what other options do we have.
    Can we use File interface to  send command (like IOCTL) between two thread?

  • Establishing communication between Axway and Sun See Beyond

    Im trying to dummy up a sample Java program that could be called from the comand line in Axway, and insert data into a JMS IQ as a new message. The data being inserted would be dynamic, as it would be passed in from the Transfer Agent. I'm not sure how much data will need to be passed in, but for now I would need at least 2 fields: Filename (with full path), and a customer ID. Both would be Strings. Is this plan to establish communication with see Beyond and Axway feasible? how would I do this so when the Axway command prompt comes up i can just insert a java class with filename and a customer id #. Any help would be appreciated.

    From the JMS IQ this seems possible, but I don't know Axway. When you say the command line, can you actually do a test, create a shell script and pass it the two parameters you want? If this works, then yes, your approach would work. But Does Axway provides an API? The problem with shell scripts is the error recovery is not as easy as an API...
    TE

  • How to establish connection between two different IP Range

    Hi All,
    Currently in my office  there are two different ip range that we are using one for the Wi-FI(192.168.1.X) & 2nd  for local machine & servers 192.168.2.x series ip.
    In current situation if any Wi-Fi user(Laptop User) wants to communicate with local machine or server then he has to switch from Wi-Fi to Lan.
    So is there any way to provide communication between Wi-Fi & local network.
    if this happen then there will be no need to switch from Wi-Fi to Lan, Wi-Fi user who has ip range 192.168.1.x is easily communicate with local machine & server(192.168.2.x).  
    Shailendra Vishwakarma

    Thanx for the reply..
    In my office i am using Microsoft Thread management Gateway(Software Firewall).
    Can i set Security like as below,
    Users can connect Wi-fi Network but they would not able to access  internet but  they should be able to access for local network & for the internet they should go via Microsoft Thread management Gateway.
    Thanks,
    Shailendra Vishwakarma

  • How can I differentiate between calendars on the notification center

    I have my calendar, and my wife's calendar on my phone so we can be sure to not double book ourselves.  In the notification center, I can see appts for both calendars, which is great, but how can I differentiate between calendars?  There is no indication that one appointment is mine versus another being hers.  Thoughts?

    You can do this face-to-face, or in writing.

  • How do I share between users on the same macbook?

    I have a brand new macbook... the tool at the store wouldn't let me test drive this computer without him first putting a user account in place other than administrative rights (makes no sense to me either) Anyway, I set everything up under this username and now I have established another Admin account under MY Apple ID... as it still references his name in all of the root files. I am pretty intuitive in how to handle this issue......if it were a PC... bare with me . I'm learning.
    I surmise that I am able to back everything up and simply wipe the computer as a fix but I am trying to do everything short of that if possible....
    HELP!!!!

    Users -> Shared folder allows you put files in a folder both users can see on a Mac.

  • Communication between MIDlets within the MIDlet suite.

    Hi Friends,
    I'm using WTK 2.2. I'm planning to have two MIDlets within the same MIDlet suite.
    I had two MIDlet files but after creating the Jar package , In the display screen, Only one MIDlet is displayed for launching.
    Please guide me the steps. If there is a local variable int i; then, how I do check the value of the variable between the different MIDlets?
    Please guide me on the steps .
    Thanks,
    Ravi.

    Here's the source code:
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.lcdui.*;
    public class A extends MIDlet
         public int i=10;
         public A()
         protected void startApp()
         protected void pauseApp()
         protected void destroyApp(boolean unconditional)
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.lcdui.*;
    public class B extends MIDlet
         public B()
         protected void startApp()
              A a=new A();
              a.i=10;
              System.out.println(a.i); //throws SecurityException at this line.
         protected void pauseApp()
         protected void destroyApp(boolean unconditional)
    }

  • How can I distinguish between applets from the servlet end??

    What I'm looking for is just a way to distiguish between one applet from another on the servlet side. I know the session name and id will be helpful in this case. I was wondering, can I get the name of the client applet(Ex: appletClientOne or appletClientTwo) so that I can keep track of which messages to send to specific applet.

    Yes. Store the name of the applet in a cookie or HTML hidden input tag. Your other option is to connect to different URL's on your Servlet. Finally, you could use a combination of the above, and then set which applet a user is using in his/her HttpSession.
    - Saish

  • To establish communication between pc one (isa) pc-cardand computer externally

    Dear Sir
    I want to connect a pc - (ISA) card to computer externally. Can you help me about this topic please?
    Your Sincerely

    Hi,
    This discussion forum is focused on GPIB communication and programming.
    It seems that you're interested in the details of the ISA bus. If that is not the case, could you describe in more detail what you're trying to do.
    DiegoF.

  • How to establish connection between mac(Ichat) and PC

    I'm the happy owner of a brand new Isight camera.
    I want to establish contact to my father in Poland.
    He owns a PC.
    Wich kind of account and messenger should he use in order for me to be able to speak with him via Ichat?
    Yours in advance
    K Kidon

    Hi,
    Also look at http://discussions.apple.com/thread.jspa?threadID=406147
    11:42 PM Thursday; April 13, 2006

Maybe you are looking for

  • Not Be able to Close Purchase Orders with different Buyer ID

    We have open Purchase Orders in system created by different buyers & now these Buyers are no more exist or there User ID has been disabled, now pls guide us how we can close those Purchase orders by using single User ID. Pls note that we have many op

  • Vendor Milk Supply Payment

    Respt. SAP Sir we  r implmenting SAP in Dairy Indrustry . i m geting this problem,how could i manage this deductions in vendor payment. Process: when vendor supply milk that milk rate depends up-on FAT & SNF (Solid Not Found ) as per Govt. rule. Or I

  • I need the exact width and height of the 12" Apple Lisa screen.

    Does anyone have a bezel or a whole Lisa? I need the width and height, at their widest (center measurements) for the screen opening. Thanks very much!

  • MOVING mp3-files from external drive into iTunes automatically

    Hi all, for historical reasons (mainly because I was coming from Windows years ago) I have stored all my mp3-Files (audiobooks, songs, etc) on an external harddrive. My iTunes library is stored on the external drive, too and all media content in my i

  • Why I cannot export the videos of my iPhone to my iMac?

    I have an iPhone 4, updated to iOS5, and iMac with Lion OX. My problem is: everytime that I passed the photos and videos from my iPhone to my iMac, via iPhoto (I do not know any other way) the movies that I recorded with my iPhone don't work in my iM