Answer the question
In order to leave comments, you need to log in
How to make a website in Java?
What am I trying to do? - Write a simple site with registration and a couple of functions in JAVA on VDS with Ubuntu 14.04 OS.
Did I google for manuals? - Yes, I've been trying to find a detailed manual for more than a week now.
What did I find out? - The fact that you need to install the Apache Tomcat server and throw your applications into the webapps folder (I wrote a simple Hello World application and tried to throw the project files into the webapps folder - nothing happened, so in fact, I don’t even know how to write the simplest application, not to mention the site).
Question: How to write a website in JAVA?
Please do not leave answers "write in php", etc.
Answer the question
In order to leave comments, you need to log in
You can use spring mvc:
1. Tutorial
2. There is also a good step-by-step example of creating a simple analogue of twitter in Spring in Action .
3. Example from github.
And you can start with the basics - servlets. Oracle tutorial.
There are many ways to make a website in Java.
JSP and Servlets as a standard tool for writing web pages in Java.
Nevertheless, frameworks are usually used to create sites, there are quite a lot of them now, here you can read a pretty good comparison comparison.
Grails and play seem the simplest to me, I would choose from them.
Further, respectively, reading the examples and documentation, and you will succeed!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question