Help !!! why does the client need to specify codebase

Anyone,
I'm trying out a dynamic class loading tutorial.
my question is why does the client need to define
java.rmi.server.codebase.
I can understand why the server needs it, as it is downloading classes
it does not have information about. But why does the client need to specify the codebase

Lets say you have a Remote interface with a method:
void compute(Task task);
Now, the clients of this remote interface want supply
a zillion of custom tasks to be executed on the
server, but how the hell the server knows where to get
the actual classes for those tasks?You fool. its for the server to hand the client the reference to a stub, or to specify FOR the client where the stubs are, so that the CLIENT can get a reference to them, to make the call.
This is where the
client codebase comes to the scene. Client codebase......you mean codebase info that is sent TO the client, so it can find the classes.
A client annotates
it and it gets written to the manifest part of any
serializable object (Task implentation) being passed
over then net so the server could find and download
the actual class of the object.
Rubbish.
I hope I made myself clear. as mud.
You might want to check
out this link also:
http://java.sun.com/products/jdk/1.2/docs/guide/rmi/cod
base.htmlI read this and i still dont see anything about CLIENT codebase. I see stuff about codebase, and the server trying to make the client aware of where it can get the relevant classes.
What a fool you are. Dont bother replying. I have had enough of your autocratic rubbish.
>

