How do you apply Java in web? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How do you apply Java in web?

16th Nov 2019, 8:50 PM
Alexey Kononenko
Alexey Kononenko - avatar
2 Answers
+ 2
Java on the web is primarily used for servers, often with large frameworks like Spring and JSF, or smaller "microframeworks" like Micronaut, Javalin, or Spark. Despite its heavy presence on the backend, frameworks like Vaadin exist to make frontend development easier and more convenient when combined with a Java backend. In the past, there were also runnable "applets," small apps embedded within a webpage written in Java. Due mostly to a lack of action on security concerns, applets quickly became obselete, and most browsers do not support them anymore. In short, today, Java is used mostly to make servers, is sometimes used for frontend (website layout/design/interaction).
17th Nov 2019, 5:47 AM
LunarCoffee
LunarCoffee - avatar
0
Java is server side language. Java also use in web development. There is some java framework like Spring, Hibernate, Struts 2 which are used in web development. Without using framework you can also make website by using JSP and Servlets. You can also use java by creating web service.
16th Nov 2019, 9:26 PM
A͢J
A͢J - avatar