仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 3829|回复: 19
打印 上一主题 下一主题

[学习教程] JAVA编程:本来Eclipse3.0.1中的jboss32x.server文...

[复制链接]
活着的死人 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-1-18 11:48:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
自己的整个学习思路完全被老师的讲课思路所牵制,这样几节课听下来,恐怕自己的见解都应该是书里的知识点了,根本谈不上自身发现问题,分析问题,和解决问题能力的切实提高。server
从明天下战书入手下手就一向在Eclipse中设置JBoss,因为本来用的是JBoss3.0.0,如今想用JBoss3.2.6。

因而就从头设置。可是设置好了今后,却发明会呈报jar文件路径堕落,一共有两个:一个是jboss-3.2.6libjboss-boot.jar找不到,一个是jboss-3.2.6erverdefaultlibjavax-servlet.jar找不到。

用UE32翻开eclipsepluginscom.objectlearn.jdt.j2ee_3.0.1ervers文件夹中的jboss32x.server文件,发明的确在路径中写进了jboss-boot.jar,但是我怎样也在jboss-3.2.6lib上面找到这个文件。了局google了一个下战书发明本来Eclipse3.0.1中的jboss32x.server文件不婚配JBoss3.2.6!忧郁~

如今把改写后的jboss326.server文件贴出来,人人参考:

<serverDefinitionname="JBOSS3.2.6"ejbModules="true"webModules="true"earModules="true"><propertyid="serverRootDirectory"label="ApplicationServerDirectory:"type="directory"default="/your_server_root/appservers/jboss-3.2.6"/><propertyid="serverAddress"label="Address:"type="string"default="127.0.0.1"/><propertyid="serverPort"label="Port:"type="string"default="8080"/><propertyid="serverConfig"label="ServerConfiguration(minimal/default/all):"type="string"default="default"/><propertyid="classPathVariableName"label="ClasspathVariableName:"type="string"default="JBOSS326"/><propertyid="classPath"label="ClasspathVariable:"type="directory"default="/your_server_root/appservers/jboss-3.2.6"/><serverHome>${serverRootDirectory}</serverHome><webModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</webModulesDeployDirectory><ejbModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</ejbModulesDeployDirectory><earModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</earModulesDeployDirectory><jndiInitialContextFactory>org.jnp.interfaces.NamingContextFactory</jndiInitialContextFactory><jndiProviderUrl>jnp://${serverAddress}:1099</jndiProviderUrl><startClass>org.jboss.Main</startClass><startWorkingDirectory>${serverRootDirectory}/bin</startWorkingDirectory><startVmParameters></startVmParameters><startProgramArguments>-c${serverConfig}</startProgramArguments><stopClass>org.jboss.Shutdown</stopClass><stopWorkingDirectory>${serverRootDirectory}/bin</stopWorkingDirectory><stopVmParameters></stopVmParameters><stopProgramArguments>-S</stopProgramArguments><serverClassPath><jartype="variable">JDK_TOOLS</jar><jartype="variable">${classPathVariableName}/bin/run.jar</jar><jartype="variable">${classPathVariableName}/bin/shutdown.jar</jar><jartype="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar><jartype="variable">${classPathVariableName}/lib/concurrent.jar</jar><jartype="variable">${classPathVariableName}/lib/jboss-system.jar</jar><jartype="variable">${classPathVariableName}/lib/dom4j.jar</jar><jartype="variable">${classPathVariableName}/lib/xercesImpl.jar</jar><jartype="variable">${classPathVariableName}/lib/xml-apis.jar</jar><jartype="variable">${classPathVariableName}/lib/gnu-regexp.jar</jar><jartype="variable">${classPathVariableName}/lib/getopt.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jnpserver.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-pattern.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-util.jar</jar></serverClassPath><clientClassPath><jartype="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar><jartype="variable">${classPathVariableName}/client/jboss-client.jar</jar><jartype="variable">${classPathVariableName}/client/jboss-common-client.jar</jar><jartype="variable">${classPathVariableName}/client/jboss-jaas.jar</jar><jartype="variable">${classPathVariableName}/client/jbosssx-client.jar</jar><jartype="variable">${classPathVariableName}/client/jnet.jar</jar><jartype="variable">${classPathVariableName}/client/jnp-client.jar</jar><jartype="variable">${classPathVariableName}/client/log4j.jar</jar><jartype="variable">${classPathVariableName}/server/default/lib/jnpserver.jar</jar></clientClassPath><projectClassPath><jartype="variable">JDK_TOOLS</jar><jartype="variable">${classPathVariableName}/bin/run.jar</jar><jartype="variable">${classPathVariableName}/bin/shutdown.jar</jar><jartype="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar><jartype="variable">${classPathVariableName}/lib/concurrent.jar</jar><jartype="variable">${classPathVariableName}/lib/jboss-system.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jnpserver.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-pattern.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-util.jar</jar></projectClassPath><adminTool><web><deploy/><undeploy/></web><ejb><deploy/><undeploy/></ejb><ear><deploy/><undeploy/><webModule><deploy/><undeploy/></webModule><ejbModule><deploy/><undeploy/></ejbModule></ear></adminTool><adminToolPath></adminToolPath></serverDefinition>

