论坛首页 Java企业应用论坛

做JAVA的近来总结下自己的开发工具啊,大家互相交流啊

浏览 99790 次
精华帖 (2) :: 良好帖 (1) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2006-03-02  
jetty和hsqldb一起使用,绝对在开发阶段省不少力气,也省不少内存。
0 请登录后投票
   发表时间:2006-03-02  
看来我是老土了。
html,java,xml,js代码我全是 UE搞定。
编译:Ant,javac,java,cc。
从来没尝试过断点调试。实在搞不定就不停的logger.debug。
0 请登录后投票
   发表时间:2006-03-02  
Trustno1 写道
linux or windows
emacs+jde+gcc

that's all


jde是什么?

为啥还用gcc?Trustno1平时还写C?
0 请登录后投票
   发表时间:2006-03-03  
JBuilder2005
Toad
Editplus
VSS/CVS
0 请登录后投票
   发表时间:2006-03-04  
用tomcat的话,sysdeo的eclipse插件也很好,免费且小,debug没问题,还支持动态选择server.xml/context.xml。
0 请登录后投票
   发表时间:2006-03-05  
robbin 写道
简单介绍一下jettylaucher的用法:

一、下载jetty4.x解压到硬盘某个目录,例如D:\jetty4

二、安装好jettylaucher,启动Eclipse。

三、为当前project配置一个可启动的web app,步骤如下:

点击Eclipse菜单 Run | Run...,可以看到一个Jetty Web项,New一个出来,填写如下信息:

Jetty Home: d:\jetty4
webapp root directory: ROOT(你的project中的web根目录)
context name: / (你web应用的URL子路径)

然后 Run 就OK了!

就如同添加一个Java application run一样方便,然后你还可以用debug去启动它,这样就可以断点调试。

这种方式不需要配置jetty,也不需要打包,或者拷贝文件什么的,甚至也不需要你的web root目录遵从serlvet规范,而且启动速度比tomcat快一些。


Tomcat也可以这样的,用WTP就可以。
http://forum.iteye.com/viewtopic.php?t=18930
也不需要再打包,或者拷贝文件什么的,而且只启动当前的web应用,不会把原来Tomcat下的web应用全起来的,速度很快。
0 请登录后投票
   发表时间:2006-03-05  
没人用netbeans 5吗?
0 请登录后投票
   发表时间:2006-03-06  
Sys:win 2003
IDE:idea
datebase: sqlserver/mysql/oracle  (D)
edit: dreamweaver,ultraedit,notepad
draw:Photoshop
uml:不会
版本控制:没有
0 请登录后投票
   发表时间:2006-03-06  
jetty....我的web项目里都会有两个文件雷打不动(改项目名)
public class RunJetty {
	private static Log log = LogFactory.getLog(RunJetty.class);;

	/**
	 * @param args
	 */
	public static void main(String[] args); {
		Server jettyServer = null;
		try {
			URL jettyConfig = RunJetty.class.getResource("jetty-config.xml");;
			if (jettyConfig == null); {
				log
						.fatal("Unable to locate jetty-test-config.xml on the classpath");;
			}
			jettyServer = new Server(jettyConfig);;
			jettyServer.start();;
		} catch (Exception e); {
			log.fatal("Could not start the Jetty server: " + e);;
			if (jettyServer != null); {
				try {
					jettyServer.stop();;
				} catch (InterruptedException e1); {
					log.fatal("Unable to stop the jetty server: " + e1);;
				}
			}
		}
	}

}


jetty 配置
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" 
	"http://jetty.mortbay.org/configure_1_2.dtd">
<Configure class="org.mortbay.jetty.Server">
	<Call name="addListener">
		<Arg>
			<New class="org.mortbay.http.SocketListener">
				<Set name="Port" type="int">
					<SystemProperty name="jetty.port" default="2134" />
				</Set>
			</New>
		</Arg>
	</Call>
	<Call name="addWebApplication">
		<Arg>/moo</Arg>
		<Arg>src/webapp</Arg>
	</Call>
	<Set name="requestsPerGC" type="int">2000</Set>
	<Set name="statsOn" type="boolean">false</Set>
</Configure>
0 请登录后投票
   发表时间:2006-03-06  
我下午装的wtp1.0.1似乎xml支持赶的上xmlbuddy了,

但是jsp内html的支持还是超烂
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics