0

Does a Java website and Java web app means the same thing? Or a webapp is actually an application which is served by java based server which is different than a website that opens in browser ? This is confusing, I am not experienced in this field, please bear with my ignorance.

  • Duplicate [What's the difference between a web site and a web application?](http://stackoverflow.com/q/8694922/2764279) – earthmover Apr 14 '15 at 06:53
  • Duplicate try these, http://stackoverflow.com/questions/8694922/whats-the-difference-between-a-web-site-and-a-web-application and http://stackoverflow.com/questions/2389925/difference-between-website-and-webapplication – svarog Apr 14 '15 at 06:53
  • the first [link](http://stackoverflow.com/questions/8694922/whats-the-difference-between-a-web-site-and-a-web-application) helped – Paramvir Singh Karwal Apr 14 '15 at 07:02
  • @AnkitLamba but what really a java web app is, a servlet? – Paramvir Singh Karwal Apr 14 '15 at 07:07

1 Answers1

1

A Web Application is a program coded in a server side language : PHP,ASP...JSP in java's case. The difference is that a web application will reside in the server instead of the client's computer and will process everything in the server - but , the control of the program is left for the client.

Website can be a web application, but more often a website has multiple web applications.

Sumit Singh
  • 23,530
  • 8
  • 71
  • 99
  • let us assume we have a mobile application that connects with the server, now how will this application be served? JSP? Isn't JSP used for presenting the view? But I have a layout already setup in my mob. app. I just need the data, does servlet serves that data or a JSP? – Paramvir Singh Karwal Apr 14 '15 at 07:12
  • Use JSON, for more details see: http://stackoverflow.com/questions/10829371/sync-data-between-android-app-and-webserver – Sumit Singh Apr 14 '15 at 07:14