|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
比如模式、敏捷方法什么的,这些思想好,但是实施的人没有理解而且没有正确运用这些知识导致了开发周期的延长。比如说对象,通过getName()方法不能获取对象的名字。j2ee
本节先容各个代表性实例的安装,原英文先容文档位于以下路径:J2EE1.4/samples/docs/list.html
Duke’sBookstore
1编译。
切换到J2EE1.4ampleswebappsookstoreookstore1rc
1)实行asantclean.,这是扫除
2)实行asantcore,这是编译
2启动PointBase数据库,并筹办数据
1)实行<pointbase_install_dir>/tools/serveroption/startserver.bat剧本
2)启动Server
3)切换到J2EE1.4ampleswebappsookstoreookstore1rc,运转:
asantdeploy
3运转
在扫瞄器键进:http://<host>:<port>/bookstore1/enter
4天生javadoc
在J2EE1.4ampleswebappsookstoreookstore1rc下运转:
asantjavadocs
StatelessSessionBean
Location:J2EE1.4amples/ejb/stateless/simple/src
StatefulSessionBean-CartBean
Location:D:DevsJ2EE1.4amplesejbtatefulimplerc
Run:
cd<install_dir>/domains/<domain_name>/applications/j2ee-apps/stateful-simple/
run:appclient-clientstateful-simpleClient.jar-nameCartClient–textauth
CMPCustomer
Location:D:DevsJ2EE1.4amplesejbcmpcmpcustomerrc
1在把持台创建jdbc毗连资本,称号为:jdbc/cmpcustomer
2创立毗连池:cmpcustomer-pool
Run:http://localhost:8080/customer/
StorageBin(bmp-Simple)Application
Location:D:DevsJ2EE1.4amplesejbmpimplerc
HowtoRun:
In:D:DevsJ2EE1.4domainsdomain1applicationsj2ee-appsmp-simple
Run:
appclient-clientbmp-simpleClient.jar-nameStorageBinClient-textauth
MDB
Location:D:DevsJ2EE1.4amplesejbmdbimplerc
界说资本
1上岸Server,在JavaMessageService处点击ConnectionFactories,然后选择New
2输出:
JNDI-Name:jms/MyQcfType:javax.jms.QueueConnectionFactoryResource:SelectEnabledcheckbox
3点击DestinationResources点New,输出:
JNDI-Name:jms/MyQueueType:javax.jms.QueueResource:SelectEnabledcheckbox
4运转:
in:D:DevsJ2EE1.4domainsdomain1applicationsj2ee-appsmdb-simple
run
appclient-clientmdb-simpleClient.jar-nameSimpleMessageClient–textauth-xmlD:DevsJ2EE1.4domainsdomain1configun-acc.xml
已安装实例和运转路径以下:
Name
URL
Duke’sBookstore
http://localhost:8080/bookstore1/enter
StatelessSessionBean
http://localhost:8080/helloworld
Stateful
D:DevsJ2EE1.4domainsdomain1applicationsj2ee-appstateful-simple
appclient-clientstateful-simpleClient.jar-nameCartClient–textauth
CMP
http://localhost:8080/customer/
BMP
D:DevsJ2EE1.4domainsdomain1applicationsj2ee-appsmp-simple
appclient-clientbmp-simpleClient.jar-nameStorageBinClient-textauth
MDB
D:DevsJ2EE1.4domainsdomain1applicationsj2ee-appsmdb-simple
appclient-clientmdb-simpleClient.jar-nameSimpleMessageClient–textauth-xmlD:DevsJ2EE1.4domainsdomain1configun-acc.xml
但是我同意你的观点,对于大型项目来说,应该是采用框架的一部分,根据功能的不同而改进,欢迎你能再提出些宝贵意见,我会多多学习的。说到jbuilder,我可能是个人感觉,用的时候确实没有vs爽,我最喜欢的IDE是netbeans,谢谢。 |
|