• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 67747
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic