File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes About  packaging 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 "About  packaging" Watch "About  packaging" New topic
Author

About packaging

Dasong
Ranch Hand

Joined: Apr 05, 2002
Posts: 36
Hi guys
I heard I don't have to download Server_Stub from server side when run client side Application. That means I have to put package suncertify.server.* at client side right?
Dasong

[ April 13, 2002: Message edited by: Dasong ]
Dasong
Ranch Hand

Joined: Apr 05, 2002
Posts: 36
Hi guys
Give me some suggestion please. Thanks
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
I am not clear about your question. But here is the way RMI runtime works:
We know the FBN client needs two XXXX_Stub classes. One for the remote server and one for the remote implementation (Assuming that you are creating an unique remote impl object for every client). All you have to do is when you start the remote server, the -Djava.rmi.server.codebase property should point to parent directory for your XXXX_Stub.class files (Keep the package names in mind).
You don't have to use
Dasong
Ranch Hand

Joined: Apr 05, 2002
Posts: 36
I set codebase property right upon foder(right before suncertify) of package name of _Stubs. But it doesn't works
[ April 14, 2002: Message edited by: Dasong ]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Yes to your first question.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Dasong
Ranch Hand

Joined: Apr 05, 2002
Posts: 36
Hi Mark,
1.How did you create or get the manifest file like that. I did get manifest. but it doesn't include Main-Class property.
code:
--------------------------------------------------------------------------------
Manifest-Version: 1.0Created-By: 1.3.1 (Sun Microsystems Inc.)
Main-Class: suncertify.client.FlyByNightAirlines
--------------------------------------------------------------------------------
2.your suggestion please.
I cann't access db.db and userguide.html(for online help) when run client.jar
thanks
[ April 16, 2002: Message edited by: Dasong ]
[ April 16, 2002: Message edited by: Dasong ]
Dasong
Ranch Hand

Joined: Apr 05, 2002
Posts: 36
Thanks in advance.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

I posted in another thread. You need to keep your questions in one thread. Meaning if you ask Question A, have it in it's own thread A, don't post it multiple times in other threads.
My Manifest file. I Typed it myself in a text editor.
Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About packaging