H
H
hrvasiliy2015-04-06 00:23:42
Java
hrvasiliy, 2015-04-06 00:23:42

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

2 answer(s)
A
angry_cellophane, 2015-04-06
@hrvasiliy

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.

I
Ivan Smirnov, 2015-04-06
@StopKran

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 question

Ask a Question

731 491 924 answers to any question