Similar Messages

  • Why does RMI client needs to specify codebase

    Anyone,
    I'm trying out a dynamic class loading tutorial.
    my question is why does the client need to define
    java.rmi.server.codebase.
    I can understand why the server needs it, as it is downloading classes
    it does not have information about. But why does the client need to specify the codebase

    The client has to annotate the codebase property if it is calling remote methods with parameters, whose subtypes are not defined in the server. This way server has a change to dynamically locate and load those classes from specified codebase.

  • Why does the system need two average costs - 'Average' and 'Average Rates'?

    Hello Gurus!
    The documentation does give definitions for 'Average' and 'Average Rates' cost types, but at a very basic level.
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/cst/settask.htm
    I would like to know why the system needs two costs? How are they calculated and how are they used?
    Thanks!

    Hello,
    I can suggest you a workaround that will help you keep only the 64-bit version of Photoshop.
    Visit "Uninstall a Program" in Windows 7 Control Panel and uninstall Photoshop completely.
    Visit this page and download trial version of Photoshop.
    Run the installer manually and choose the 64-bit version only (uncheck 32-bit version).
    Launch the product and specify your Adobe ID credentials.
    The product will switch to non-trial (i.e. full) mode when it recognizes your Adobe ID.
    Regards,
    Amit Batra
    Engineering Manager,
    Amit Batra

  • Why does the battery need to be recharged so often?

    My iPod is brand new and need recharging every other day.
    Why and how does this happen?

    bill248 wrote:
    Thanks for the answer.
    I have been using it every day. Would the battery need to be replaced?
    No.

  • Does the client need to install Contribute to edit their website?

    I have recently started out in the website design world (feeling VERY much like Alice!), and am trying to get my head around CMS.
    Starting to explore Contribute/Joomla/Wordpress and although I  understand the manipulating templates/coding part of things, how does  the CMS process work?
    As in, at which point do you, the developer/designer, put into use Contribute, or Joomla etc for the client, and then how does the customer use it? Do they have to install Contribute at their end?
    I am about to start a website for a client with a face-painting business who wants a simple 3-page  site (home, gallery, contact), and wants to be able to update the gallery page. How do I start  with Contribute or Joomla? I have tried to wade  through the mountains of info I found online, but can't seem to find the BEGINNING!
    Thanks in anticipation!
    Magda

    Hey Magda,
    I use Joomla myself, and about 2 years ago I felt the same way you do. I didn't understand how the CMS part of web design works. I do not know how Contributor works, but I know that in Joomla anyone can sign into an administrative "backend" where you can log in right in the web browser and edit articles and information.
    So basically (in Joomla) if your website is www.genericexample.com, you would go to your web browser and type in www.genericexample.com/administrator. This will bring you to a login form, and after you log in you will be at an interface where you can edit your website content without even touching HTML or CSS. It's all WYSIWYG (but it does let you directly edit the HTML and CSS if that is what you want to do).
    In Joomla you can add users and give them passwords so that your clients can update their website after you have completed it and moved on.
    The interface is very simple to use.
    Kind regards,
    Tim

  • Why does the smc need resetting?

    Does anyone know why the SMC on my Intel_Mac needs to be reset every couple of days?
    It's on a UPS so one would assume that fluctuations in the power supply could be ruled out.
    Is there a firmware up grade for this problem?

    OK, two questions:
    1. What year and size iMac do you have?
    2. What version of OS X is installed?
    Frequent causes of this problem are traced to peripherals (printers, external hard drives, USB Hubs etc..) that are connected. I would trouble shoot by disconnecting all of your devices and then plugging each one in one by one and test until you either eliminate all of the peripherals as the problem or find the culprit.
    I was also able to locate his article that may help too: http://www.cnet.com/news/how-to-tackle-waking-a-stubbornly-sleeping-mac/

  • Why does the "You need to restart your computer" error appear when I open Vuze?

    Hi there,
    I apologise that this has probably been asked many times however none of the relevant threads I have come across solved my issue.
    I have the most current version of Vuze and a Macbook Pro (Version 10.6.8 OS X).
    After using Vuze for a year with zero issues, today I have had to restart my MBP several times due to this error message which is displayed in 5 different languages: "You need to restart your computer. Hold down the Power button until it turns off, then press the Power button again."
    This error only occurs when Vuze is open.
    No idea why this is the case. Could it perhaps be a file I am downloading?
    Any help would be really appreciated. Thank you for your time.

    Don't unplug the M-box while your MBP is on.

  • Why does the iPad need to be connected to a host computer to access the app store?

    Is this normal operation?
    I remember when I first purchased it that I needed to be connected to a host computer to even just turn it on. At that time I was advised to redo the sign-in and create a password operation and was then able to run the iPad independantly of a host computer.
    Is there a way to download apps directly to the iPad without a host connection?

    Well, then this thing has gotten into a mode that will not allow the app store connection unless it is connected to a host machine.
    It will prompt me for the password, accept it, and then go into an endless loop of saying "Not logged in. Would you like to log in?"
    If I enter an incorrect password (as a test) it will tell me "password is incorrect" - so that's not it.
    Again, this reminds me of the mode this was in when I first got it and needed to be teathered to simply turn it on.
    I'm only using the iTunes backup and restore method. I never learned how to simply clone the iPads HDD volume for absolute foolproof backup so I can not say that I'm able to clone my original HDD image back 100% identical to what it was when this was last working normally.
    PS. Yes, the iPad is powered on. Yes, I have wi-fi access. Yes, I have power to my home. Yes, I'm sure. Yes, I've done this before and it used to work.

  • I need help why does i send to this friend there is a redbox + x

    i need help why does i send to this friend there is a redbox + x , but i send to other friend there is no problem. for anorid samung s3 phone

    Are you sure you have the right pin for your other friend? Try deleting the contact and re-adding them. Also, BBM has to be approved in the countries of both parties.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Why does the fire fox page change, sometimes it is just an orange fire fox button and othr times it says file, edit, view History, bookmarks, tools, help? I barely learn how to run one version of the page and then it changes

    Why does the fire fox page change, sometimes it is just an orange fire fox button on the top left that opens a panel with all the things listed in it and then it sometimes has a bar across the top that says File, Edit, View, History, bookmarks, tools, Help? I barely get used to using one type of set up and then it changes to the other without me doing anything??

    [[Menu bar is missing]] and [[Preferences are not saved]] may help to you

  • Why does the App store say 'download' to OSX Mavericks when i have already downloaded the update, and restarted the computer? I can't find Mavericks icon on the dashboard or launchpad either! Help!

    Why does the App store say 'download' to OSX Mavericks when i have already downloaded the update, and restarted the computer?
    I can't find Mavericks icon on the dashboard or launchpad either! Help!

    It sounds like you've installed Mavericks.  You can confirm this by clicking on the Apple located at the top left of the screen and choosing "About This Mac" from the menu.  You should see a window appear with the text "Version 10.9.1" near the middle.
    If it says "Version 10.9.1", then you've installed Mavericks.  It still says "Download" in the App Store because you can still download the operating system after installing it.  This is useful if you want to download it for a friend, or create a USB boot drive.
    Morgan

  • Why does Sun Studio need NetBeans?

    Hi!
    Why does Sun Studio need a NetBeans installation for running successfully? If I am not too wrong, I believe Sun Studio has the same relation to the NetBeans project as Star Office has to OpenOffice.org?
    Now, coming to the solution. I am using Sun Studio 12 on Solaris:
    amit@opensolaris:~$ sunstudio --netbeanshome /export/home/amit/netbeans-6.5beta/bin/
    Validating NetBeans IDE at: "/export/home/amit/netbeans-6.5beta/bin/"
    Sun Studio is unable to find a supported version of the NetBeans IDE at the specified location.
    Sun Studio requires a NetBeans IDE version 5.5.1 with NetBeans C/C++ Development Pack version 5.5.1
    installed. Sun Studio looks for a valid NetBeans IDE installation in the following order:
    1) Location specified with --netbeanshome command line option
    2) At /opt/netbeans-5.5.1 location, if exists
    3) At /opt/SUNWspro/../netbeans-5.5.1 location, if exists
    4) At /opt/SUNWspro/../../netbeans-5.5.1 location, if exists
    Please run the System Preparation Tool (prepare_system), if available, to set up your environment.
    As is apparent, I have a NetBeans 6.5 Beta build.
    What is the solution?
    Thanks,
    Amit

    The realtionship from SunStudio to NetBEans is more than a line from A to B.
    Ideally SunStudio releases would track NetBeans releases.
    However, NetBeans evolves at a rather fast pace. At the same time SunStudio
    also contains compilers which have their own products to coordinate with ...
    OS releases, new SPARC chips and Sun system releases.
    These releases never coincide so SunStudio tends to lag in it's dependencies
    on NetBeans and as a result ships with it's own copy.
    We used to actually build our own, sometimes tweaked, NetBeans for SunStudio.
    Weve made some progress in that we just pick released NetBeans bits and re-ship them.
    We're working on the ability for SunStudio to use NetBeanses which are already
    installed.
    To make older SunStudios use newer NetBeans is a tougher proposition but
    we're dedicating grey cells to that matter as well.
    If you really want a NB 6.5 based SunStudio wait a bit. We'll be releasing
    SunStudio SX based on NB 6.5 shortly.

  • Why does the "downloading the latest applications" bar continually appearafter upgrading to Firefox 3.6.8?

    Why does the "downloading the latest applications bar" continue to appear after upgrading to 3.6.8?
    == This happened ==
    Every time Firefox opened

    See:
    http://support.mozilla.com/en-US/forum/1/732258?s=downloading+latest+application&as=s
    http://support.mozilla.com/en-US/forum/1/737414?s=downloading+latest+application&as=s
    <u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
    <u>'''Update Java'''</u>: your ver. ~~red:1.5.0_06 (very, very old)~~; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    (Firefox 3.6 and above requires Java 1.6.0.10 or higher; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 )
    ''(Windows users: Do the manual update; very easy.)''
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.
    <u>'''NOTE:'''</u> Java version 1.6.0.21 has been released. It is mainly an update for developers of Java applications and most users do not need to be concerned about downloading version 1.6.0.21. <u>'''''At this time'''''</u>, the update option in existing installations of Java 1.6.0.20 are not updating to version 1.6.0.21; <u>'''''at this time'''''</u>, it must be manually downloaded and installed. According to the Java release notes:
    ''"'''Bug Fixes'''''
    ''Java SE 6 Update 21 does not contain any additional fixes for security vulnerabilities to its previous release, Java SE 6 Update 20. Users who have Java SE 6 Update 20 have the latest security fixes and do not need to upgrade to this release to be current on security fixes."'' Source: http://java.sun.com/javase/6/webnotes/6u21.html
    <u>'''You '''</u>~~red:<u>'''MAY'''</u>~~<u>''' need to Update Adobe Reader for Firefox (aka Adobe PDF Plug-In For Firefox)'''</u>: your ver. N/A; current ver. 9.3.3 (important security update release 06-29-2010; see: http://www.adobe.com/support/security/bulletins/apsb10-15.html)
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: http://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    ''<u>You may be able to update from the Adobe Reader installed on your system</u>'' instead of going to the Adobe site and downloading. Open the Adobe Reader installed on your system (''in Windows, Start > Program Files, find and click Adobe Reader to open''), click Help, click Check for Updates. Allow the download/update to occur. If you use this method, no need to proceed with the instructions below, <u>'''but'''</u> do look at the two bulleted items at the bottom "'''<u>NOTE for IE:</u>'''" and "Also see:". Restart Firefox and check your new version here: http://www.mozilla.com/en-US/plugincheck/
    ''<u>If you go to the Adobe site to download the current Adobe Reader:</u>''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    ~~red:-See the images at the bottom left of this post to see the steps to take on the Adobe site~~
    -exit Firefox (File > Exit)
    -In Windows: check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -In Windows: double-click on the Adobe Reader installer you just downloaded to install/update Adobe Reader
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version. To install/update the IE ActiveX version, same instructions as above, except use IE to download the ActiveX installer. See: [[ActiveX]]
    *Also see: http://kb.mozillazine.org/Adobe_Reader ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]

  • How much info about the cache-cluster does the client have and What would you recommend about putting the cluster behind virtual ip

    Hi,
    I will appreciate if someone can point me to some documentation as to how app-fabric client library accesses the app-fabric cluster.
    What I have found so far is that the list of hosts provided in the client configuration are used as an entry point into the Cache-Cluster. By connecting to one of hosts, the client will download information about all the hosts constituting the cluster.
    Since a named cache is distributed across the entire cluster, and the data can be stored on any node. How does the client decide which node it should connect to, to get the data from. Does the client have enough information to know which host has the data
    or the client will connect to one of the nodes, if the node has data, it will serve it otherwise redirect the client to the node that has the data.
    I also would like to know what do you say about the idea that we would like to put our cache-cluster behind a virtual ip, so that if needed, we can take down nodes or add more nodes. In fact the virtual ip will that of a load balancer, but we don't plan to
    use it for load balancing purposes but the idea is that the client will have the virtual ip address and we can repoint this IP address, if we need to take out a node for maintenance reason. 

    I'm not sure about the reason for putting the cache servers in a VIP, but one of the reasons why the cache servers should be made known to the servers is because of auto load balancing and throughput
    Imagine i have 10 cache servers running on 1G ethernet links, theoretically i have 10G usable bandwidth and the clients will be able to manage and load balance if any of the cache server fails or have performance issues
    Now if all these were parked behind a VIP
    1. The LB now does the load balancing, which may not be optimal
    2. The LB may not have 10G upstream and 10G downstream, even if it has, this is quite a waste of resource\

  • AADSTS65005: The request has failed because the client has not specified this resource in its requiredResourceAccess list

    Hello,
    I'm trying to acess an OData feed using Power Query.
    The service is guarded by an AAD OWIN middleware and is registered in AAD.
    If I try to consume the service, a popup appears which allows me to login, but after login I get the following error:
    AADSTS65005: The client application has requested access to resource <resource>. This request has failed because the client has not specified this resource in its requiredResourceAccess list.
    Trace ID: acdb2c32-4249-46e4-8afe-38db0aad991b
    Correlation ID: aed596d5-b663-42ae-8621-64a8e04dc8fa
    Does anyone know what might be the problem?
    Thanks!

    Hi,
    By default, a registered app is configured to request "Read the user's profile", which once consented to by the user, allows the app to get a user token (id token if using OpenID Connect) and read the signed in user's profile (including their mail
    address or addresses) when calling the Azure AD Graph API. 
    Please try setting the resource in your request to Azure AD,
    Please refer to the similar thread:
    http://stackoverflow.com/questions/26093954/oauth-integration-with-o365-fails-with-error-aadsts65005
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • Error Loading Plugins - CS2

    My Illustrator won't completely load.  After about 30 seconds the computer freezes.   I have a pc with vista.  I believe illustrator worked two years ago when I got this computer. Installed it right after I got it.  I think it worked after I got this

  • ITunes window keeps coming up

    The iTunes library file cannot be saved.  An unknown error occurred  (-54)

  • Twistedcaldav remote-server-not-found error

    [notifications] 2012-01-01 18:53:11+0100 [XmlStream,client] [twistedcaldav.notify.XMPPNotifier#error] PubSub node creation error: <error code='404' type='cancel'><remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error> Whenever

  • Extracting PIR (material prices) Data into BW

    Hi Experts, I am working on a BI Integrated Planning project. Product cost will be calculated in CO-PC. During cost roll-up system can pick material prices from any of 5 fields i.e. Standard price, Future Price and Planned price 1,2,3. I have a requi

  • Max file size OSB 11 can Process

    Hi, What is the max file size OSB 11g can process. Regards, Abdul