(from webwork in action).webwork in action的源代碼建立了crudStack簡(jiǎn)化crud編程,
而書(shū)中也提到了如何建立直接從ide跑resin.
Alternatively, you can set up a Servlet container’s main method to be executed
directly like any other application and pass it the configuration information it
needs to automatically pick up your web application. For example, to set up
Resin 2.1 from Caucho (
www.caucho.com) as a standalone application pointing
to a project-specific configuration file, you would set parameters as follows:
Setting up your environment 387
■ Main class—com.caucho.server.http.HttpServer
■ VM parameters—-Dresin.home=. -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=12345
■ Program parameters—-conf resin.xml
■ Working directory—Root directory of your project
■ Classpath—Classpath of your project plus the Resin JARs
posted on 2006-02-08 11:36
femto 閱讀(464)
評(píng)論(0) 編輯 收藏 所屬分類(lèi):
雜碎