I have knowledge of Core Java and I'm learning Python too.

What is the best web development framework for beginners?. I'm trying to develop a web portal for displaying some analytics and wanted to connect to docker, jenkins etc.

A good web development framework which is scalable, easy to learn and understand and which can help me in faster development.(Both for front end as well as back end)

I'm open to learn - so programming language and the software stack should not matter.

I have read many questions in and around this topic but have not found any constructive feedback on the subject. Please advice.

  • I know its been a while, but if my answer helped you, can you click the grey check to the left of it? It helps stack exchange know that it is a good answer, you get some reputation increase, and so do I. It is a win-win-win situation. – vikarjramun Sep 5 '18 at 0:26

If you want to do something basic in Java, use Servlets. Java servlets allow you to use java to make web pages at a very basic level. This is good if you aren't super experienced in making beautiful front-end pages.

Servlets are like embedding HTML in your java. It is almost like you are writing a Java program to print out a dynamically created webpage. i.e. (this is not even the right syntax, but just a peek at what your code will look like):

out.println("<HEAD> <TITLE> My Webpage </TITLE> </HEAD>");
out.println("<H1> Hello World! </H1>");
for(int i = 0; i < 10; i++) {

You can also use JSP, which is very outdated, looks like PHP, but does its job. JSP compiles to a Servlet internally, and looks like embedding java in your HTML: i.e. the same code as above:

<HEAD> <TITLE> My Webpage </TITLE> </HEAD>
<H1> Hello World! </H1>
<% for(int i = 0; i < 10; i++) { %>
    <LI><%= i %></LI>
<% } %>

All the Java web frameworks like Struts, Stripes, Spring MVC... are built on servlets. I would suggest learning servlets before trying anything else.

If this answer helped you, please click the grey checkbox to the left to show StackExchange that this answer was useful.

  • Thanks vikarjramun. I went ahead with MEAN stack which is beautiful. (Again, im looking at MERN stack as well as python-django too) – Ravi Salunkhe Sep 6 '18 at 1:13
  • @RaviSalunkhe I understand, but as your question was about Java, this is the best answer. Please mark it as accepted – vikarjramun Sep 6 '18 at 3:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.