RMI: multiple clients for one RMI server?

Hi,
We're thinking of making a RMI Server.
However, can multiple clients access the same RMI Server at the same moment?
So, if one client is connected to the RMI Server, what will happen with the other clients that want to work to do the same thing at the same moment ?

all over the same port?
so for example, 100 clients can work simultaneously on this simple server?
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface OkServer extends Remote {
    public String getOk() throws RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.rmi.RMISecurityManager;
import java.rmi.RemoteException;
import java.rmi.Naming;
public class OkServerImpl extends UnicastRemoteObject implements OkServer {
    public OkServerImpl() throws RemoteException {
    public String getOk() {
     return "ok";
    public static void main (String args[]) throws Exception {
          System.setSecurityManager(new RMISecurityManager());
          OkServerImpl OkSvr = new OkServerImpl();
          Naming.bind("OkServer", OkSvr);
}

Similar Messages

  • Rmi-iiop client for EJBs

    [att1.html]

    I've been fighting the same issues over the past few days. The answer you gave still left me
    wondering which tool to use. Should it be rmi -iiop or ejbc -iiop? I get the idl files on
    WLS 5.1 generated but then I can't get the idlj to execute properly on the generated
    HelloHome.idl and Hello.idl.
    Wayne
    Andy Piper wrote:
    Abhishek <[email protected]> writes:
    But How do I write Rmi - iiop clients for EJBs.
    when I try to generate the IDL for my EJB by running the weblogic.rmic utility I get an
    error that none of my classes ( Remote, Home and Impl ) implement the remote
    interface. Which is true as EJBs do not directly implement the remote interface.You may be able to get this to work with WLS6.0SP1 and the
    -idlMethodSignatures flag. Take a look at the methods target in
    examples/rmi_iiop/ejb/generic_idl or at
    examples/rmi_iiop/ejb/simplified_idl. This all works fine in
    Silversword.
    andy

  • 11g Multiple Rpd on one BI server connecting to two different data marts

    Hi
    Did anyone tried and successfully implemented multiple rpds on one bi server. I have similar requirement in one of the clients place.
    1. Install OBIEE 11g with vertical scaling( reason client doesnt want to spend extra money on additional server licenses) and would like to utilize the powerful existing servers.
    2. Install 2 rpds on One BI Server and connect to two different datamarts.
    3. Create two PS and provide two links to have two different reporting environments.
    Appreciate with any pointers. I am very clear on Vertical Scaling and bumping up the Bi , PS and Java Hosts components. I saw a post with successful implementation of the same functionility in 10g and nothing in 11g. I already reviewed ritmanmeed blogs but did not give a complete picture of successfull implementation.
    Thanks

    Hi,
    Yes, it is possible to have two different .rpds on one BI Server but then you need to set up two different Presentation Servers.
    Refer the below threads for more information.
    Re: multiples RPD in one server
    Re: Multiple RPD & Multiple Presentation service instance on single BI Server
    https://forums.oracle.com/forums/thread.jspa?messageID=9189677&#9189677
    Can i put two rpd files in nqsconfig init file in BI Admin
    Hope this help's
    Thanks
    satya

  • Create two clients on one BW server

    Hello,
    Is it possible to create 2 clients on one BW server? I remember that in 3.1 our basis told me that its impossible.... We are now on BW 3.5
    Please Advice,
    David

    David
    Have you checked these previous posts?
    Re: client creation
    Re: BW can have multiple client?
    Re: Is it posible to work with multiple clients in BW?
    Hope this helps
    Thnaks
    sat

  • Can you have multiple users for one account?

    Can you have multiple users for one account? if so how do you set it up.
    We are using it for our department and it would be great to see who created what form instead of it being all one name.

    Each person should have their own account. You can easily share the forms with other people in your department. You will be able to see who the author of the form is.
    More information on how to share :
    http://forums.adobe.com/docs/DOC-2462
    Information on how to copy a forms to a different account :
    http://forums.adobe.com/docs/DOC-1390
    Hope this helps
    Gen

  • How do i scan multiple pages for one attachment

    I know how to scan but I don't know how to scan multiple pages for one attachement....Help please

    Hi dagda24,
    You can scan multiple pages into a single document with the scan to PDF option.  Use the following steps to do so:
    1.  Open MP Navigator.
    2.  Click One Clcik.
    3.  Click Save to PC.
    4.  Change the File Type from PDF to PDF (multiple pages).
    5.  Make any other changes as needed, then click scan.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to open multiple sessions for one user?

    Sorry for the silly question but I couldn't find it googling or searching through this forum, so I started wondering whether it's possible in SQL Developer to open multiple sessions for one user. I'm fairly new to SQL Developer and databases in general.
    When I open SQL Developer and connect to a schema, a worksheet opens named MYSCHEMA. If I disconnect then connect, another worksheet opens, named MYSCHEMA~1. I assumed these were different sessions, but if I enter into one worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 1
    update my_table set col1 = 0 where row_id = 1
    select col1 from my_table where row_id = 1
    -- shows result is 0and then enter into the second worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 0I would have expected the second worksheet to report 1 because the first worksheet did not issue a COMMIT. Thus, I'd guess both worksheets are the same session? Is that right? If so, how do I have two sessions open simultaneously (opened by same user)?
    I'm trying to implement the code at the bottom of this post, for which testing requires at least two sessions:
    Re: Help with Procedure
    Edited by: tem on Apr 18, 2012 6:44 AM

    Thanks Jim,
    Ctrl-Shift-N doesn't do anything for me. I'm on a mac -- by experimenting it looks like command-N does what you're looking for. This appears to be the same as left-clicking on the "New" icon in the top left corner of SQL Developer, or selecting from the pull-down menu, File > New.
    This opens "Create a New" window that appears to be a wizard. What would I select at this point? Options are: Database Connection, Table, View, Package, ...
    I don't see an option for "Worksheet".
    UPDATE:
    OK, I found that if I select "SQL File", a worksheet becomes available. Perhaps this is what you intended. However, when I issue the command
    select col1 from my_table where row_id = 1;it still returns 0 instead of 1. Hmm, maybe my initial assumption was wrong -- if this is a second (e.g. different) session, should I expect the changes made in the first session in SQL Developer (the UPDATE command) WITHOUT a commit, to be observed in this second session? I thought that changes made in one session were not viewable in a different session until these changes are committed in the first session? If so, how to show this in SQL Developer? I must be missing something basic here.
    Or, is SQL Developer issuing some sort of "auto-commit" without my knowledge?
    Edited by: tem on Apr 18, 2012 8:00 AM

  • Multiple Values For one Condition in Choose From List

    I have used one Business Partner Choose From List in my form but i want to give condition in that choose from list on GroupCode .But the condition will have multiple values like 100,102,104 then how i will write the code to incorporate multiple values for one single condition.

    Hi,
    Check this thread
    How to set a Multiple condition in a single CFL
    Hope that helps,
    Vasu Natari.

  • Reports 9i/10g J2EE Thin Client for Websphere Application Server 5.x /6.x

    We are having Reports developed in 6i which needs to be migrated to Reports 9i/10G and we want to deploy these reports in web using Websphere Application Server 5.x /6.x without Oracle iAS.
    Do we have Reports 9i/10g J2EE Thin Client for Websphere Application Server 5.x /6.x and if so please let me know.
    Also if anybody has the configuration details please let me know?
    Thanks in Advance.

    No there is not. I don't think you can use reports services with Websphere - besides as far as I know it is not supported by Oracle (not anywhere in their support matrix).

  • Multiple Labels for One Order

    Can anybody tell me if it is possible to produce multiple labels for one order. For example a customer orders 4 units. A standard package holds 3 units so an additional package is required for the fourth unit. As a result two packing labels are required. Does OM 11i support this?

    Hi Aj
    Thanks for your quick response. I was think on the same lines and you have confirmed that we will have to split the line into several lines on sales order.
    I am trying to do that now in our ECC box i.e item 10 with payer 1 and item 2 with payer 2. But as soon as I try to change the payer on item 2, i get the following error message which relates to credit management being active.
    I am assuming once we decativate CM, we should be good to go. PLease confirm. Also once its time for billing, will SAP automatically split the billing into different invoices per sales order line item based upon number of payers on the line items?
    PLease confirm your thoughts.
    Regards
    Jai

  • Multiple currency for one vendor

    Hi,
    Is there any way to have multiple currency for one Vendor?

    Hi Siva,
    Yes, It is possible to maintain multiple currency for one vendor. How ? The procedure as follows.
    During vendor creation using T-code XK01 and currency enter input data screen select Extra option on the top of the screen click and display  'Add Purchasing Data'  option click opened new screen and give input data plant, tick mark of the option Data retent.at plant level allowed and tick for OK.
    After that, you have enter multiple currency for the same vendor during vendor creation time, then you will create PO using T-code ME21N the currency field you have fill as you required currency by default first currency of vendor created will be display.
    Hope, it is useful for you.
    Regards,
    K.Rajendran

  • Multiple choose for one parameter

    Hi, does Oracle Report support the multiple choose for one parameter? i used a IN statement inside my WHERE conditions as following
    Select ....
    where ....
    content.style IN (:p_style)
    (content.style is a column in table "content", and "p_style" is a bind variable)
    i want user can have multiple choises on p_style value. but in the parameter form i only can make one choise. Does any one know how to do the multi choise from parameter form? if you do, please help me. Thank you very much.
    Li

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by whl:
    Hi, does Oracle Report support the multiple choose for one parameter? i used a IN statement inside my WHERE conditions as following
    Select ....
    where ....
    content.style IN (:p_style)
    (content.style is a column in table "content", and "p_style" is a bind variable)
    i want user can have multiple choises on p_style value. but in the parameter form i only can make one choise. Does any one know how to do the multi choise from parameter form? if you do, please help me. Thank you very much.
    Li<HR></BLOCKQUOTE>
    you can do that by flowing the stap
    at first you will write a select statement
    select ...
    From ...
    where Style (colomn name) = &style1
    then you create a user parameter soupose wich name is P_style and which valus is x, y, and z you should enter another value soupose that name is 'All' (All means x + y + Z)
    then you write in after parameter form trigger...
    IF :P_style = 'All' then
    :style1 := null;
    Else :style1 := 'and style (style means your column name) = :P_style;
    end if;
    null

  • Multiple Vendors for one Document Number in BW

    Hello All,
    We are getting Multiple Vendors for one document in BW. In R/3, standard table and RSA3, we are able to see correct vendor where as when it is coming into BW it is showing incorrect vendor in PSA and Data Target.
    All issues are coming for Process Key 1 only.
    *For Example:*
    Document: 9400000007
    Schedule Line:1
    Doc Item: 1
    Vendor:
    0010019229 - Incorrect Vendor
    0010018962 - Correct Vendor
    Committed Quantity: 0
    Doc Type:
    ZNB
    ZNPP
    Process Key: 1
    Not sure how to upload screen shot.
    Please suggest.
    Thanks,
    Vijay

    Hi ,
    Are you loading for the first time ? If yes have you checked Transaction BF11 settings.
    Regards
    Rahul Bindroo

  • Multiple payers for one sold to party

    Hi All,
    Can we have multiple payers for one sold to party?
    Thanks

    Hi
    Yes, you can have multiple PAYER for one Sold-to-party (only in the Customer master).
    This Partner relationship is maintained in two places. They are,
    > Customer master ( sales area data > partner function tab )
    > Sales documents (at Header level and Item level)
    In Customer master data, you can have multiple partners ( e.g, multiple Payers) for one Partner function( e.g, SH,BP,PY).
    But in Sales document, you can have only one Partner for one Partner function.
    So, you can have only in Customer master data multiple pertners. So, first create the different Payers through XD01 ,choosing Account group "Payer".
    Then assign all those PAYERS  in the master data of the Sold-to-party by going in the change mode XD02 and save it.
    When you create the Billing document, system will give a pop-up of those list of Payers and you have to choose one . You can have only one Payer in one Billing document.

  • Lightroom 5 slowdown, my post processing times have tripled and the develop tasks take multiple seconds for one adjustment, Please Help. . . .

    my post processing times have tripeled and the develop tasks take multiple seconds for one adjustment, Please Help. . . .

    my post processing times have tripeled and the develop tasks take multiple seconds for one adjustment, Please Help. . . .

Maybe you are looking for