Difference btwn RMI and Network prog.

Hello to all,
iam currently learning RMI and pls tell me what is the difference between RMI and Network Programming(using sockets....)
Thanx in advance.

RMI sits on top of sockets and basically lets you send objects over the wire. Network programming is underneath and it handles all the transmission issues.

Similar Messages

  • What is the difference btwn double and floating data type?

    is it going to affect the computation?

    What is the difference btwn J2SDK and J2EEhttp://java.sun.com/j2se/index.jsp
    http://java.sun.com/j2ee/index.jsp

  • Difference between RMI and Java Beans

    Hello
    I have to develop a program that allow the users to have access to the Patient information . The program will also organize appointment between the users and the patients. + extra thing like agenda .....
    I will have about 10 to 20 user that will have access at the same time to the same info .
    My question is :what is the best solution for such kind of programes
    RMI :after searching in google (it is light weight )
    java beans:more powerful than RMI
    or maybe thread ???
    any one can explain the difference please ?
    Thank you

    A little [url http://www.google.ca/search?hl=en&q=rmi+ejb&btnG=Google+Search&meta=]google with keywords: rmi ejb would give all the answers you need.
    Specifically you could read [url http://www.devx.com/Java/Article/20843/0/page/1]the article from the first result: EJB and RMI: A Practical Introduction.
    Also there are many threads from these forums that already answered your question in the past.
    Here is one: [url http://forum.java.sun.com/thread.jspa?threadID=539544&messageID=2613399]Rmi and EJB.
    Happy reading!
    Regards

  • What is the difference between RMI and JAX-RPC?

    Dear All
    First of all my understanding of RMI and JAX-RPC:
    RMI is JAVA only version of RPC. It can't talk to any other language.
    JAX-RPC is a part of JWSDP and if you implement your client and server with JAX-RPC, client written in any language can talk with JAX-RPC implementation.
    What else makes them different and am I right with my understanding?
    Finally, I would like to develop clients which will have a java class, say httpserver.java, which will act like a http server, listens to a http port. Now, Two such client will run in two different PC and I want to call a module from one client to another which should be accessible via my httpserver.java. For that which should be my choice RMI or JAX-RPC? Can I achive it with http get-post method, as I am expecting to read some value of variables from one client to the another.
    Say class A has variable a, aa, aaa and clas B has variable b, bb, bbb. Now I want to read the value of b, bb, bbb from class A. How do I do that when class B is listening to a http port with my httpserver.java class.
    Lastly, say B is listening to a http port and I want to send a file to B from A. How can I do that? Remember, B didn�t ask for that. How can A send a file to B when B is listening to a http port with my httpserver.java.
    With regards
    Mohammed Jubaer Arif
    Mobile: +61-0411215302
    Personal Web: http://www.geocities.com/jubairarifctg/
    Org. Web.: http://www.geocities.com/halimschamber/

    simply put, RMI allows you to (semi) transparently treat remote objects as if they were local, and your distributed application can be written (more or less) like a "normal" java app. Sockets just give you a "raw" connection to work with, and you get to build up your application from that.
    I hope that helped
    Lee

  • Difference between RMI and NET

    Hi
    when i have to use java.rmi and java.net
    or when i have to use socket programming
    and when i have to use java.rmi

    Hi
    when i have to use java.rmi and java.net
    or when i have to use socket programming
    and when i have to use java.rmi

  • Difference Btwn Syncing and Manual?  (I know how)

    Is there a difference between syncing and manually adding your music to your ipod? I mean, I know auto syncing does it automatically and manual you have to add the music in, but . . . does syncing do or add anything else to your ipod other than music? Or are they both the same, just the 'management' part of it is different? Thanks.

    Hey thanks. For some reason I always thought that auto-syncing added alot more than just the music to the ipod. Don't know why I thought this. I'm ok w/ratings and playcounts not being added as I don't pay attention to this anyways.
    Since we have a new computer and new itunes, we finally got out of the 'registration loop' we had been in and can now get to the summary page to actually manually manage things. Thanks again!

  • What is the difference btwn Reader and Acrobat Pro?

    Hello,
    My Requirement in broader sense: I am developing an VISITOR Info. Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP)
    When i opened this VISITOR interactive form in a browser, right clicking and checked form PROPERTIES, then i saw the "PDF Version: 1.6 (Acrobat 7.x)" (pls. let me know what is the correct forum for me to post my questions)
    My 1 sub-set of my Requirement: Front desk guy want to open this VISITOR Info form and enters addresss details + attaches some ID proof photo copy of JPEG format + Writes some COMMENTS in the form
    Pls. let me know
    1) is my software inventory is enough to go ahead and develop a interactive form (as mentioned VISITOR Info)? or do i need any more software?
    2) I saw Acrobat Pro version 10.x.......do i need this softaware as well to get my requirement done (VISITOR Info)?
    3) What is the difference between Reader 9.0 and Acrobat Pro 10.x?
    Thank you

    Thank you.
    Yes, here am confusing! If i create the forms with Acrobat, then, why do i need LiveCycle designer?
    Pls. let me      know what do you mean "Create forms", is it like writing a letter/some text like MicroSoft word doc and finally saving it on our local machine/desktop?
    THank you

  • Differences btwn 10g and 11g

    What are the main differences between ODI 10g and 11g.
    Edited by: 957852 on Feb 1, 2013 11:32 PM

    Please use the search feature:
    http://www.google.com/search?q=ODI+11g+enhancements&oq=ODI+11g+enhancements
    and look at the first result

  • Difference btwn TPM and Mkting Campaign

    Hi Friends,
    What is the difference between trade promotion and marketing campaign management.
    Thanks and regards,
    Mahesh

    Hi Mahesh,
    Campaigns are the ways and mediums which helps in communication, increasing awareness, increase sales and wide range of activities. It can be done through mailing list, product promotions, telecalling etc. Meaning you are trying to reach your customers for increasing customer base, entering new markets or increasing sales or product awareness.
    For ex: Product demos or stalls in an exhibition
    Trade Promotion Management is an activity which is done with the help of your channel partners. The check here is "trade", which means distributors, retailers, wholesellers, re-sellers etc. The purpose remain the same like to increase customer base or sale revenues but here the incentives are given to your channel partner.
    For ex; Commision to the wholesaler/distributor for selling 100 cartons for a particaular month.
    Please reward points if helpful.
    Shridhar

  • What is the difference between router and network name ?

    Hi ... I changed the name of my router in the Airport utility and thought that the network would be changed accordingly.  What is the differnce between the 2 ?

    I changed the name of my router in the Airport utility and thought that the network would be changed accordingly.  What is the differnce between the 2 ?
    The name of the router would be the "Base Station" or "device" name. It might be something like RL AirPort Extreme
    The name of the wireless network (technically called the SSID) is separate matter. It might be something like RL Wireless, for example.
    If you can post back to let us know what version of AirPort Utility you are using, we can provide you with the steps to change either the device name or wireless network, or both.
    In order to prevent confusion, you should have a separate device name and a separate wireless network name.
    If you are not sure which version of AirPort Utility that you have, click on the AirPort Utility menu in the upper left corner of the screen and then click About AirPort Utility to see the version number.

  • What is the Difference btwn PORT and SOCKET

    Hai, what is the diff. between Port and Socket and is Port related to Hardware?

    Or another way, A socket is the connection you make, the port is the channel that the socket connected on.
    A lot of ports are assigned to a certain use eg 80 = http. So when you try to access a web page, your browser tries to make a connection to the server on port 80, the server software will listen on port 80 on the server computer for htp request.

  • Printing Differences btwn IDCS2 and PDF

    IDCS2  and Acrobat 7.0 Professional - Vista Home Premium.
    I am working on a book, with planned dimensions of 6 x 9. The text block is 4.5 x 7, with a 1/2 inch inner and a 1 inch outer margin. I save all files as both Indesign and as a pdf.
    When I check the output of a given file, the Indesign file is faithfully followng the preset. However, I've noticed that sometimes the PDF text block is only 4.25 x 6 5/8. There doesn't seem to be any obvious pattern to the deviations, because other sections of the book print PDFs that do follow the preset dimensions.
    I've looked at the settings on the PDF print dialog but don't see anything amiss. The preset dimensions haven't changed.
    I need to straighten this out before I can send the final output to the printers.
    Where have I gone astray?
    Thanks,
    Ed Bebee

    Bob:
    I've set the print dialog to print out the margins and text box guides. That is what I'm measuring. This does not seem to bother ID CS2, but the same file prints about 1/4 inch less width for the text box and about 1/2 inch for the height of the text box when printed with Acrobat.
    I'll check the scaling setting, but don't recall setting it. I assume that it should be "off" or "zero" or whatever means that it isn't set.
    Ed

  • Difference Between BAPI And RFC in ABAP

    Hi,
    i want to know difference between BAPI and RFC in SAP,
    can we call SAP GUI screen from NON SAP System Using BAPI.
    Reg,
    Hariharan

    Hi Ravishankar,
    The difference is not importat while you understand the concept.
    I think, RFC is the protocol for calling functions from external systems in R/3.
    I understand like BAPI a series of complet functions that SAP offers you for use and model a business use.
    But if I need program a function that can be called for external system i would call it RFC_NAME, because is a unique function that makes a single task.
    In other words, the difference i think is about work idea more than another thing.
    RFC
    A remote function call is a call to a function module running in a system different from the caller's. The remote function can also be called from within the same system (as a remote call).
    RFC consists of two interfaces : A calling interface for ABAP Programs and a calling interface for Non-SAP programs.
    The RFC Interface takes care of :-
    - Converting all parameter data to the representation needed in the remote system
    Calling the communication routines needed to talk to the remote system.
    Handling communications errors, and notifying the caller, if desired ( using EXCEPTIONS paramater of the CALL FUNCTION).
    BAPI
    BAPIs are standardized programming interfaces (methods) enabling external applications to access business processes and data in the R/3 System.
    BAPIs provide stable and standardized methods to achieve seamless integration between the R/3 System and external applications, legacy systems and add-ons.
    BAPIs are defined in the BOR(Business object repository) as methods of SAP business object types that carry out specific business functions.
    BAPIs are implemented as RFC-enabled function modules and are created in the Function Builder of the ABAP Workbench.
    The most critical difference btwn BAPI and FM is that BAPI can be wrapped in Business objects whereas RFC cant.
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    The following standardized BAPIs are provided:
    Reading instances of SAP business objects
    GetList ( ) With the BAPI GetList you can select a range of object key values, for example, company codes and material numbers.
    The BAPI GetList() is a class method.
    GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved and returned to the calling program. The instance is identified via its key. The BAPI GetDetail() is an instance method. BAPIs that can create, change or delete instances of a business object type
    The following BAPIs of the same object type have to be programmed so that they can be called several times within one transaction. For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, the second BAPI call must not affect the consistency of the sales order 2. After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.
    Create( ) and CreateFromData! ( )
    The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods.
    Change( )
    The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method.
    Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.
    The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.
    Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method.
    Add<subobject> ( ) and Remove<subobject> ( ) The BAPI Add<subobject> adds a subobject to an existing object inst! ance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.
    Check these Links out
    http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html
    http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm
    http://www.sap-img.com/fu033.htm
    http://www.sap-img.com/abap/ale-bapi.htm
    Refer following SDN threads:
    Diff. Between BAPI and RFC
    Re: BAPI and RFC
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Difference between rmi us  ejb

    difference between rmi and ejb

    i asked differences only u dont know plz keep
    silentYou don't know it either. I don't see anything wrong with that message. The first thing to do when you have a question is search for the information already available. With these kind of messages, you are reducing your chances of getting a good reply (which is likely to be "search google")
    why forum mr reflex2javaPlease use complete sentences that make sense to English speakers.

  • Rmi and http

    i know this might sound silly but i am new to rmi ( to java too )
    i want to understand the difference between rmi and other protocols such as http,ftp and so.
    now what i think i know - and sometimes think im not sure i know or
    perhaps im sure i know nothing about - is that rmi is java specific and can only work with java while http is different if im not wrong.. and rmi does not require http r8?
    so how can rmi work over http or ftp ..,( can it in the 1st place ?)

    Which version of WLS you are using?
    Applet should also need to satisfy the version requirements similar to
    standalone java client. With WLS 5.1, it may work. But, it will not work
    with 6.* servers.
    Again, the JRE versions in the Netscape and IExplorer are different. So the
    applet, working in IE may not work on Netscape. It is better to test a
    sample application, than taking assumptions.
    Cheers,
    ..maruthi
    "Andrea Musumeci" <[email protected]> wrote in message
    news:3cb1dcba$[email protected]..
    can an applet written in java 1.1.x work in a browser using weblogic rmiwithout a plugin? I need to create a java chat applet with callback. Tnx in
    advance

Maybe you are looking for

  • How many computers can i put a copy of dreamweaver on?

    how many computers can i put a copy of dreamweaver on? I am wanting to put it on my home couputer, laptop and work computer Am i able to do this with one serial number? Thanks

  • PS Elements 12 upgrade failure

    PS Elements 12 upgraded for new RAW today; Still will not recognize/import D810 Raw files; states wrong type/corrupted; Win 8.1

  • Slider control

    Hello again, i am experimenting with the 'slide control'. In the example I'm looking at there is a slider control which updates a numerical label immediately to the left of the slider on the main view (I'm sure you've all seen this before). It's part

  • Ground Hog Day redux with recurrent overly aggressive spam filter on Verizon outbound email

    Each day I send out two emails.  Each is to one addressee.  Each contains as an attachment a jobs newsletter my two friends have asked me to forward.  About every two weeks since this summer the Verizon spam filter identifies my emails as "spam."  Th

  • Can't Pathfinder-- Merge an object made with paintbrush??

    I've been having problems using the Pathfinder-->Merge. It seems that if at least one of two objects was created with the paintbrush instead of the pen tool, the objects aren't merged correctly. Why? Shouldn't this work? Am I missing something? Thank