Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9127511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:17:56+00:00 2026-06-17T07:17:56+00:00

Does stub always mean the same thing when you write programs? Stubs provide replacement

  • 0

Does stub always mean the same thing when you write programs?

“Stubs provide replacement implementations for objects, methods, or
functions in order to remove external dependencies. Stubs are
typically used during unit and component testing. If you’re trying to
write a unit test and need to replace a simple call to a database,
external libraries (e.g., file I/O) or other system API, stubbing
might be perfectly suited for your needs.”

I thought stub and skeleton were only in CORBA but here there’s a stub and is that the same thing/concept? A coiincidence or a connection when the word “stub” appears in rather different programming models (RMI and MIPS assmebly are 2 rather different) both have the concept / thing called “stub” and I also know for RMI / CORBA there’s something called the skeleton but it’s also possible to have a stub without a skeleton or what?

For instance when main is translated to assembly it’s called a stud here and is there a connection to that stub and skeleton are used in network programming such as CORBA or is it no connection despite both are called stub?

movia r8,stub # source
movia r9,0x800020 # destination
ldw r10,0(r8) # read
stw r10,0(r9) # write
ldw r10,4(r8) # read part 2
stw r10,4(r9) # write
ldw r10,8(r8) # read jump
stw r10,8(r9) # write
... # initialize others

Is the code above an exmple of a stub? If so, what would be a skeleton or is that not applicable?

Thanks for info.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:17:57+00:00Added an answer on June 17, 2026 at 7:17 am

    CORBA and RMI stub is a quite specific object that locally represents a certain remote object. This object exists on server side and the stub exists on a client side. The stub implements the same interface (has same working methods), forwarding all calls to the remote object, also receiving returned results and exceptions. Stub class is normally often automatically generated.

    Stub in general has a different meaning (something that is only half finished, often just enough to make the code to compile but not to run properly).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For example, what does it mean in this quote? Integrating with an external API
We're looking for an alternative to Java web start that effectively does the same
what does the constructor intent(EAlarmReceiver, Class) is undefined mean? is this the proper way
Does anyone know if there is a way to generate different code in the
Does COUNT(*) have any significant impact for MySQL performance if query already has GROUP
Does anyone have a translate function for x/y positions after rotation in javascript? for
Does anyone know of a free tool, similar to what is built into Visual
Does anyone know why UsernameExists wont return True. I must have my syntax messed
Does anyone out there know how to integrate ContentFlow ( http://www.jacksasylum.eu/ContentFlow ) and Lightbox2
Does the following psuedo code accomplish my goal of cleaning up after myself when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.