The first is Java Foundation Java SE, which is used to develop and deploy Java applications in desktops, servers, and embedded devices and in real-time environments. )
Then Java EE(Java Enterprise Standard Development), learn the servlet(Controller), JSP(output values in HTML via Java), and then learn struts, Hibernate, Spring and other frameworks.
Java SE is the foundation of Java EE, and Servlets and JSPs are the foundation of the framework.
Database, learning Oracle,mysql,ms SQL, can, as long as learn one, and then learn the others will find very similar.
The other is HTML(text interpretation language), CSS(style), JavaScript(Java Network scripting language), XML (extensibleMarkup Language, more for program configuration files), These are the Java Web programming to use.
Suggested Learning Order:
1, Html,css,javascript,xml
2. Java SE3, Java EE, including Servlet, JSP, Framework (Struts, Hibernate, Spring)
As for database learning, before and after Java, it can be suggested before Java, at least before Java EE.
Java Learning Rough route