我应该如何开始基于Java的Web开发? [英] How should I start Java-based web development?

查看:84
本文介绍了我应该如何开始基于Java的Web开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在开发大学作业时已经使用java作为我的主要语言3年了,现在我计划学习它的Web编程方面。我看到有很多不同的东西,例如JSP,JSF,Spring等。

I have been using java as my main language for 3 years while developing college assignments, and now I plan to learn the web programming aspect of it. I see there are lots of different "stuff" going on such as JSP, JSF, Spring, etc.

以前的主题建议 Head First Servlets和JSP 是一本很好的书,但你怎么看?在那之后,我应该遵循哪条路线,至少能够从头开始编写我自己的博客网站应用程序?

Previous topics suggest that Head First Servlets and JSP is a good book to start with, but what do you think about that? After that, what route I should be following in order, at least to be able to write my own blog site app from scratch?

推荐答案

我想说:


  1. 安装Java。

  2. 安装 Tomcat

  3. 构建一个servlet,让它做的事情。玩请求和响应。掌握GET和POST请求,HTTP协议,为什么许多Web应用程序需要RDBMS等等。

  4. 如果您遇到任何问题,请使用谷歌或本网站来解决它。

  5. 弄脏你的手!

  6. 弄脏你的手!

  1. Install Java.
  2. Install Tomcat.
  3. Build a servlet, make it do stuff. Play with Requests and Responses. Get to grips with GET and POST requests, the HTTP protocol, why many web applications need RDBMSs, etc.
  4. If you get stuck on anything, use google, or this site to figure it out.
  5. Get your hands dirty!
  6. Get your hands dirty!

这篇关于我应该如何开始基于Java的Web开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