This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

servlet/jsp simple architecture of web project

 
Greenhorn
Posts: 3
1
  • Mark post as helpful
  • send pies
  • 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.
 
Marshal
Posts: 67451
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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.
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic