Re: [Soaplab2-dev] description for the dashboard
Brought to you by:
marsenger
From: Martin S. <se...@eb...> - 2006-05-30 14:19:44
|
> Why we do not want to use any 'pure' servlets? > > Using only JSPs contradicts with my perception of a good design, based > on my readings and previous experience. > I think that using 'pure' servlets (meaning extending directly HTTPServletRequest) is using too low level. Your programs must do many more things (it is like writting a code in assemblre versus writting it in C). There may be cases where you need it but unless you find that something is not accessible what you need I think that it is better to stay on the higher level. Do not take mw wrong: I have been myself writing 'pure' servlets regularly, but later I found that creating, for example, JSP script/page is much more maintainable and les error-prove - even for things that do not create an HTML output. If you wish to see one, very small, project where I am using JSP even for replying to Ajax (HTTPRequest) request by a JSP page, you can look at the page at http://moby.generationcp.org/mobyenv/checkservices, andcheck out the code from https://cropforge.org/projects/gcpmoby/, doing: cvs -d :pserver:ano...@cv...:/cvsroot/gcpmoby login (password is empty) cvs -d :pserver:ano...@cv...:/cvsroot/gcpmoby co Moby_Environment Regards, Martin -- Martin Senger email: mar...@gm... skype: martinsenger |