Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

servlet/jsp simple architecture of web project

 
Greenhorn
Posts: 3
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Currently i am watching "Servlets and JSPs: Creating Web Applications With Java" from caveofprogramming.com also I have read the book Spring in Action. This things are very helpful but here is only the server side of some web project. I need to know how to communicate with the client side frameworks and languages. In fact I am a little confused about the architecture of the one completed web project with client and server. As I understand from this two sources browser communicate with the controller, controller get the needed data and respond with view (JSP). Is this the standard for servlets and JSP? What if I need to make the page more beautiful? Just have to use html css and javascript on the server ? I spoke with one of my friends and he told me another architecture of web project but he used asp and javascript. He told me him project have backend (asp, services and database) there he have web services which communicates with the frontend where is the javascript and html and css (and this services sent serializated objects to the client) .

Is this just two architectures of web projects. Is it possible (good) to have only back end in java based web app and all the html css and javascript to be on the server and just servlet respond with them to the browser. I am interested only in the high level architecture of one full web project don't want to know exactly all the other technics and tools in depth. Do you know where I can see full example of one completed project where jsp and servlets are used as backend? Whats the standard approach in servlet backended web projects after the servlet return "viewJSP" for example.
 
Sheriff
Posts: 67637
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Id' recumbent starting with this article to learn what JSP is all about, and then this article for an overview on Java web app structure.
 
I love a woman who dresses in stainless steel ... and carries tiny ads:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic