Forums Register Login

where to throw the stub ...

+Pie Number of slices to send: Send
Hi Ranchers,
i am currently putting the stub into the client package.
so i am having a structure
suncertify/db/client/suncertify/db/server/Stub
is this a sensible approach related to the stub
any thoughts will be very much appreciated!
+Pie Number of slices to send: Send
 

Originally posted by aadhi agathi:
so i am having a structure
suncertify/db/client/suncertify/db/server/Stub


I'm a little wary of this package structure. I would keep yours similar to what Sun already gave you with suncertify.db.
-BJ
+Pie Number of slices to send: Send
You shouldn't put the stub into the package. You put it in with your jar.
meaning
you won't do this

your stub is still part of the suncertify/server.
Actually now that I am looking at it. Are you sure your package naming is best. is the client part of db as you have in suncertify/db/client, or would it better to be suncertify/client, with db classes being in suncertify/db, and server classes in suncertify/server package.
You stub classes will only need to be included into the jar file, client.jar and server.jar
Hope that helps
Mark
+Pie Number of slices to send: Send
 

Originally posted by Mark Spritzler:
You shouldn't put the stub into the package. You put it in with your jar.


Actually now that I am looking at it. Are you sure your package naming is best. is the client part of db as you have in suncertify/db/client, or would it better to be suncertify/client


Mark
My God! its really an eye Opener! yes,
suncertify/client is 100 times better than
suncertify/db/client. worse suncertify/db/client
is wrong. Thanks a zillion for pointing this out.


You stub classes will only need to be included into the jar file, client.jar and server.jar


i got it , atlast!


Hope that helps


nothing ever helped me more than this.
thanks a lot Mark for being with us, java fools
[ March 19, 2003: Message edited by: aadhi agathi ]

 
+Pie Number of slices to send: Send
 

thanks a lot Mark for being with us, java fools


Yes, I am a Java fool too. Just look at my posts in the j2ME forum. learning alot there and finding it really cool too.
Mark
Please do not shoot the fish in this barrel. But you can shoot at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 794 times.
Similar Threads
Creepy classpath?
NX: Location of Stub & Skel class
problem executing executable jar file
FBN - packaging + locking
Help!Jar file question!!
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:09:19.