Open jfabry opened 11 years ago
We should actually consider other types of Java apps as well, e.g. Servlets or Midlets.
The former have as entry points
void init(ServletConfig config)
service(ServletRequest req, ServletResponse res)
The latter have as entry points
void startApp()
void pauseApp()
void destroyApp(boolean unconditional)
To generalize: remove the restriction on the entry point being the main method, and make it able to have multiple entry methods.
(Voor tussen de soep en de patatten.)
Example:
healthwatcher.business.HealthWatcherFacade.main(java.lang.String[]))
is originally declared inhealthwatcher.aspects.distribution.HWServerDistribution