• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Final packaging structure

 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to have to jar file set up as follows:
Main jar file contains:
server.jar
client.jar
db.jar
db.db
designchoices.txt
README.txt
I will ask the assessor to extract it into a suncertify dir.
server.jar has all the classes, javadoc, resources and source files for the server. It only has classes for the db but not source code. This is executable. I will ask the assessor to extract it into a suncertify/server dir.

client.jar has all the classes, javadoc, resources and source files for the client. It only has classes for the db but not source code. This is executable. I will ask the assessor to extract it into a suncertify/client dir.

db.jar only has db source, javadoc and classes. This is non-executable. I will ask the assessor to extract it into a suncertify/db dir.

User help is online. The help html files are part of the resources that get loaded into client.jar and server.jar.
How does this look?
Thanks a bunch!
Aruna.
 
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I will ask the assessor to extract it into a suncertify/server dir.


You may not ask the assessor to extract a jar into a specific directory, your program should work from any directory.
Eugene.
 
Aruna Raghavan
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eugene,
Yes, the jar files should run form any directory. So, if I don't have to be thinking about where he will extract them to, I think it would be the easiest to dump all my .java, .class and .html into one jar file for client, one for server and one for db. Organizing them into something like
suncertify/server/classes
suncertify/server/source
suncertify/server/javadoc
is not worth the hassle. Do you aree?
Thnaks,
Aruna.
 
Aruna Raghavan
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eugene,
I think this is a better approach.
client.jar
server.jar
src.jar
classes.jar
original_src.jar
higher lever devexam.jar that contains all of the above.
I won't say anything about classpaths or where to install these.
Thx,
Aruna.
 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since you have all your .class in client.jar and server.jar and they are executable jar files, what is in classes.jar file?
Garandi
 
Aruna Raghavan
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suppose I wouldn't need to include it.
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You also don't need to include original_src.jar since your source.jar already includes all the supplied source.
Eugene.
 
reply
    Bookmark Topic Watch Topic
  • New Topic