和jboss400.server,这个在eclipse中也仍是没有:

<serverDefinitionname="JBOSS4.0.0"ejbModules="true"webModules="true"earModules="true"><propertyid="serverRootDirectory"label="ApplicationServerDirectory:"type="directory"default="/your_server_root/appservers/jboss-4.0.0"/><propertyid="serverAddress"label="Address:"type="string"default="127.0.0.1"/><propertyid="serverPort"label="Port:"type="string"default="8080"/><propertyid="serverConfig"label="ServerConfiguration(minimal/default/all):"type="string"default="default"/><propertyid="classPathVariableName"label="ClasspathVariableName:"type="string"default="JBOSS400"/><propertyid="classPath"label="ClasspathVariable:"type="directory"default="/your_server_root/appservers/jboss-4.0.0"/><serverHome>${serverRootDirectory}</serverHome><webModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</webModulesDeployDirectory><ejbModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</ejbModulesDeployDirectory><earModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</earModulesDeployDirectory><jndiInitialContextFactory>org.jnp.interfaces.NamingContextFactory</jndiInitialContextFactory><jndiProviderUrl>jnp://${serverAddress}:1099</jndiProviderUrl><startClass>org.jboss.Main</startClass><startWorkingDirectory>${serverRootDirectory}/bin</startWorkingDirectory><startVmParameters>-Djava.endorsed.dirs=${serverRootDirectory}/lib/endorsed</startVmParameters><startProgramArguments>-c${serverConfig}</startProgramArguments><stopClass>org.jboss.Shutdown</stopClass><stopWorkingDirectory>${serverRootDirectory}/bin</stopWorkingDirectory><stopVmParameters></stopVmParameters><stopProgramArguments>-S</stopProgramArguments><serverClassPath><jartype="variable">JDK_TOOLS</jar><jartype="variable">${classPathVariableName}/bin/run.jar</jar><jartype="variable">${classPathVariableName}/bin/shutdown.jar</jar><jartype="variable">${classPathVariableName}/lib/concurrent.jar</jar><jartype="variable">${classPathVariableName}/lib/dom4j.jar</jar><jartype="variable">${classPathVariableName}/lib/gnu-regexp.jar</jar><jartype="variable">${classPathVariableName}/lib/jboss-jmx.jar</jar><jartype="variable">${classPathVariableName}/lib/jboss-common.jar</jar><jartype="variable">${classPathVariableName}/lib/jboss-system.jar</jar><jartype="variable">${classPathVariableName}/lib/endorsed/xercesImpl.jar</jar><jartype="variable">${classPathVariableName}/lib/endorsed/xml-apis.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/activation.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/avalon-framework.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/bsh-commands-1.3.0.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/bsh-core-1.3.0.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/bsh-deployer.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/castor-0.9.3.9-xml.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/cglib-full-2.0.1.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/hibernate2.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/hsqldb.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/hsqldb-plugin.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jacorb.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/javax.servlet.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/javax.servlet.jsp.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jaxr-client.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-common-jdbc-wrapper.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-hibernate.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-iiop.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-j2ee.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-jaxrpc.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-jca.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-jsr77.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-management.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-monitoring.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-saaj.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jbossmq.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jbosssx.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jnpserver.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-pattern.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-util.jar</jar></serverClassPath><clientClassPath><jartype="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar><jartype="variable">${classPathVariableName}/client/jboss-common-client.jar</jar><jartype="variable">${classPathVariableName}/client/jbossall-client.jar</jar><jartype="variable">${classPathVariableName}/client/jbosssx-client.jar</jar><jartype="variable">${classPathVariableName}/client/jnp-client.jar</jar><jartype="variable">${classPathVariableName}/client/log4j.jar</jar><jartype="variable">${classPathVariableName}/server/default/lib/jnpserver.jar</jar></clientClassPath><projectClassPath><jartype="variable">JDK_TOOLS</jar><jartype="variable">${classPathVariableName}/bin/run.jar</jar><jartype="variable">${classPathVariableName}/bin/shutdown.jar</jar><jartype="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar><jartype="variable">${classPathVariableName}/lib/concurrent.jar</jar><jartype="variable">${classPathVariableName}/lib/jboss-system.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/javax.servlet.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jnpserver.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-pattern.jar</jar><jartype="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-util.jar</jar></projectClassPath><adminTool><web><deploy/><undeploy/></web><ejb><deploy/><undeploy/></ejb><ear><deploy/><undeploy/><webModule><deploy/><undeploy/></webModule><ejbModule><deploy/><undeploy/></ejbModule></ear></adminTool><adminToolPath/></serverDefinition>

