c*******e 发帖数: 290 | 1 想弄个小网站,一方面做 demo,另一方面想练习 Web 应用开发。在 Eclipse EE 怎样
能够比较快的配置一个服务器,然后在首页显示,比如“Hello World”. 在 Eclipse
里开发的应用,想快速弄个 demo.
谢谢。 |
w**z 发帖数: 8232 | 2 Java? Spring? Tomcat? need more details
Eclipse
【在 c*******e 的大作中提到】 : 想弄个小网站,一方面做 demo,另一方面想练习 Web 应用开发。在 Eclipse EE 怎样 : 能够比较快的配置一个服务器,然后在首页显示,比如“Hello World”. 在 Eclipse : 里开发的应用,想快速弄个 demo. : 谢谢。
|
c*******e 发帖数: 290 | 3 Java definitely. 其他的都没有特别要求,快速上 demo.请推荐
【在 w**z 的大作中提到】 : Java? Spring? Tomcat? need more details : : Eclipse
|
g*****g 发帖数: 34805 | 4 My recommendation, basic Eclipse + Run jetty Run. In place deployment, run
your web like an application within Eclipse. |
d****i 发帖数: 4809 | 5 小网站还是用PHP比较快速方便,要是一定用Java的话,推荐现在的标准RESTful的
Jersey, 前台后台完全解耦,前台用HTML+JavaScript,后台用Jersey和其他模块连起
来。
Eclipse
【在 c*******e 的大作中提到】 : 想弄个小网站,一方面做 demo,另一方面想练习 Web 应用开发。在 Eclipse EE 怎样 : 能够比较快的配置一个服务器,然后在首页显示,比如“Hello World”. 在 Eclipse : 里开发的应用,想快速弄个 demo. : 谢谢。
|
c*******e 发帖数: 290 | 6 以前也主要用 basis Eclipse. 最近改 Eclipse EE 了,难道 EE 版本不是主要方便网
站开发的?
Run Jetty Run 通过公司内部网,别的机器可以访问不?虽然是 demo,但是还是需要
做到多台机器访问。
【在 g*****g 的大作中提到】 : My recommendation, basic Eclipse + Run jetty Run. In place deployment, run : your web like an application within Eclipse.
|
c*******e 发帖数: 290 | 7 RESTFul 和 spring 有什么区别? 经常听到有人说 spring framework.Web Server 是
其中的一部分,还是需要另外安装。
原以为 to start with, 安装 Eclipse EE 就够了。
【在 d****i 的大作中提到】 : 小网站还是用PHP比较快速方便,要是一定用Java的话,推荐现在的标准RESTful的 : Jersey, 前台后台完全解耦,前台用HTML+JavaScript,后台用Jersey和其他模块连起 : 来。 : : Eclipse
|
d****i 发帖数: 4809 | 8 Spring只是一个框架,你用作为reference implementation的Jersey可以和Spring连起
来用,Spring本身不含web server,你需要安装一个像tomcat或jetty这样的东西,然
后Eclipse EE本身只是一个IDE。
【在 c*******e 的大作中提到】 : RESTFul 和 spring 有什么区别? 经常听到有人说 spring framework.Web Server 是 : 其中的一部分,还是需要另外安装。 : 原以为 to start with, 安装 Eclipse EE 就够了。
|
c********l 发帖数: 8138 | 9 jetty比起tomcat/ngix有什么好处?
【在 d****i 的大作中提到】 : Spring只是一个框架,你用作为reference implementation的Jersey可以和Spring连起 : 来用,Spring本身不含web server,你需要安装一个像tomcat或jetty这样的东西,然 : 后Eclipse EE本身只是一个IDE。
|
s******e 发帖数: 493 | 10 Spring server is a full scale j2ee application server.
I think today spring even allows you to create your restful service app as
an executable jar without needing to package it as a traditional war file.
Deployment wise, this makes it very lightweight. Correct me if you think I
am
wrong on spring restful service. |
|
|
d****i 发帖数: 4809 | 11 "Spring server is a full scale j2ee application server."
This is not true. A full Java EE application server are those with full-
fledged Java EE functionalities such as JBoss, Websphere, Weblogic,
Glassfish, etc. Spring itself is not bound with Java EE. It actually makes
Java EE simpler and easier to use. It can also independently work with Java
SE also.
【在 s******e 的大作中提到】 : Spring server is a full scale j2ee application server. : I think today spring even allows you to create your restful service app as : an executable jar without needing to package it as a traditional war file. : Deployment wise, this makes it very lightweight. Correct me if you think I : am : wrong on spring restful service.
|
g*****g 发帖数: 34805 | 12 I stand corrected. I only write web service, so basic eclipse is enough for
me.
If you are doing js, ejb etc. Eclipse EE is the way to go. Run jetty run is
only a plugin for development, it's not for deployment. For that, you want
to go with tomcat etc.
【在 c*******e 的大作中提到】 : 以前也主要用 basis Eclipse. 最近改 Eclipse EE 了,难道 EE 版本不是主要方便网 : 站开发的? : Run Jetty Run 通过公司内部网,别的机器可以访问不?虽然是 demo,但是还是需要 : 做到多台机器访问。
|
s******e 发帖数: 493 | 13 Well, with spring tc server, spring does provide anything(except for ejb.
not much demands today) that a full j2ee application server can provide.
What is wrong with that?
Java
【在 d****i 的大作中提到】 : "Spring server is a full scale j2ee application server." : This is not true. A full Java EE application server are those with full- : fledged Java EE functionalities such as JBoss, Websphere, Weblogic, : Glassfish, etc. Spring itself is not bound with Java EE. It actually makes : Java EE simpler and easier to use. It can also independently work with Java : SE also.
|
w**z 发帖数: 8232 | 14 J2EE 是spec。严格说,只有implement j2ee spec 的才能称做J2ee app server.
【在 s******e 的大作中提到】 : Well, with spring tc server, spring does provide anything(except for ejb. : not much demands today) that a full j2ee application server can provide. : What is wrong with that? : : Java
|
s******e 发帖数: 493 | 15 Strictly speaking, you are right. But since Spring with its server can offer
almost everything an application server can provide, I tend to call or use
it in such a way.
【在 w**z 的大作中提到】 : J2EE 是spec。严格说,只有implement j2ee spec 的才能称做J2ee app server.
|