Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About packaging

 
Dasong
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys
Give me some suggestion please. Thanks
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes to your first question.
Mark
 
Dasong
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks in advance.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic