How to communicate in Two JVM

In one client, from the main windows, open two sub-windows.
When open the two sub-windows, I want use different JVM. But I does not know how to communicate in two JVM each other.

I mean, While Java program running on default JVM,
you can create another JVM using JNI Not with the Sun VM you can't. It will not create another VM.
and then call
functions specifying the JVM on which that function
has to be executed. I haven't tried creating JVM
using JNI call, but there is a function to do so.And it will fail if a VM already exists in the same application.

Similar Messages

  • How to communicate between two servlet applications.

    I want to write a program that the system manager can see who is connecting the server.
    the system manager login the server via the browser with applet.
    the applet communicate with servlet .and the servlet work in the server get the customer message such as username ,Ip address etc from other servlet.
    how to realize it .?
    can you give some advice .
    I appreciate you .
    thank you

    Look at, http://forum.java.sun.com/thread.jsp?forum=54&thread=262144

  • How do I enable two wireless clients to communicate with each other?

    I have a WRT54GL with the latest firmware.  I have two computers which are both connected to the router, with IP addresses assigned via DHCP.  Neither has a firewall running.  I cannot get them to communicate with each other -- even ping doesn't work.  I can ping the router itself using the IP address assigned to it on the WAN side by my ISP.   Both computers have no problem reaching the internet through the router.
    What settings on the router will enable the communication to occur?  I can't find anything in the router's user interface which appears to control this. 
    Thanks.
    Solved!
    Go to Solution.

    Hi annie25,
    I think it would be best to check on netgear or belkin technical forums how to make these two talk. 
    Yesterday is history. Tomorrow is mystery. Today is a gift.

  • How can I communicate between two simulated software

    Hallo,
    I have confusion regarding this topic "How can I communicate between two simulated software".
    1: PC with CAN simulation
    2:  PC with AFDX Simulation
    Now i have to communicated these two pc with each other.
    How can i communicated? which module from ni is best for it.
    thanks in advance
    BR

    I recommend looking at the Simple Messaging Reference Library that NI has released.  Use the TCP/IP version of it.
    FYI, TCP/IP is a communication protocol that is used to communicate between two computers.  It is what the internet uses.  So you just need a network switch or router between your computers and you can talk to each other with their IP address.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to communicate two PC's with the serial port with Netbeans

    Do you know how to do it?
    Do you know how to communicate with the parallel port too?
    Could you give some ideas?
    What commands or instructions I have to use?

    What does NetBeans have to do with it?
    All these "people" today that start out in Java using all these "nifty" IDE's. All it does is produce exactly this. They think their IDE is Java. Once they no longer have their one specific IDE in front of them, they can no longer function. They have no idea what the classpath, what the compiler actually does, how to package a jarfile, hell, most of the time, they don't even know how to execute a simple application.
    As far as your question. Did you even try to Google for some Serial port API package? Assuming you did, did you download it and read the documentation that comes with it? Did you search for a few examples on the web? Did you read them? Did you try them? I can almost guarantee that the answer to everyone of those questions is "no". So, my question for you is, "Why should we help you?" You obviously have no desire to help yourself, so I think we should reciprocate in kind. Don't you?

  • Configure two JVM's for Planning, Financial Reporting etc

    Hello Gurus,
    Is there a way we can set 2 JVM's for Planning, Financial Reporting, etc as mentioned in the
    Performance Tuning Guide for 11.1.2.1
    https://blogs.oracle.com/pa/resource/Oracle_EPM_11_1_2_1_Tuning_Guide_v4.pdfunder the topic --
    *2.3.1.2 One-JVM (64bit) vs. Two-JVMs (64bit) on 64bit OS*
    If so how can I do it? Any documentation for the same?
    Any help will be highly appreciated.
    Thanks,
    hyperionEPM

    Hello Gurus,
    Any updates??
    I have gone through John Goodwin's blog for EPM 11.1.2.3 - http://john-goodwin.blogspot.in/2013/05/epm-11123-vertically-scaling-java-web.html
    but I am looking something similar for 11.1.2.1
    Thanks,
    hyperionEPM

  • How to communicate between UNI ports?

    Hi
    I have a new  ME3400 series switch with IOS (me340x-metrobase-mz.122-37.SE1), it has 24 fastethernet and 2 gig fiber uplinks
    Now all the ports except fiber uplinks are uni ports by default.
    So can't communicate with each other. Now i wishes to make them communicate while remaining in uni port-type.
    On forums the solution is to declare them as member of community vlan.
    My questions are
    1) can i no shut the secondry vlan interface?
    2) From which pool i have to give ip to my system either from primary vlan pool or secondry vlan pool?
    3) In both cases i can't communicate with the default gateway i.e: the ip of vlan even the port is member of community vlan. so how to communicate them while being in uni ports?
    The sh run of switch is below
    Switch#sh run
    Building configuration...
    Current configuration : 2088 bytes
    version 12.2
    no service pad
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    hostname Switch
    no aaa new-model
    system mtu routing 1500
    ip subnet-zero
    no file verify auto
    spanning-tree mode rapid-pvst
    spanning-tree extend system-id
    vlan internal allocation policy ascending
    vlan 100
      private-vlan primary
      private-vlan association 101-102
    vlan 101
      private-vlan isolated
    vlan 102
      private-vlan community
    interface FastEthernet0/1
    switchport private-vlan host-association 100 101
    switchport mode private-vlan host
    interface FastEthernet0/2
    switchport access vlan 102
    switchport private-vlan host-association 100 102
    switchport mode private-vlan host
    interface FastEthernet0/3
    switchport private-vlan host-association 100 102
    switchport mode private-vlan host
    interface FastEthernet0/4
    shutdown
    interface FastEthernet0/5
    interface FastEthernet0/6
    shutdown
    interface FastEthernet0/7
    shutdown
    interface FastEthernet0/8
    shutdown
    interface FastEthernet0/9
    shutdown
    interface FastEthernet0/10
    shutdown
    interface FastEthernet0/11
    shutdown
    interface FastEthernet0/12
    shutdown
    interface FastEthernet0/13
    shutdown
    interface FastEthernet0/14
    shutdown
    interface FastEthernet0/15
    shutdown
    interface FastEthernet0/16
    shutdown
    interface FastEthernet0/17
    shutdown
    interface FastEthernet0/18
    shutdown
    interface FastEthernet0/19
    shutdown
    interface FastEthernet0/20
    shutdown
    interface FastEthernet0/21
    shutdown
    interface FastEthernet0/22
    shutdown
    interface FastEthernet0/23
    shutdown
    interface FastEthernet0/24
    shutdown
    interface GigabitEthernet0/1
    port-type nni
    interface GigabitEthernet0/2
    port-type nni
    interface Vlan1
    ip address 192.168.0.1 255.255.255.0
    no ip route-cache
    interface Vlan100
    ip address 10.10.100.1 255.255.255.0
    no ip route-cache
    interface Vlan101
    no ip address
    no ip route-cache
    shutdown
    interface Vlan102
    no ip address
    no ip route-cache
    shutdown
    no ip http server
    control-plane
    line con 0
    line vty 5 15
    end
    Any help will be apritiated and thanks in advance

    njb7ty wrote:
    Create two separate connection pools. Each one has its own url/userID/password to its own database. Example: If both are Oracle databases, you need the JDBC driver jar file in your classpath. You'll have to research how to create a connection pool.That is a pretty specific answer. Certainly inappropriate, for example, if the OP is attempting to just move records. Or compare records.
    Probably ony useful if the OP wants to present to a client data from two databases. But since the OP said "communicate" that seems unlikely.

  • How BAPI communicates with Non-SAP

    How a BAPI can communicate to non-SAP system? How to create one?

    BAPI communicates woth Non-SAP systems using RFC.
    RFC is very relative term in SAP they call it RFC, in other technology it can refered by a different term.
    The basic meaning of these terms is to communicate between two system in there binary form. It simply means that you can use the functionality of Microsoft Word, spell check for example without even knowing the code of it. Microsoft call it ActiveX technology.
    Even in Micosoft Visual Basic you need to follow some rule to make an application ActiveX enable so that its functionality can be reused in binary form. It similar to the restriction which we follow in SAP to make a function module RFC enabled.
    One more example, in java you can use the functionality of a code once you have the class file of it. You do not need its source code, Its called Byte code.
    SAP release class libraries for each type of platform (C, C++, Java, ActiveX) so that you can use those and make RFC calls. Here is the link for it
    [http://help.sap.com/saphelp_46c/helpdata/de/77/39594b622f11d2804b00c04fada2a1/content.htm|http://help.sap.com/saphelp_46c/helpdata/de/77/39594b622f11d2804b00c04fada2a1/content.htm]
    You can make a sample application in Excel Macro to call a RFC in SAP, see following link
    [http://sapass.metro.client.jp/Sap_Active_X/SapFunction1.htm|http://sapass.metro.client.jp/Sap_Active_X/SapFunction1.htm]
    PS: this is of my best knowledgw, please correct me if i am wrong

  • How to communicate with a server ?

    Hello.
    I'm an intern trying to find a RIA client to use with a Java application server. The server provides two ways to access data :
    - a HTTP servlet that deals with XML
    - a web service
    I can't find information about how to communicate with a server using JavaFX 2, so can you try to explain it to me ?
    I'm sorry if what I ask is stupid, but I'm not very familiar with these things, I'm just a student.
    Thank you.

    Hi,
    communicate with a server is not JavaFX speciffic. You can use any "Java way" to access web-services or http requests. Try Axis2, it creates you the client API from the WSDL (the webservices on your server should provide the WSDL), than you can use this created client API to access the web-service in your JavaFX application. (see: http://people.apache.org/~ruchithf/hw-axis2/). You should be aware that by default you are working on one Application Thread (JavaFX as well as Swing and SWT), so when your first poc. is running you should use the javafx concurrent api, to create non blocking requests (http://docs.oracle.com/javafx/2/threads/jfxpub-threads.htm).
    Andy

  • I am a teacher that has 3 personal devices and then 8 I use at school. How can I create two differnt accounts?, I am a teacher that has 3 personal devices and then 8 I use at school. How can I create two differnt accounts?

    I'm an elementary teacher that uses 9 of my ipad 2's at school and I personally have an iPhone, iPod, and iPad.
    How do I keep the accounts separate? I tried to create two apple ID's, using my home and school e-mail, but that isn't working. I don't know how to
    keep the two separate the two. Do I need to use a different name on the account?

    ktuttle64 wrote:
    I tried to create two apple ID's, using my home and school e-mail, but that isn't working.
    It should work.  That's how you do it.

  • How do I return two values from a stored procedure into an "Execute SQL Task" within SQL Server 2008 R2

    Hi,
    How do I return two values from a
    stored procedure into an "Execute SQL Task" please? Each of these two values need to be populated into an SSIS variable for later processing, e.g. StartDate and EndDate.
    Thinking about stored procedure output parameters for example. Is there anything special I need to bear in mind to ensure that the SSIS variables are populated with the updated stored procedure output parameter values?
    Something like ?
    CREATE PROCEDURE [etl].[ConvertPeriodToStartAndEndDate]
    @intPeriod INT,
    @strPeriod_Length NVARCHAR(1),
    @dtStart NVARCHAR(8) OUTPUT,
    @dtEnd NVARCHAR(8) OUTPUT
    AS
    then within the SSIS component; -
    Kind Regards,
    Kieran. 
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    Below execute statement should work along the parameter mapping which you have provided. Also try specifying the parameter size property as default.
    Exec [etl].[ConvertPeriodToStartAndEndDate] ?,?,? output, ? output
    Add a script task to check ssis variables values using,
    Msgbox(Dts.Variables("User::strExtractStartDate").Value)
    Do not forget to add the property "readOnlyVariables" as strExtractStartDate variable to check for only one variable.
    Regards, RSingh

  • How do automate using two output types in an invoice based on plant

    Hello,
    Can you tell me how to configure automatically two output types for the same invoice.
    My client has business in USA and Europe.We are using only one sales organization. But we need to print invoices in letter size and A4 size depending on whether the invoice is created in europe or in USA. So , I have created two output types, one for letter size and one for A4 size. How do I configure so that if it is based in a plant/shipping point in Europe it is printed using the A4  output type else in letter size. Please suggest.
    SAPSDUSER

    I do not think you can use plant/shipping point in your access sequence for invoice output on header level, unless you add these fields to header level kommunication structure and populate these fields in userexit.
    You can either
    1. define requirement routines for your 2 output types which are mutually exclusive (if plant = A routine 1 returns sy-subrc = 0, routine 2 returns sy-subrc <>0, if plant = B routine 1 returns sy-subrc <>0, routine 2 returns sy-subrc = 0). You can assign requirements to output type either in output determination procedure OR in the access sequence. I would do it in output determination procedure. Check transactions NACO or NACE.
    OR
    2. add your fields to komkbv3 communication structure, populate your fields in thsi structure in userexits which are called from the function module komkbv3_fill and then you can either use then in the access sequence for your output types or create routines as in case 1. but the logic will be a simple check statement since KOMKBV3 is available in these routines.
    3. In fact you can use one output type and select your layout in the print program itself... which may be even easier for you. We use this approach to select proper layout for GEOs which may have several layouts depending on region for example... so the output type is defined per country, then layout is selected by print program. (tnapr-fonam = ..., nast-spras = proper language, set country '' to use proper decimal & date format...)
    Message was edited by:
            Siarhei Mahulenka

  • HT204053 how do I associate two Apple id's to one iCloud account?

    How do I associate two Apple id's to one iCloud account?

    Ah, now you're talking about itunes store and itunes match.  The itunes store account is not the same as the icloud account (the two may use the same Apple ID, buy they can be different).
    As for itunes match - you cannot merge purchased music from two itunes accounts.  Using one of the itunes accounts (call it A) and icloud account, use itunes match to sync the music to the cloud.  Then purchase other missing songs that are not part of A (but were in the other account) and that will add them to icloud match. 

  • How do I sync two iPhones to one computer?

    How do I sync two iPhones to one computer?

    if you want to keep same content on both you can sync them to same itune account
    else create different itunes account for the other phone
    syncing with itunes
    http://support.apple.com/kb/HT1386

  • TS3988 how do i merge two icloud accounts - on on my computer and ipad, a different icloud id on my iphone?

    How do I merge two iCloud accounts into one?  One account is on my mac and ipad, the other on my iphone.

    Welcome to the Apple community.
    You cannot merge accounts, you will need to choose one and use it.

Maybe you are looking for

  • Final cut express wont play my wmv's?

    fce will not play my videos it says they are not in the proper format and all i know is that i originally put my videos on to my external hard drive via windows movie maker so i dont know what format that is.

  • Information about filing a formal complaint

    Two years ago my wife and I left Verizon to go to AT&T because we wanted IPhones and at the time Verizon did not offer them.  The cellular reception with AT&T was awful but we had to wait out our two year contract to come back to Verizon.  Our two ye

  • How can i make Vendor balance ZERO incase of  Debit vendor and Credit-GRIR

    We also have a document from last year,It is a debit amount in the vendor account. How could I get rid of this balance to make the vendor have a zero balance? the entry is - Debit - Vendor Credit-GR/IR Clearing Credit-Contact Repair Thanks Supriya

  • Playlists not accessible

    Downloaded the latest software update for my iPod Touch. Firstly,  I have some apps that I do not want - how do I get rid of them? Secondly, my old playlists have been changed - that is their contents are now in alphabetical order as opposed to the o

  • Adding EXTRA metadata into description field Pshop Bridge

    Hi I have got lots of pictures in photoshop which are all captioned neatly. However one of the agencies I supply to, requires me to add my credit details into the description field after the description. Is there anyway I can do this as a batch. Many