Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet/jsp simple architecture of web project  RSS feed

 
Daniel Peichev
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65825
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!