How about downlaoding a decent IDE like netbeans or eclipse and reading and implementing simple RESTLETS in quik start tutorial -> http://www.restlet.org/documentation/1.0/firstSteps
On 3/10/08, Marcus <[EMAIL PROTECTED]> wrote: > > <Newbie Alert/> > > Hi Everyone, > > First a bit of background info: > * I am doing some R&D towards adopting RESTful practices in the web > applications I develop. > * I am coming from a M$-centric development environment, and I am very > keen to 'escape' and > so have been learning Java and Servlets. > * I have digested (as best I could) Roy Fielding's dissertation. > * I have gone through the tutorials on Restlets and got them all > working. > > So, I would like to now start a prototype project to see whether this is > the > best environment for me to use. > The prototype will be based on a CMS system for managing websites. The > basic > datatypes I'll be referring to for now will be: > * Customer > * Site > * Page > > (Where there are multiple customers in the system, each of whom could have > multiple sites, each of which will be made up of multiple pages). > > I assume that these datatypes will actually be resources. > > I am really stuck with how to actually make a start on this. I guess I'll > start by creating my resources as subclasses of Resource. I can see there > being 2 resources for each datatype (CustomersResource, CustomerResouce, > SitesResource, SiteResource, PagesResource, PageResource...) > > I guess I'll then make these resources access the relevent database > (planning on using MySql) tables to populate themselves (based on the ids > retrieved from the query string using the request.getAttributes().get() > method). > > Do I then attach the resources to a router (defining the path to the > resources) inside the createRoot overridden method of my Application > subclass, and then attach an instance of this application to a new > component's default virtual host? > > As you may be able to tell, I have an extremely basic grip of this to > start > with, and I'm hoping that this thread could become useful for other > newbies > starting their journey in understanding Restlets. > > I can tell its a powerful framework, but just where to begin!?! > > Thankyou all in advance for any help contributed. > > > Marcus. > > >

