aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes rmic tool needed? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "rmic tool needed?" Watch "rmic tool needed?" New topic
Author

rmic tool needed?

Yu Sun
Greenhorn

Joined: Nov 06, 2006
Posts: 29
Hi guys,

I tested my project a lot and it works well. However, I just found that in Andrew's book, it also mentioned using rmic tool to generate the stub.

What is the purpose? Do we need to use this?

I made the RemoteServiceImpl extending UnicastRemoteObject, and register the RMI using the regular approach.

Thanks.

Yu
Carlos Morillo
Ranch Hand

Joined: Jun 06, 2009
Posts: 221

Hi Yu,

Yu Sun wrote:
What is the purpose? Do we need to use this?


Yes, you do. In my instructions I have:

You must provide all classes pre-installed so that no dynamic class downloading occurs.



HTH,

Carlos.


SCSA, OCA, SCJP 5.0, SCJD, CCDH, CCAH http://www.linkedin.com/in/carlosamorillo
Yu Sun
Greenhorn

Joined: Nov 06, 2006
Posts: 29
Thanks Carlos. I guess I am ready to submit

Yu
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2266
    
    3

Champions, I myself didn't use rmic and said that in the essay exam and in my choices.txt file. There was another guy from Brazil too (I don't recall his name right now) that didn't use it and also passed. I said that, since I was using Java 6, it wasn't necessary anymore so I chose not to use it.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Ralf Titgemeyer
Greenhorn

Joined: May 18, 2010
Posts: 9
Hi Yo,

in my assignment there is the same requirement as Carlos wrote...

You must provide all classes pre-installed so that no dynamic class downloading occurs.


So in my opinion you have to use rmic, because it is a must. I think we all know that this ist not necessary since Java 5, but it is a must.

I use Ant to make everything in my project, from the Compile, over the creating of JavaDoc to the complete build of the jar to submit. For example this is an Ant task for rmic:


..and this task compiles one stub and one skeleton...

Kind Regards,
Ralf


SCJP 6.0
Andy Jung
Ranch Hand

Joined: Feb 07, 2010
Posts: 150

<rmic classname="suncertify.db.UrlyBirdModelImpl" base="build/classes"/>


Hi Ralf,

seems like you have exactly the same nomenclature like me .
I also named my model "suncertify.db.UrlyBirdModelImpl".

Kind regards,
Andy


SCJP, SCJD
Ralf Titgemeyer
Greenhorn

Joined: May 18, 2010
Posts: 9
Hi Andy,

I think we had the same teacher....

Have a nice evening in Munich,
Ralf
Yu Sun
Greenhorn

Joined: Nov 06, 2006
Posts: 29
Thanks a lot, guys.

I also have that "must" requirement for my assignment, so I just generated it.

Yu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: rmic tool needed?