最初,发明这两个.server文件都管用,今后就不必为设置JBoss使用服务器懊恼了。呵呵

对于一个大型项目,如果用java来作,可能需要9个月,并且可能需要翻阅10本以上的书,但如果用ruby来作,3个月,3本书就足够了,而.net也不过3,4本书足以,这就是区别。
山那边是海 该用户已被删除
沙发
发表于 2015-1-21 12:20:57 | 只看该作者
是一种简化的C++语言 是一种安全的语言,具有阻绝计算机病毒传输的功能
第二个灵魂 该用户已被删除
板凳
发表于 2015-1-21 21:18:39 | 只看该作者
另外编写和运行Java程序需要JDK(包括JRE),在sun的官方网站上有下载,thinking in java第三版用的JDK版本是1.4,现在流行的版本1.5(sun称作J2SE 5.0,汗),不过听说Bruce的TIJ第四版国外已经出来了,是专门为J2SE 5.0而写的。
莫相离 该用户已被删除
地板
发表于 2015-1-30 22:31:47 | 只看该作者
《JAVA语言程序设计》或《JAVA从入门到精通》这两本书开始学,等你编程有感觉的时候也可以回看一下。《JAVA读书笔记》这本书,因为讲的代码很多,也很容易看懂,涉及到面也到位。是你学习技术巩固的好书,学完后就看看《JAVA编程思想》这本书,找找一个自己写的代码跟书上的代码有什么不一样。
金色的骷髅 该用户已被删除
5#
发表于 2015-2-6 16:22:41 | 只看该作者
[url]http://www.jdon.com/[/url]去下载,或到同济技术论坛的服务器[url]ftp://nro.shtdu.edu.cn[/url]去下,安装上有什么问题,可以到论坛上去提问。
不帅 该用户已被删除
6#
发表于 2015-2-15 14:23:05 | 只看该作者
Java是一个纯的面向对象的程序设计语言,它继承了 C++语言面向对象技术的核心。Java舍弃了C ++语言中容易引起错误的指针(以引用取代)、运算符重载(operator overloading)
只想知道 该用户已被删除
7#
发表于 2015-2-28 07:27:31 | 只看该作者
Sun公司看见Oak在互联网上应用的前景,于是改造了Oak,于1995年5月以Java的名称正式发布。Java伴随着互联网的迅猛发展而发展,逐渐成为重要的网络编程语言。
小妖女 该用户已被删除
8#
发表于 2015-3-9 21:31:39 | 只看该作者
Pet Store.(宠物店)是SUN公司为了演示其J2EE编程规范而推出的开放源码的程序,应该很具有权威性,想学J2EE和EJB的朋友不要 错过了。
乐观 该用户已被删除
9#
发表于 2015-3-17 01:10:26 | 只看该作者
多重继承(以接口取代)等特性,增加了垃圾回收器功能用于回收不再被引用的对象所占据的内存空间,使得程序员不用再为内存管理而担忧。在 Java 1.5 版本中,Java 又引入了泛型编程(Generic Programming)、类型安全的枚举、不定长参数和自动装/拆箱等语言特性。
活着的死人 该用户已被删除
10#
 楼主| 发表于 2015-3-17 01:54:17 | 只看该作者
