如何使用java开始编写和设置Web服务器? [英] how to start coding and setting up a web server with java?

查看:176
本文介绍了如何使用java开始编写和设置Web服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以现在我想我已经学习了java的所有基础知识和术语。但我不知道的是如何用Java编写和显示Netbeans的网页。

so now i think i have learned all basics and terminology for java. but what i don´t know is how to code and display a web page with Netbeans in Java.

大多数教程包含大量关于不同技术的讨论Java使用Java Bean,JSP和servlets等等。我在哪里可以找到简短的实用教程,实际上教我在哪里编码然后编译以及在Glassfish中放置所有文件(war,jar,ear ..)以便能够从Web浏览器中查看输出。简单的事情让人们理解所有这些不同的层,它们只是使用类的类。感觉就像我从来不知道如何用Java来建立一个Web服务器因为我找不到这种教程。

the most tutorials contains lots of talks about different technologies "Java uses Java Beans, JSP and servlets" and so on. Where can i find short practical tutorials that actually teach me where to code what and then compile and where to put all the files (war, jar, ear..) in Glassfish to be able to see the output from a Web browser. Simples things that makes one understand all these different "layers" which are just classes using classes. Feels like i never get to know how i can put up a web server with Java cause I can´t find this kind of tutorials.

如果有人可以发送会很棒一些链接到这些实用的东西。

Would be great if someone could send some links to such practical stuff.

谢谢。

推荐答案

这个是我发现的第一个这样的文件: http://www.java-tips.org/java-tutorials/tutorials/introduction-to-java-servlets-with-netbeans.html

This is the first such document I found: http://www.java-tips.org/java-tutorials/tutorials/introduction-to-java-servlets-with-netbeans.html

更多:

  • http://netbeans.org/kb/docs/web/quickstart-webapps.html
  • http://blogs.oracle.com/jonasdias/entry/webservices_with_jsp_on_netbeans
  • http://www.fuzzylizard.com/archives/2005/09/18/628/
  • http://cit.wta.swin.edu.au/cit/subjects/CITP0014/tutorials/netbeans/tomcat/Running_Tomcat_from_Netbeans.html
  • http://supportweb.cs.bham.ac.uk/documentation/java/servlets/netbeans-webapps/

我甚至在这上面找到了一本小电子书(PDF!) http://www.comp.dit。 ie / bduggan / Courses / projects / Getting%20Started%20with%20Tomcat%20&%20NetBeans.pdf

I even found a small ebook on this (PDF!) http://www.comp.dit.ie/bduggan/Courses/projects/Getting%20Started%20with%20Tomcat%20&%20NetBeans.pdf

这篇关于如何使用java开始编写和设置Web服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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