aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes why two Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "why two "rmi" packages?" Watch "why two "rmi" packages?" New topic
Author

why two "rmi" packages?

Saeed Amer
Ranch Hand

Joined: Jan 20, 2004
Posts: 135
Hi Seema/Valentin,

I read somewhere that "no question is a dumb question" but here is a real dumb question:

why do we have two different packages for "rmi", I mean:
o java.rmi and
o javax.rmi

what does the "x" mean in the javax? 'eXtension', maybe? Extension of what?

To prepare for SCBCD questions, I have to 'memorize' what class/interface belongs to which package and I get confused by above two packages (in additions to gazillions of other EJB things)?

TIA,
SA
Saeed Amer
Ranch Hand

Joined: Jan 20, 2004
Posts: 135
I think I have got the answer. javax.rmi provides APIs for RMI-IIOP, right?
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
javax.* packages are so-called extension packages that provide additional functionalities supporting those present in the base java.* packages.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
cheenu Dev
Ranch Hand

Joined: Nov 13, 2005
Posts: 276
what does the "x" mean in the javax? 'eXtension', maybe? Extension of what?

hey saeed its really astonishing..
you finished scwcd..without knowing what javax packages means..


cheenujunk@gmail.com
Saeed Amer
Ranch Hand

Joined: Jan 20, 2004
Posts: 135
Thanks Valentin!
[ August 31, 2006: Message edited by: Saeed Amer ]
Saeed Amer
Ranch Hand

Joined: Jan 20, 2004
Posts: 135
--------------------------------------------------------------------------------
what does the "x" mean in the javax? 'eXtension', maybe? Extension of what?
--------------------------------------------------------------------------------


hey saeed its really astonishing..
you finished scwcd..without knowing what javax packages means..


yeah
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
You need to memorize the package name just for the exam sake. In real life, you probably would never have to worry about that.

Eclipse is my preferred Java Editor and I dont have to remember which class lives in which package etc... I just type in the class name and press Ctrl+Space., Eclipse takes care of the rest.


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
cheenu Dev
Ranch Hand

Joined: Nov 13, 2005
Posts: 276
In real life, you probably would never have to worry about that.

might be.but knowing about things going on at the back will(should) be useful one time or the other.
[ September 01, 2006: Message edited by: cheenu Dev ]
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Beginners and novices should NEVER rely on IDEs while they are learning some new technology because they do not get to put their hands in the dirt, and thus, they definitely miss a lot of details that should be acquired during the learning process.

I give plenty of Java courses to students and after having taught them the basics the first thing I ask them to do is to write a small program during 1-2 weeks in a text pad and I forbid the use of any compilers (JavaDoc is allowed, though). Basically, Bob becomes "JBob-the-compiler" and Marc becomes "JMarc-the-compiler" during that time. A good developer can write code, but an excellent developer should be able to mentally compile and execute the code he's writing.

Of course, one would never develop like that, but I've found that this process really helps people sink in lots of the details they would never have seen if they had relied on an IDE and/or a compiler.
[ September 04, 2006: Message edited by: Valentin Crettaz ]
cheenu Dev
Ranch Hand

Joined: Nov 13, 2005
Posts: 276
thanks for your valuable advice.
during 1-2 weeks in a text pad

yeah text pad is superb ...i like it a lot.
Ramasubbhu Allur Kuppusamy
Ranch Hand

Joined: Sep 16, 2005
Posts: 120
Its always a wonderful learning experience to have the Moderators stepping in to answer technical questions. Thank you Valentin...


Regards,<br />Ram.<br />SCJP 1.4
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Its always a wonderful learning experience to have the Moderators stepping in to answer technical questions. Thank you Valentin...

Well, that's the whole idea of forums...
I wish I could spend more time helping people as I did in the past... but work decides differently
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why two "rmi" packages?
 
Similar Threads
How to display All packages at a time..
The difference of start rmiregistry by API and Command line
Ejb and reusablility
Jquery-Ajax:- How to pass nested parameters
looking for SCJD checklist!!