3

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.

0

1 Answer 1

1

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("<HTML>");
out.println("<HEAD> <TITLE> My Webpage </TITLE> </HEAD>");
out.println("<BODY>");
out.println("<H1> Hello World! </H1>");
out.println("<UL>");
for(int i = 0; i < 10; i++) {
    out.println("<LI>"+i+"</LI>);
}");
out.println("</UL>");
out.println("</BODY>");
out.println("</HTML>");

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:

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

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.

1
  • Thanks vikarjramun. I went ahead with MEAN stack which is beautiful. (Again, im looking at MERN stack as well as python-django too) Commented Sep 6, 2018 at 1:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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