Re: [Simpleweb-Support] A complete tutorial?
Brought to you by:
niallg
|
From: Niall G. <ni...@em...> - 2005-01-07 06:49:34
|
Hi, > Where's the rest of the tutorial? Documentation is shmthing that I have spent little time on, I really should= improve the tutorial. However, with time constraints it is difficult. Espe= cially since everything is second nature to me, its hard to be objective an= d write from the perspective of a user. If you have any ideas or material y= ou would like to contribute I will make sure to include them. > You should copy the example off of Brian's blog. I doubt it's > just me, but as Simple is an embeddable server, my goal is to > embed it into my application. Which means that my services will > be encluded in the same .jar as the rest of the application. > And that just doesn't seem to work with a MapperEngine. You can do this by extending the MapperEngine and providing the name of the= JAR archive as the file classpath. This should be fairly easy to do. Have = a look at MapperEngine(Context,File) or perhaps LoaderEngine(Context, URL[]= ) if you wish to bypass mapping altogether. > The basic issue is that Simple is designed around a bunch of > Factories, Engines, Managers, Contexts, and Services. I can't > tell what each of these types is supposed to be doing to a > request. The javadoc isn't clear. Perhaps an annotated diagram > would clear up how all these classes fit together. It seems > very powerful and incredibly flexible, if only I could > understand the architecture as well as the author. Try this diagram: http://simpleweb.sourceforge.net/images/design.gif Niall =20 > Michael Libes >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support --=20 ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm |