+ 1
Java for web development
How java is used for web development? Also is the standar syntax and code used for web purposes or is it different? Any book to recommend?
2 Réponses
+ 4
Yes, of course standard Java syntax is used for web development. However there are standards, specifications and implementations to make web development easier.
You can use the Servlet API and a servlet container (Tomcat, Jetty for example but the are many others).
There are web frameworks which make web development easier than using Servlets directly. Examples: Struts 2, Spring MVC
There is a Java EE standard to make more robust enterprise applications easily. JBoss for example is a free Java EE compliant application server.
The other way to use Spring instead of the Java EE stack. It is a very popular library (plenty of libraries) which covers every aspect of server-side programming.
http://www.journaldev.com/1854/java-web-application-tutorial-for-beginners
http://docs.oracle.com/javaee/7/tutorial/
https://docs.spring.io/docs/Spring-MVC-step-by-step/
+ 1
Web frameworks like Spring, hibernate, Struts are used for web developement in Java.
Check this book :- Basam, Sierra & Bates. "Head First Servlets & JSP (2012), 3rd Edition," O'Reilly Media.