• 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:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

Package problem

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I plan to submit my project in few days. In order to make the hierarchy more clearer, I separate it to client and server sub-package like

--suncertify -- Launcher.java//to start the whole project.
|
|- client-//contains 4 sub-packages
| |
| |- controller - The controllers of MVC
| |- dao - DAOFactory
| |- model - Application Model
| |- ui - All created UI
|
|
|-db - DBAccess, Data, LocalData, Exception
|-server - RemoteInterface, LockManager, RemoteData, Server
|-utility - Some Utiltiy files

Do I separate them in a correct way?

Another question is sun only require us to package one jar named runme.jar, then why he talk about some dynamic downloading issue? I think rmic the code and jar them is enough. right?
[ April 24, 2005: Message edited by: Zee Ho ]
 
Zee Ho
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
call up!
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Zee,

Your packages look reasonable.

You are correct - running RMIC and putting the stubs into the runme.jar file is all you need do.

FYI...

Under the older assignment (Fly By Night Services), it was not necessary to have a single executable jar file (or any jar file at all). So it was possible for candidates to have separate code for client and server, and to require dynamic downloading of the stub files. This has been explicitly banned in the current assignments.

Likewise, JDK 1.5 added support for the dynamic generation of stub classes at runtime, however utilising this might run foul of the dynamic downloading clause.

Regards, Andrew
 
No prison can hold Chairface Chippendale. And on a totally different topic ... my stuff:
The new gardening playing cards kickstarter is now live!
https://www.kickstarter.com/projects/paulwheaton/garden-cards
reply
    Bookmark Topic Watch Topic
  • New Topic