如何从头开始设置一个非常简单的J2EE Web应用程序的教程? [英] Tutorial on how to set up a very simple J2EE web application from scratch?
问题描述
我想知道在哪里可以找到一个网络教程或书籍,向我展示如何从头开始设置Java Web App J2EE?哪个从向您展示您需要安装的内容以及如何在浏览器上启动服务器和Hello世界开始?
I was wondering where I can find a web tutorial or book to show me how to set up a Java web App J2EE from scratch? Which starts from showing you what you need to install and how, To getting a server up and a Hello world on the browser?
我宁愿不使用这样的框架作为spring或grails,因为我想了解它在Java级别的实际工作方式。
I would rather not to use a framework such as spring or grails because I want to understand how it actually works at a Java level.
过去两年我一直在使用RoR,我得到了一份实习Java开发人员的工作,并希望更好地了解一切如何运作,建筑等。
I have been using RoR for the last 2 years and I got a job as a trainee Java developer and would just like to get a better idea of how everything works, the architecture etc.
非常感谢。
推荐答案
您是否正在尝试在Java级别理解?那你以前需要知道很多东西:
如果你想学习J2EE规范,试试 JavaEE Sun(Nows Oracle)教程。
这是一个很大的,但如果您想了解JavaEE规范,它是完美的。你还不想学习Spring,但Spring只是一个替代Oracle提供的普通JavaEE的框架。
You are trying to understand at Java Level? Well you need to know many things before: If you want to learn J2EE specification try the JavaEE Sun (Nows Oracle) Tutorial. It is a large one, but it is perfect if you want to know the JavaEE specification. You don't want to learn Spring yet, but Spring is just a framework to replace the normal JavaEE provided by Oracle.
但是像JB Nizet所说的那样。有很多API。
JSP - Web层的Java Server Pages。
EJB - 业务层的解决方案。
JNDI - 放置和搜索对象的目录树。
JDBC - 这是一个重要的JDBC,您可以使用JDBC与数据库进行交互。
JMS - 您可以以异步方式将消息发送到其他Java应用程序。这是一个非常好的设计API。
JTA - 用于管理交易的API。
JPA - 这是一个ORM,Hibernate遵循这个API。
But like JB Nizet said. There are a lot of APIs. JSP - Java Server Pages for the web layer. EJB - A solution for the business layer. JNDI - A directory tree to put and search for objects. JDBC - This is an important one, With JDBC you can interact with database. JMS - You can send messages to other java applications in a async way. This is a really good designed API. JTA - An api to manage transactions. JPA - It is an ORM, Hibernate follows this API.
尝试学习设计模式。它们非常有用且重要。
Try to learn design patterns to. They are very useful and important.
这篇关于如何从头开始设置一个非常简单的J2EE Web应用程序的教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!