×

Loading...

Topic

  • 工作学习 / IT杂谈 / Where did you use RMI? In which project did you use RMI?
    One of our friends had a Java job interview a few days ago. He put "RMI" in his resume but he did mention in which project he used RMI. Unfortunately, he was asked the above question and he got stuck. As he talked me, I told me he understood RMI and just did some exercises following "Core Java II".

    This friend is right now doing EJB stuff. Here is the answer I cooked up for him----
    We used RMI in this EJB project extensively.
    Actually, RMI is ubiquitous in EJB. In our project, all the beans communicate using
    an enhanced RMI protocol, and it is called
    RMI over IIOP.

    The point in answering this kinds of questions is that one needs courage.
    In this world, there are only a handful of
    true Java experts. As you have sth you are not sure, just go ahead and talk boldly. Even
    you meet true experts, they usually don't point out your mistakes.
    • Jabber, what is RMI? Is it difficult to study it? What's the hope to get a job if I know RMI?
      • To understand RMI....
        Dear Guest,

        You need first learn Java essentials. RMI is only a part of Java technologies.
    • I was asked the same question
      I was asked the same question in a job interview last week. This company is developing some projects with RMI. RMI, EJB, CORBA, C++ are used there. But I really don't know how they use RMI with EJB, CORBA together. Perhaps they use RMI in a single project development. I just answered this question with "EJB is based on RMI, but EJB is more complex than RMI." I should have told them "I had ever developed project with EJB so I can start to write codes with RMI in half a hour", but I forgot to mention it. Maybe I can't get that job offer.
      • HR people evaluate candidates according to buzz words
        本文发表在 rolia.net 枫下论坛Marco, I guess you are a true Java developer.
        HR people usually judge a candidate according to some buzz words such as B2B, B2C, RMI, JDBC, JAVA, EJB, CORBA... as you can see, it is funny to put these words together. If they ask you sth about RMI, you just need to present the following points: 1) RMI is short for Remote Method Invocation; 2)
        You used RMI in project A or B. It is enough for you to have some high-level picture. Even you have never used RMI as protocol to develop a project, you still need claim you have used RMI ...If you are bold enough, you can claim your Administration tool communicate with your developed project
        using RMI. At this stage, you see writing a resume is not as simple as compiling buzz words.

        If you have ever devoloped some applets, you may claim they communicate with Server using RMI. I am teaching you to tell lies,
        however, you can pick up my points unless you are a true Java developer.

        Remember: HR people and project managers are usually not flexible. If they are
        a B2B company, they will insist you have B2B experience. Actually, B2B is only a business concept. But it is almost hopeless
        for us to convince them our B2C exapereinces are likely useful. So we should be competent in telling lies with our eyes open. This is the rule of game.

        Some companies require you have 3 years of Java experiences. IN such case, they can piss you off if you have only 2.8 years of Java experiences.

        Hope this will help you establish a solid strategy for your job interviews.更多精彩文章及讨论,请光临枫下论坛 rolia.net
        • Thank u very much,but...
          The people talked with me is a software manager, a team leader and a software developer. So I think I have to tell them something truthfully. They really have a project developed with RMI, no EJB.
      • Some examples may help
        本文发表在 rolia.net 枫下论坛If you have time, you may go to java.sun.com and download a few RMI examples from free Java tutorials and deploy them on your computer.

        A still better example is in Jason Hunter's book titled "Servlet Programming". It is
        a "chatroom". The chat server is a servlet and the client is an applet. They can commuincate using http, rmi and raw socket connection. You can download the code
        from www.servlets.com. If you have hands-on servlet and applet experiences, you might be able to deploy the servlet in Tomcat or Java Web Server, and download the applet to
        IE or Netscape.

        To make this example work, you need first
        correct the deprecated API in the code. Next,
        you willl see the applet does not work in IE.
        The reason is IE does not support RMI because its poor Java Virtual machine.
        (This is a very useful tip for Java guys!)
        So you need download Java Plugin and install it.

        Here is a tip. If anybody id devoted to Java, he should try to run various demo or examples
        frequently. Our direct experiences are very limited. Our time is limited. Running examples or demos can help us cover our tails.

        By the way, I don't think it is a good idea to
        say "I had ever developed project with EJB so I can start to write codes with RMI in half a hour". Such a reasoning is too narrow.
        Employers always believe your past experiences. IT industry is full of hypes and prejudices. For instance, employers often
        require that a programmer have a MS in
        computer science or mathematics. The reason is that they believe mathematicians
        are good at computing. But I have ever taught one MS in CS and one MS in mathematics and observed that they have
        no sense in coding at all.

        Since we are discussing RMI, I would like to
        ask the following two questions:
        1) Is there any big architectural difference in
        the Java 2 version of RMI and its JDK 1.1 version?
        2) What's relationship between RMI and JNDI?
        3) What kind of methods does Remote Interface introduce?
        Probably, few people will ask you these questions. However, if you can answer these questions, it implies you have known a lot about RMI so you can talk big in the interview.

        I think you can claim you have ever used
        RMI in servlet-applet programming. However, don't say you have ever written a
        chat room. Chat Room can itself be a project.

        Hope it helps更多精彩文章及讨论,请光临枫下论坛 rolia.net