What do I need to learn how to create a web application in Java?

I have been developing PHP / MySQL for a while, and I am quite competent in this. Recently, however, I have learned Java and fell in love with it, and I really would like to work more with Java.

I had the first opportunity with a client who needed a web application with 2.0ish web versions, and he agreed to let me use everything I want, including Java. However, I have not done a single web developer. in Java before, I just went through the official Java tutorial , learned a little about applets and built a 2D pacman game and did some simple work in the Google Web Toolkit .

I need to start working with this project in the next 2-3 days, so I don’t have much time to read long books on this topic. This is what I have learned so far:

  • Setting up Tomcat on my dev machine to work with Eclipse
  • Learn the basics of servlets, methods doPost(), doGet()and init()etc.
  • A mini MVC application has been built that displays an HTML page, allows you to select something from the drop-down list, and when you click submit, it will receive your sent value through request.getParameter()the function doPost(), and then go to the JSP page, which shows which value you have selected.

I think these are the following few things I need to learn:

  • How to use / use databases
  • Sessions and Cookies
  • Perhaps more about the syntax of JSP pages.

, - Java, ., . , - , , - (, 20 ) Java Google Web Toolkit.

, CodeIgniter, MVC PHP, , , ( ), , . Java , , , , .

.

+3
11

Java Enterprise, , . , JSP Servlets - . , . JSP , . , , .

Java, , - . , , JSP Servlet, Hibernate DB, JDOM XML, JUnit , Log4j AspectJ , Lucene , JBoss ( ) .. .. .. 3 .

( ) , , Tapestry, JSF, Wicket, Struts .., . java, , , .

, , , , , , , (-, ) Java FAST . , - Java . , , JVM ( Java-), Groovy.

Groovy Java, , Ruby. , Grails Rails Groovy - .

, Java Web Apps.

+3

- Struts + Tiles ( , - ) Spring .. Hibernate - JDBC.

+4
+3

Matt Raible.

, mvc, java. , , .

+3

- Java .

  • IDE (, eclipse, netbeans)
  • - (, Tomcat/Jboss)
  • IDE
  • - JSP/Servlet
  • / , , Spring, Struts, Hibernate, EJB ..

, , , . .

+1

JSP. JSP , , . . , , .

PHP-.

0

, Java Web , PHP, CodeIgniter, , .

Grails, . , . Grails.

0

Servlet 2.5 Specification . .

, , , ..

, JSP Model 2 ( ), JSP.

Struts Spring, , . , JSP, Spring MVC , .

0

JSP, . , . Head First Servlets JSP - , ..

0

Groovy Grails. , , . GWT , JQuery.

The best part about Groovy is that it is basically a superset of Java with a high Rails launch speed.

And it will be used as .war for your Java EE application server.

-1
source

I like Sam's book, "Teach Yourself J2EE in 21 Days." Surprisingly for a reference to the concept and basic syntax. It should be pretty cheap now.

-3
source

Source: https://habr.com/ru/post/1705986/


All Articles