Why we need to use the RMI if you have JSPs? or vice versa

Hi friends,
Can anyone please explain me whats the difference between RMI and JSP?
All I know is how to code and implement them both but can't figure out which one has more advantage than the other.
Actually this was the Interview question asked to me once,
The question was "Why we need to use the RMI if you have JSPs? or vice versa"
Please let me know if you have any answers for this.
Thank you.

harsh884 wrote:
Well I may not have very deep knowledge about them both but from the little bit of coding practice and implementation I know that too, that they are different technology and the implementation is also different. But didnt know what to answer for this question to interviewer.My answer would have been along the lines of using the right tool for the requirements. Use RMI when you want to work with remote objects "directly", but don't want to hassle with handling all the networking manually or restrict yourself to the HTTP protocol and an inappropriate use of the view layer in model 2 applications.
Thanks anyways for the reply.You're welcome. How did the rest of the interview go?
~

Similar Messages

  • I lost my receipt (bought a beats earphone at Apple store in Miami. Now I need to use the warranty. I have the earphone in the box, almost new! Help me please!!!

    I lost my receipt (bought a beats earphone at Apple store in Miami. Now I need to use the warranty. I have the earphone in the box, almost new! Help me please!!!

    If you paid with debit or credit card, contact your financial institution for
    a copy of the transaction.
    If you used your AppleID when making the purchase, it may be in your
    purchase history in the AppleStore app.

  • Can you still use the ichat if you have the iCloud?

    can you still use the ichat if you have icloud?

    Seems to be a lot of discussion in the iChat Forum. Maybe you can get help there. Sorry!
    https://discussions.apple.com/community/applications/ichat

  • Why can't i use the Apple ID I have been using after upgrading my Ipad Software?

    After upgrading to the highest OS, I'm being asked for my Apple ID - and I am using the ID I have always used for my Iphone, Ipad and Ipod, but it is teling me my Apple ID (email address) is already in use.  I only have one Apple account and ID and need to use my ipad.  How can I use the same ID?  Thanks.

    You have to create an Apple ID a specific way to use it without a credit card. The one you have created now, cannot be changed to not have a credit card. See this support document. http://support.apple.com/kb/ht2534

  • Why can't i use the conditional option, i have a paid account?

    When I am logged on and the conditional option is not available, it says you have to upgrade. But my account is a paid one.

    Welcome to the Support Communities. This old tutorial may help:
    http://www.kenstone.net/fcp_homepage/iweb_stone.html#shapes

  • Why can't I use the same itunes account on my new computer?

    I have a nano and had my itunes on my old computer. It crashed. I got a new computer and when I went to download more songs to the nano, it wanted me to delete all the songs. It wouldn't let me download the songs to the new computer. Now I have an ipod touch and an iphone and would like to transfer the songs to them...how does this happen???? I really don't want to lose all those songs. Thanks

    You need to use the iTunes backup you made on your old computer and restore it to the new one.

  • Why can't i use the older googlemail address on my ipad 2

    Using an Ipad 2, I can't seem to get access to my googlemail address? All I get is a page asking me to upgrade to Gmail and change all my settings. Is this a technical problem or is it just because Google and Apple don't get along with each other?

    You need to use the iTunes backup you made on your old computer and restore it to the new one.

  • Ok so my i need help with my iphone 4s... i have about $5.00 of credits left of the itunes card i got and i decided to get a show and it says i need to verify my credit card, why doesnt it just use the credits i have? its under 5 bucks? help me please

    ok so my i need help with my iphone 4s... i have about $5.00 of credits left of the itunes card i got and i decided to get a show and it says i need to verify my credit card, why doesnt it just use the credits i have? its under 5 bucks? help me please

    You have to do it here for help
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Not a lot of details here, but my guess is this isn't working for you because you are wiring in the task to the Active Channels Property and not the actual Channel Name. I have attatched a screenshot of what I believe you are trying to do. The Task has 2 channels in it, so I need to index off one of the channels and wire it into the active channels input of the Channel Property node. Then I can read information about that channel
    Attachments:
    channel_name.JPG ‏69 KB

  • Why we need to use webutil

    Hi all
    why we need to use webuti?
    sarah
    Edited by: SarahSarahSarah on Sep 15, 2009 5:36 AM

    Hi Sarah!
    You need webutil for client side integration.
    There are functions to get information about the client
    like read the client name (pc-name), read and write in the registry and so on.
    Without webutil it is not possible to read an imagefile
    on the clients filesystem and save it to the database.
    There is a file-transfer package, to copy files from and to the server
    and to download files from a http-url!
    If you submit a call to the forms host build-in to call
    for example a batch file, this call would be executed on the server, not the client!
    For this Mr. Duncan Mills gave us webutil. Thanks!
    Regards

  • Why can't I use the 16GB DDR3 System Memory (2 Dimm) with 24GB flash Hard Drive Acceleration Cache?

    I tried to customize the Envy 15t but I can't proceed on upgrading the following.
    Error
    24GB SSD Acceleration Cache requires purchase only up to 8GB System Memory. 
    Why can't I use the 16GB DDR3 System Memory (2 Dimm) with 24GB flash Hard Drive Acceleration Cache?
    Can HP explain this to me? or any one? please

    Hi,
    The 24Gb cache drive will store manything and normally it will need at least twice the size (capacity) of RAM. Double 16Gb is 32Gb therefore 24Gb is not big enough.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Why can't I use the Podcast app with the new update?

    Why can't I use the Podcast app with the new update? There needs to be an update for ios7 but it freezes and goes back to the home screen, can anyone help, thanks!

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Can you manually add data to Nike + or do you need to use the Nano?

    Can you manually add data to Nike + or do you need to use the Nano?
    What if you are on a trip and forgot your Ipod. It would be great to be able to add lost data. or even edit the Ipod data on the Nike + website

    Hi Hrbrmstr,
    That will be very cool if you can create an xml file
    that will allow us to add runs and edit runs on the
    Nike+ site! The trick may be getting past the server
    dragon which sends out a warning saying, "Your
    workout data could not be sent to nikeplus.com
    because the data could not be accepted by the server"
    when it does not like the data it is sent.
    For example, my runs that did not post had something
    in common: when I read these xml files with TextEdit,
    both have a line that says,
    "<stepCounts><walkBegin>0</walkBegin>". There's also
    a line that tracks steps run. It also said zero. Of
    course, these lines should NOT read zero, because I
    was not starting at zero steps! My guess is that this
    anomaly makes the Nike+ server either reject or
    delete these runs because the step count does not fit
    my other runs.
    Well, I'll leave this stuff to someone who knows more
    than I. Glad you're here.
    For jackt123, the longer is answer to your question
    is that certain things that are not doable now may be
    doable in the future. Stay tuned.
    I just got the dragon today. "Your workout data could not be sent to Nikeplus because iTunes received an unexpected response from the server. Please try again later." Did you ever find out why this happened to you? I went on nikeplus and it did in fact upload my latest run. Now my goals are blank on nikeplus.

  • Why we need to use Oracle B2B???

    Hi All,
    I have to know more about Oracle Fusion B2B.
    But I am not able to understand
    +Why we need to use oracle fusion B2B When we can Directly communicate with EBS & Trading Partner via BPEL & ESB+ .
    Please provide some documents which shows the requirement of B2B along with BPEL & ESB.
    I am not getting any document which talks about necessity of Oracle B2B.

    Yes you can connect via ESB but B2B provides additional functionality out of the box, e.g.
    - message metrics so you can see how many messages are received by partner.
    - It also allows you to mange SLAs with partners
    - Auditing
    - Manage partners
    - You also have the options of Adapters for the different industry standards
    In 11g this becomes alot more seamless integration the current version is still on 10.1.2 so your architecture can look a bit bloated.
    I believe the wait for 11g is not too far way, but Oracle have been saying that for some time.
    http://www.oracle.com/technology/products/integration/b2b/index.html
    cheers
    James

  • Why am I getting this message: 403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied?

    I just tried to access a website that I regularly access several times a day. However, this evening I received the following message: 403 - Forbidden: Access is denied.
    You do not have permission to view this directory or page using the credentials that you supplied.
    I have never seen this before, and have no idea what it means, or how to access the site. Does it have anything to do with my security settings? Help. I belong to the site, and need to access it.

    Do you need to login to access that website?
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

Maybe you are looking for