让你能够真正掌握接口或抽象类的应用,从而在原来的Java语言基础上跃进一步,更重要的是,设计模式反复向你强调一个宗旨:要让你的程序尽可能的可重用。
精灵巫婆 该用户已被删除
11#
发表于 2015-3-17 03:11:20 | 只看该作者
是一种由美国SUN计算机公司(Sun Microsystems, Inc.)所研究而成的语言
柔情似水 该用户已被删除
12#
发表于 2015-3-17 20:25:48 | 只看该作者
是一种由美国SUN计算机公司(Sun Microsystems, Inc.)所研究而成的语言
若相依 该用户已被删除
13#
发表于 2015-4-12 05:03:30 | 只看该作者
是一种将安全性(Security)列为第一优先考虑的语言
14#
发表于 2015-5-8 06:06:27 | 只看该作者
科学超级计算机、移动电话和互联网,同时拥有全球最大的开发者专业社群。
小女巫 该用户已被删除
15#
发表于 2015-6-17 19:57:51 | 只看该作者
是一种由美国SUN计算机公司(Sun Microsystems, Inc.)所研究而成的语言
变相怪杰 该用户已被删除
16#
发表于 2015-7-6 01:20:38 | 只看该作者
是一种为 Internet发展的计算机语言
飘飘悠悠 该用户已被删除
17#
发表于 2015-7-13 21:19:30 | 只看该作者
一般学编程语言都是从C语开始学的,我也不例外,但还是可能不学过程语言而直接学面向对象语言的,你是刚接触语言,还是从C开始学比较好,基础会很深点,如果你直接学习JAVA也能上手,一般大家在学语言的时候都记一些语言的关键词,常有的包和接口等。再去做逻辑代码的编写,以后的学习过程都是从逻辑代码编写中提升的,所以这方面都是经验积累的。你要开始学习就从
谁可相欹 该用户已被删除
18#
发表于 2015-7-20 01:33:47 | 只看该作者
科学超级计算机、移动电话和互联网,同时拥有全球最大的开发者专业社群。
灵魂腐蚀 该用户已被删除
19#
发表于 2015-7-25 19:51:51 | 只看该作者
Java语言支持Internet应用的开发,在基本的Java应用编程接口中有一个网络应用编程接口(java net),它提供了用于网络应用编程的类库,包括URL、URLConnection、Socket、ServerSocket等。Java的RMI(远程方法激活)机制也是开发分布式应用的重要手段。
admin 该用户已被删除
20#
发表于 2015-9-22 11:19:30 | 只看该作者
象、泛型编程的特性,广泛应用于企业级Web应用开发和移动应用开发。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-12-22 16:33

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表