Is RMI (provided in the java package ) stable??

I'm starting to write an application that use the RMI concept. Because the guy at SUN's training center said that RMI is not very stable, he suggested to use CORBA.
About 1000 java application could use the RMI at the same time.
thanks

Most of the EJB application servers are using an RMI protocol to do the bean lookups and communication. I would have to think RMI is quite stable.

Similar Messages

  • The java package netscape.ldap

    hi :-)
    can someonne tell me, how to get the java package netscape.ldap for free in the web or somewhere else.
    i need to bind it in my java programm.
    please help me:-(
    best regards
    P.S.: you can also mail me the package, if you have the chance
    mail: [email protected]

    thankx for the help..
    but i already visited this site.....and found nothing...

  • Where should i add the java packages class path in the ORACLEJDeveloper 10g

    Hello friends,
    I have created a BPEL Program using java embedding activity.
    In it i have added some java code.
    I want to attach path of some java class packages.
    So can any one tell me solution for this.
    Thanks and regards.
    Ram Krishna Tripathi
    [email protected]

    Hello friends,
    I have made a Bpel program in oracle process manager 10.1.2 . using java
    embedding activity.
    (i) I have put the java class files in BPEL-INF /classes folder and
    SYSTEM/classes folder but still compiler is giving error that classes
    couldnot be found.
    I have set the class path in Project -> properties
    So please tell me what could be solution for this problem..
    (ii) Can the import package statements can be written in BPEL program in the
    java embedding activity ?
    Thanks and regards
    Ram Krishna Tripathi
    [email protected]

  • [DONE] Suggested addition to Java Package Guidelines

    In the Java Package Guidelines there are shell scripts that run the java jar or class file. Shouldn't the $@ be added as a parameter, to feed parameters to the java application?
    For instance, I wrote the following for Logisim:
    #!/bin/sh
    "$JAVA_HOME/bin/java" -jar '/usr/share/java/logisim/logisim.jar' $@
    Last edited by Marcel- (2014-04-11 10:32:43)

    If you change that, I suggest to add an "exec", too. We don't need a useless shell in the background, right?
    #!/bin/sh
    exec "$JAVA_HOME/bin/java" -jar '/usr/share/java/logisim/logisim.jar' $@
    Incidentally, I'm not sure what the current policy on hashbangs is (#!/usr/bin/sh?, indifference?).
    I believe "/bin/sh" is required by POSIX and must provide a POSIX compliant shell, so /bin/sh is the portable hashbang. If you want bash, usr /usr/bin/bash I guess.
    Last edited by progandy (2014-04-09 23:14:10)

  • Problem finding native methods in java packages

    Hi,
    I have a java class which uses some native methods written in OCamL. I wrote a C file which calls the OCamL code, and created the corresponding shared library using the jni. I then tested my java file and everything works fine, I can nicely call the OCamL functions. However, I need this java file to be included in a package, but whenever I add the line:
    package somepackage;
    on top of the java code, my java file simply doesn't seem to find the C and OCamL implementation anymore :
    javac -cp :./path/of/somepackage
    -Djava.library.path=/full/path/of/somepackage MyProgram args
    Exception in thread "main" java.lang.UnsatisfiedLinkError:functionName
    at somepackage.ClassName.functionName(NativeMethod)
    I have of course put everything (java, C, .h , libsomelibrary.so, and OCamL files) in a directory called somepackage, and written another java file which creates an instance of the first one from outside the package, imports the package, and calls its methods in main(). It just doesn't work anymore.
    I then added a simple hello-world function (not C nor OCamL code) to the java file inside the package. And when invoked from outside, it worked. Question is then... Am I forgetting something to be done, in order to get C and CamL files efectively included in the java package (same as "package somepackage;" in C or OCaml, perhaps)??? Why isn't the java file able to find them inside its very own directory (having into account that without the package definition it worked well)?
    Thanks,
    PS Im using jsdk 1.4.1 on lunyx redhat 8.0

    Did you change the name of the function in the library, too?
    If the function name was
    "Java_YourClass_functionname",
    it should be now
    "Java_path_to_your_package_YourClass_functionname".

  • Is it possible to use Microsoft's Java Packages in Forte4Java/JBuilder?

    Dear all,
    I am wondering whether it is possible to use those java packages installed by MS Visual J++ in Sun's Forte4Java or Borland's JBuilder? I found one of the java packages of Microsoft -- com.ms.com.* quite useful for calling ActiveX Components in java code and I have succeeded in calling my DLL COM under Visual J++ with the help of com.ms.com.Dispatch. But I have to use Forte4Java to write my Java program, therefore, it will be great if I can still use com.ms.com.* under Forte4Java. Is it possible? If so, how to do it? Please advise and thanks in advance...
    Tracy

    You can use any java package if you just add it to the classpath. In Forte this means adding it to the explorer pane, I am not sure about Builder.
    The problem will be when you try to run it. Any Microsoft class which uses some part of their runtime will require the Microsoft VM. If you have that, and are willing to be permenantly tied to it, then you will be in business.

  • RMI Use in the real world

    I present an RMI module in the Java course I teach. I know enough about RMI to be able to talk about it, and write a simple classroom example, but I have never done RMI in the real world. Can anyone offer an example of what kind of applications are being developed that use RMI?
    Thanks,
    J.D.

    I can tell you about two sites.
    1. A system which allocates and dispatches crews, trucks, backpack hoses, spare socks, etc to bushfires (wildfires to you). It operates between two Government departments here in Australia. Each of those despatchable items is a remote object and there have been up to 50,000 active in the system at a time during the hot summer months. This is a large and life-critical system.
    2. A monitoring system for cable TV channels. A piece of hardware produces a data stream representing things like channel utilization, error rates, delay, etc and this is multiplexed via RMI to a large number of operator consoles. Again this is a major and business-critical system.
    And of course every J2EE system in existence uses RMI internally, albeit almost entirely RMI/IIOP.

  • "conflicts/provides" problem with splitted package

    I'm currently working on some brother printer packages and have the following situation:
    I want to replace the not-working package brother-mfc260c in AUR, and have made two packages, brother-mfc260c-lpr (the LPR driver) and brother-mfc260c-cupswrapper (the LPR-to-CUPS wrapper), which together provide what the old package should do (or have done).
    Here are the dependency specs from the new PKGBUILDs:
    brother-mfc260c-lpr:
    conflicts=('brother-mfc260c')
    brother-mfc260c-cupswrapper:
    depends=('brother-mfc260c-lpr')
    conflicts=('brother-mfc260c') # This could also be omitted because its dependency already conflicts with brother-mfc260c
    provides=('brother-mfc260c=1.0.1')
    But pacman doesn't like it. Whether I try to install both packages at the same time, or install brother-mfc260c-lpr first, and then brother-mfc260c-cupswrapper (like below), I get the same error:
    # pacman -U brother-mfc260c-cupswrapper-1.0.1_1-1-i686.pkg.tar.gz
    loading package data...
    checking dependencies...
    error: replacing packages with -U is not supported yet
    error: you can replace packages manually using -Rd and -U
    error: failed to prepare transaction (conflicting dependencies)
    :: brother-mfc260c-cupswrapper: conflicts with brother-mfc260c-lpr
    Should I file a bug report, or is this behavior intended? If the latter case applies, how can I solve such a conflict without loss of generality?
    Thanks in advance!

    Profjim wrote:Can you confirm that you've already manually removed brother-mfc260c?
    Sorry for not mentioning this earlier. I've never installed brother-mfc260c on my machine to begin with, because I don't even have such a printer. But I've successfully created such a package pair for the brother-mfc210c, and have read on the AUR page of the orphaned brother-mfc260c package the comment "The driver is not working... DELETE!!!", so I've made a package pair for this model in a similar style. And the brother-mfc210c package pair only works with the above mentioned provides/conflicts statements because its provides-statement has a typo which I've found after uploading it to AUR.
    To make a long story short, because of these two facts (never installed the real brother-mfc260c, and the typo in the brother-mfc210c-* packages), I'm quite positive about understanding how the provides/conflicts mechanism works.
    Profjim wrote:I think pacman knows to remove the existing package and install the new conflicting package, but only when the install is from a repo, not when one is using -U blahblah.pkg,tar.gz.
    I couldn't understand why this should matter from where a package is installed. IMHO this is a totally different layer of abstraction. But I'll make a test repo tomorrow to clear this question.
    Concerning your 3-package-suggestion, this wouldn't fit right away because both real packages have to conflict with the original one, because it is ~just~ a split of that package. And maybe there are still some people around using only the LPR driver and not the CUPS wrapper on top of it.
    After testing your suggestion, I'll post a feature request and will link it to this thread. AFAICT interpreting a conflicts statement not only against a package with the exact name but also against packages which provide that one is simply a design decision, and not clearly right or wrong. Would it only conflict against a given package, all other packages which provide that one and have files in common would have to be listed in the conflicts array, too.
    For the moment I've solved the problem by simply removing the provides-statement, because there is no package explicitly depending on brother-mfc260c, and the probability of it happening will be quite next to zero, but the basic problem still remains, and that's why I wanted to consult the community first before giving the devs extra work.

  • Where to download the JAVA component for BS2005 and SAP XI ?

    Dear all,
       When I install the ECC6 in Linux, system reminder me that the JAVA package is not correct. I wonder where to get the right JAVA component for BS2005? Btw, where to download the SAP XI Component for installation? Tks.
    Regards
    Jialin

    all,
       I have got it from delivered DVD.

  • Does Java package has Model class?

    I found the following code below from http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/web-tier/web-tier5.html. The problem is there is no Model class during the java compilation. I thought it is included in the Java package. Anyway, I was fail to import the Model class from java.lang.Object, java.awt, java.awt.event.*, javax.swing.*, java.util.*, and so on. Does Model class belong to Java package or self create?
    // Action.java:
    public abstract class Action {
      protected Model model;
      public Action(Model model) { this.model = model; }
      public abstract String getName();
      public abstract Object perform(HttpServletRequest req);
    // CreateUserAction.java:
    public class CreateUserAction extends Action {
      public CreateUserAction(Model model) {
        super(model);
      public String getName() { return "createUser"; }
      public Object perform(HttpServletRequest req) {
        return model.createUser(req.getAttribute("user"),
                      req.getAttribute("pass"));
    }

    No, it's not a Java SDK class, and it doesn't self-create. It must be part of the blueprints download, so you'll have to find where it is (a JAR file you've downloaded, perhaps) and put it in the CLASSPATH.

  • Extracting specific detial about class from the JAVA API created by Javadoc

    hi ,
    Bacialy I need to get detials of all classes from the Java packages for my project. So i thought getting detials from the Java API document might be one way of doing it. If any one tell me some package or software which can get particulat text from the API document that will be great.
    Thank you,
    Raj

    Hi,
    I think, much easier way would be to write a little doclet. That doclet would take the information you need directly from the Doclet API and generate by it a plain text with the content you wish (for instance, as an SQL script that loads everything into a certain database).
    Obtaining this from the generated HTML documentation just adds one extra step (and a lot more complicated, by the way).
    Also, you can avoid even writing a doclet.
    There is a tool called DocFlex/Javadoc:
    http://www.filigris.com/products/docflex_javadoc/
    It is a template-driven doclet, which can be easily programmed to do the job. (However, a license will be needed).
    Regards,
    Leonid Rudy
    http://www.docflex.com

  • Java packages ASAP

    how do I add a java package so that when I do javac from any directory it can use the java package? Please help.

    I think the answer is in the CLASSPATH environment variable.
    If you use a win32 system you should add the path of the class to the CLASSPATH variable
    Addition is done by putting a ';' and appending the path to the directory.
    Hope this helps.

  • To run the java application without jdk package

    i would like to know whether possible to make the java .class file as .exe file to run in window environment without the help of jdk package.....if the answer is yes,,,,,is it going to use the jvm???is it come together with window os or not and start from which windows version?? or do we need to use the jre??? actually i would like to make installation package to install an application in windowsxp....i know how to do that one in vb and i've done that one before using visual studio 6.0.....is there any possible way....but please explain in easy words and way coz i might not understand if too technical...nobody can help me in my college,,,even lecturers.....thanks a lot

    i would like to know whether possible to make the java .class file as >>.exe file to run in window environment without the help of jdk >>package.....Yes it is possible, there are many tools like one mentioned above to convert your java .class program to .exe and you dont need jdk for that, though you will need JVM
    if the answer is yes,,,,,is it going to use the jvm???Yes it needs a JVM
    is it come together with window os or not and start from which windows >>version?? You need some tool like PJ2Exe or one mentioned above to convert it to .exe, it wont be available with OS.
    or do we need to use the jre???Yes you will need to install JRE for the JVM
    actually i would like to make installation package to install an >>application in windowsxp....i know how to do that one in vb and i've >>done that one before using visual studio 6.0.....is there any possible >>way....Yes it is possible,
    Make a .exe of your application and using VB make a setup file which takes care of installing JRE as well as your application.
    Regards
    Rohan

  • Wsdlc Ant Task - Problem creating java files in the correct package

    In eclipse, for weblogic 9.2
    Using the wsdlc WebLogic Web Services Ant Task, I am trying to auto-generate the java files for the web service based on the WSDL. I have specified the packageName as one of the parameters. However the java files are being created and packaged based on the TargetNameSpace of the WSDL rather then under the package name specified. Following is part of my build.xml
    autogen.src.dir=../code/java/beaAutoGen
    base.dest=../../../var/build/wsmToPlmWS
    bea.build.dir=beaBuild
         <target name="generate-from-wsdl" depends="prepare">
              <delete dir="${src.dir}" includeemptydirs="true" />
              <delete dir="${autogen.src.dir}" includeemptydirs="true" />
              <wsdlc srcWsdl="../config/sourceWSDL/MRPBindingPort.wsdl"
                   destJwsDir="${base.dest}/${bea.build.dir}/compiledWsdl" destImplDir="${base.dest}/${bea.build.dir}/impl"
                   packageName="com.lmco.iplm.webservices.wsmtoplm" debug="on"
                   srcServiceName="WSPlmMto_Service"
                   debugLevel="DEBUG" autoDetectWrapped="true" jaxRPCWrappedArrayStyle="true"
                   verbose="on" classpathref="bea-classpath" />
    <!-- unjar to get the all the details so we can tokenize -->
              <unjar dest="${autogen.src.dir}"
                   src="${base.dest}/${bea.build.dir}/compiledWsdl/MRPBindingPort_wsdl.jar" />
    <!-- copy over the impl file -->
              <copy todir="../code/java/src">
                   <fileset dir="${base.dest}/${bea.build.dir}/impl" />
              </copy>
         </target>

    In eclipse, for weblogic 9.2
    Using the wsdlc WebLogic Web Services Ant Task, I am trying to auto-generate the java files for the web service based on the WSDL. I have specified the packageName as one of the parameters. However the java files are being created and packaged based on the TargetNameSpace of the WSDL rather then under the package name specified. Following is part of my build.xml
    autogen.src.dir=../code/java/beaAutoGen
    base.dest=../../../var/build/wsmToPlmWS
    bea.build.dir=beaBuild
         <target name="generate-from-wsdl" depends="prepare">
              <delete dir="${src.dir}" includeemptydirs="true" />
              <delete dir="${autogen.src.dir}" includeemptydirs="true" />
              <wsdlc srcWsdl="../config/sourceWSDL/MRPBindingPort.wsdl"
                   destJwsDir="${base.dest}/${bea.build.dir}/compiledWsdl" destImplDir="${base.dest}/${bea.build.dir}/impl"
                   packageName="com.lmco.iplm.webservices.wsmtoplm" debug="on"
                   srcServiceName="WSPlmMto_Service"
                   debugLevel="DEBUG" autoDetectWrapped="true" jaxRPCWrappedArrayStyle="true"
                   verbose="on" classpathref="bea-classpath" />
    <!-- unjar to get the all the details so we can tokenize -->
              <unjar dest="${autogen.src.dir}"
                   src="${base.dest}/${bea.build.dir}/compiledWsdl/MRPBindingPort_wsdl.jar" />
    <!-- copy over the impl file -->
              <copy todir="../code/java/src">
                   <fileset dir="${base.dest}/${bea.build.dir}/impl" />
              </copy>
         </target>

  • Provide the java code for the following scenario.

    Hi Experts,
    I have tried with all the combinations for this scenario. As per my understanding i require java code for the following scenario
    so that it becomes easy........
    I require a Message mapping for this Logic.
    In the Source there are 4 fields and, the Target side, the fields should appear like this.
    Source Structure- File
    Record
    |-> Header
    Order_No
    Date
    |-> Item
    Mat_No
    Quantity
    Target Structure-IDoc
    IDoc
    |-> Header
    |-> Segment
    Delivery_Order_No
    Recv_Date
    |-> Item
    |-> Segment
    Delivery_Order_No
    Material_Num
    Recv_Quantity.
    The Logic is for every Order number an IDOC is generated.And if the Material num matches then the quantity should be added. and important note is that the material numbers are different for every order number. That means if a material number is 2 in the order number A. Then the material number can never be 2 in any of the order numbers.Here is the following with an example for the above scenario.
    For example:-
    we have
    Source Structure- File
    Order-no Date Mat_No Quantity
    1 01/02/2011 A 10
    1 01/02/2011 B 15
    1 01/02/2011 A 10
    2 01/02/2011 C 10
    2 01/02/2011 C 10
    3 01/02/2011 D 20
    3 01/02/2011 D 10
    3 01/02/2011 E 25
    Target Structure-IDoc
    Delivery_Order_No Recv_Date Material_Num Recv_Quantity
    1 01/02/2011 A 20
    1 01/02/2011 B 15
    2 01/02/2011 C 20
    3 01/02/2011 D 30
    3 01/02/2011 E 25
    So for this example total of 5-Idocs created. That means for this example if Order_No is 1 When the Mat_No is A the quantity gets added. For this Scenario 1 IDoc with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) is generated by adding the quantity field in the Target Side. Similarly if Order_No is 1 when the Mat_No is B then separate IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) in the Target Side. Similarly, if Order_No is 2 when the Mat_No is C, an IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) by adding the quantity field in the Target Side. ike wise the process goes on upto 3.Kindly do the needy..
    Kindly provide the java code.
    Thanq very much in advance..

    what i have understood from ur example is that u want to generate an idoc for unique combination of  Order-no and Mat_No
    if yes then chk the below mapping..
    change the context of Order_No, Date, Mat_No and Quantity to Record (right click-> context)
    1)
    Order-no
    ----------------------concat[;]---sort----splitbyvalue(valuechanged)-----collapse context---IDoc
    Mat_No
    2)
    Order-no
    --------concat[;]---sort----splitbyvalue(value changed)---collapse context---UDF1--splitbyvalue(each value)--Delivery_Order_No
    Mat_No
    3)
    Order-no
    -----------concat[;]---sortbykey----------------------- \
    Mat_No                       /                            \
    Date--------------- /                                       \
    ----------------------------------------------------------FormatByExample-----collapsecontext---splitbyvalue(each value)----Recv_Date
    Order-no                                                 /
    -----------concat[;]---sort----splitbyvalue(value changed)
    Mat_No
    4)
    Order-no
    --------concat[;]---sort----splitbyvalue(value changed)---collapse context-UDF2--splitbyvalue(each value)--Material_Num
    Mat_No
    5)
    Order-no
    -----------concat[;]---sortbykey
    Mat_No                       /
    Quantity --------------- /
    ----------------------------------------------------------FormatByExample-----SUM(under statistic)----Recv_Quantity
    Order-no
    -----------concat[;]---sort----splitbyvalue(value changed)
    Mat_No
    UDF1:
    String [] temp= a.split(";");
    return temp[0];
    UDF2:
    String [] temp= a.split(";");
    return temp[1];

Maybe you are looking for

  • Itunes 10.5 won't load vista

    after update itunes won't load says error 2

  • No PAL Support in Final Cut Pro X?

    Hi. I have been checking FCPX and have found that it only works with NTSC and converts PAL videos to it, downscaling to 720x480. Is it that true? Because if it works this way I'm afraid you are loossing all your customers in Europe... Sorry, my mista

  • RFIDYYWT across company codes produces 1099 with multiple records per TIN

    We have multiple company codes that post 1099-MISC relevant payments to a common set of vendors.  All payments are processed through our main (paying) company code. All our company codes are one taxable entity to the federal government, with one TIN.

  • 3G Issue in Blackberry Z10

    i just got balckberry z10 allways i face a problem in 3G connection so i can not get new email messages then i should restart the divice to get email everytime. plz advice Regards,

  • RE-FX Applying interest to open items after retrospective rental adjustment

    Hello, Please can anybody tell me if it is possible to apply interest to retrospective rental adjustments, and if so what steps need to be taken in SAP RE-FX customising to set this up. I am implementing RE-FX into an organisation at the moment that