Java is quite simple language, compared to C++. You already know many of it's concepts - OOP, inheritance, generics, inner classes. Learn about interfaces, exceptions, basic concurency (the synchronized keyword).
Then you'll need to know what's in JDK and how to use the most used parts of it: * Java datatype framework (or how is it called) - I mean, things like List, ArrayList, Set, HashSet, Iterator, ... * I/O stuff - Streams, File, FileInputStream. * ... you'll find out what you need, usually from examples.
That's for Java.
Now for web, you'll need to know HTML (see w3c), HTTP (install FireBug and watch the communication; I mean, don't read the spec for a start).
And in general - excersise everything you learn. Reading is not enough... Definitely you should create some console java apps before you jump to web and Wicket - because that puts many layers between your code and the observed output (Wicket, HTML, HTTP, browser, ...).
I think you might need to learn at least how to configure a deployment descriptor (web.xml) file for wicket. And I don't think there's a shortcut to know all of the involved technologies. You might need some basic knowledge of the underlying ones, since probably you'll get stuck and frustrated soon as problems arise.
I would recommend exhaustive and complete documentation, that cannot only serve as a tutorial, but also as a reference. I would recommend going to the source:
Well eventually you will have to understand all of these technologies (JSP, Servlet, XML, etc.) to be a successful web developer, but to get started you can probably treat the Wicket abstraction as non-leaky (Joel on Leaky Abstractions).
You don't have to know swing to get started with web development, swing is really only used on the desktop.
If you already know C/C++ you should have all the concepts to understand Java. See this stackoverflow question for a list of freely available books on (amongst others) java:
发布评论
评论(3)
与 C++ 相比,Java 是相当简单的语言。您已经了解了它的许多概念 - OOP、继承、泛型、内部类。了解接口、异常、基本并发(
synchronized
关键字)。然后您需要了解 JDK 中有什么以及如何使用其中最常用的部分:
* Java 数据类型框架(或者它是如何称呼的) - 我的意思是,像 List、ArrayList、Set、HashSet、Iterator 之类的东西
* I/O 内容 - 流、文件、FileInputStream。
* ...您通常会从示例中找到您需要的内容。
那是针对 Java 的。
现在对于 Web,您需要了解 HTML(请参阅 w3c)、HTTP(安装 FireBug 并观察通信;我的意思是,一开始就不要阅读规范)。
然后对于检票口,首先阅读一些教程,我最喜欢的是这里:
http://ondra.zizka.cz/stranky/programovani/ java/web/wicket/index.texy
然后阅读这本书 - Wicket in Action。
一般来说 - 练习你所学到的一切。光阅读是不够的……在跳转到 Web 和 Wicket 之前,您绝对应该创建一些控制台 Java 应用程序 - 因为这会在您的代码和观察到的输出(Wicket、HTML、HTTP、浏览器等)之间放置许多层。
Java is quite simple language, compared to C++. You already know many of it's concepts - OOP, inheritance, generics, inner classes. Learn about interfaces, exceptions, basic concurency (the
synchronized
keyword).Then you'll need to know what's in JDK and how to use the most used parts of it:
* Java datatype framework (or how is it called) - I mean, things like List, ArrayList, Set, HashSet, Iterator, ...
* I/O stuff - Streams, File, FileInputStream.
* ... you'll find out what you need, usually from examples.
That's for Java.
Now for web, you'll need to know HTML (see w3c), HTTP (install FireBug and watch the communication; I mean, don't read the spec for a start).
Then for wicket, first read some tutorial's, my favorite are here:
http://ondra.zizka.cz/stranky/programovani/java/web/wicket/index.texy
Then read the book - Wicket in Action.
And in general - excersise everything you learn. Reading is not enough... Definitely you should create some console java apps before you jump to web and Wicket - because that puts many layers between your code and the observed output (Wicket, HTML, HTTP, browser, ...).
我认为您可能至少需要学习如何为 wicket 配置部署描述符 (web.xml) 文件。我认为没有捷径可以了解所有涉及的技术。您可能需要一些底层知识,因为一旦出现问题,您可能会陷入困境并感到沮丧。
我会推荐详尽且完整的文档,它不仅可以作为教程,还可以作为参考。我建议您转到源代码:
祝你好运。
I think you might need to learn at least how to configure a deployment descriptor (web.xml) file for wicket. And I don't think there's a shortcut to know all of the involved technologies. You might need some basic knowledge of the underlying ones, since probably you'll get stuck and frustrated soon as problems arise.
I would recommend exhaustive and complete documentation, that cannot only serve as a tutorial, but also as a reference. I would recommend going to the source:
Good luck.
最终,您必须了解所有这些技术(JSP、Servlet、XML 等)才能成为一名成功的 Web 开发人员,但要开始,您可以将 Wicket 抽象视为非泄漏(Joel 谈泄漏抽象)。
您不必了解 swing 即可开始 Web 开发,swing 实际上只在桌面上使用。
如果您已经了解 C/C++,那么您应该具备理解 Java 的所有概念。请参阅此 stackoverflow 问题,了解有关 java(以及其他)的免费书籍列表:
https: //stackoverflow.com/questions/194812/list-of-freely-available-programming-books
Well eventually you will have to understand all of these technologies (JSP, Servlet, XML, etc.) to be a successful web developer, but to get started you can probably treat the Wicket abstraction as non-leaky (Joel on Leaky Abstractions).
You don't have to know swing to get started with web development, swing is really only used on the desktop.
If you already know C/C++ you should have all the concepts to understand Java. See this stackoverflow question for a list of freely available books on (amongst others) java:
https://stackoverflow.com/questions/194812/list-of-freely-available-programming-books