没有合适的资源?快使用搜索试试~ 我知道了~
首页NetBeans 6.0 Rich Client Platform IDE指南:开源的强大应用开发工具
NetBeans 6.0 Rich Client Platform IDE指南:开源的强大应用开发工具
需积分: 31 10 下载量 110 浏览量
更新于2024-07-21
收藏 10.56MB PDF 举报
"《NetBeans使用手册》是一本详尽的指南,专为Java技术专业人士设计,特别是对于那些想要利用开源NetBeans IDE平台来构建强大且功能丰富的客户端/互联网应用的开发者。本书由Adam Myatt、Brian Leonard和Geertjan Wielenga三位作者共同编写,他们都是NetBeans.org的专家。 该书的核心内容覆盖了NetBeans IDE 6的Rich Client Platform Edition,这是一种强大的开发环境,旨在提升软件开发效率。书中特别介绍了NetBeans的(J)Ruby/Rails IDE扩展,这表明NetBeans不仅局限于Java,还支持其他动态语言,如Ruby on Rails,进一步扩大了其编程灵活性。 版权方面,所有内容受Adam Myatt的保护,未经版权所有者和出版商事先书面许可,不得以任何形式复制、传播或通过电子或机械方式,包括复印、录音或任何信息存储和检索系统进行。本书的纸质版和电子版分别具有ISBN-13和ISBN-10编号,确保了其权威性和唯一性。 该手册强调了版权法律的重要性,并提醒读者在引用商标时的正确做法,尊重知识产权。《NetBeans使用手册》是一本深入浅出、实用性强的资源,无论是初学者还是经验丰富的开发者,都能从中找到构建高效应用程序所需的知识和技术指导。通过学习这本书,读者将能够充分利用NetBeans的强大功能,为自己的项目增添价值。"
资源详情
资源推荐
Building a Web Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Cleaning and Building a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Compiling JSP Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Repeating and Stopping Builds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Running a Web Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Defining Java Application Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
Using Tomcat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Using GlassFish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Setting the Application Server for a Project . . . . . . . . . . . . . . . . . . . 317
HTTP Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Enabling the HTTP Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Using the HTTP Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Working with Web Application Frameworks . . . . . . . . . . . . . . . . . . . . . . . 321
Leveraging Struts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
Leveraging Struts 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
Leveraging Visual JavaServer Faces . . . . . . . . . . . . . . . . . . . . . . . . . 328
Leveraging the jMaki Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
■CHAPTER 14 Developing Web Services: JAX-WS, SOA, BPEL,
and RESTful
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Installing the Web Services Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Creating Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Creating a Web Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
Creating a Web Service Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Creating a Web Service from a WSDL File . . . . . . . . . . . . . . . . . . . . 373
Creating a Message Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
Creating a Logical Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
W
orking with SOA and BPEL
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
377
Creating a BPEL Module Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Creating the BPEL Process File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Navigating the BPEL Design Window . . . . . . . . . . . . . . . . . . . . . . . . 379
Crea
ting the
WSDL F
ile
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
381
Navigating the WSDL Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
W
orking with the BPEL Designer and the BPEL Mapper
. . . . . . . .
387
Creating a Composite Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
Creating a Composite Application Project . . . . . . . . . . . . . . . . . . . . . 394
Setting Composite Application Project Properties . . . . . . . . . . . . . . 394
Adding a JBI Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Testing the Composite Application and BPEL Process . . . . . . . . . . 395
■CONTENTSxiv
8954FM.qxp 1/28/08 11:44 AM Page xiv
Creating RESTful Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
Installing the RESTful Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
Creating RESTful Web Services from Patterns . . . . . . . . . . . . . . . . 398
Creating a Client to Read the Service . . . . . . . . . . . . . . . . . . . . . . . . 401
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
■CHAPTER 15 Developing GUI Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Creating a Simple GUI Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Working with the Palette Window . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Creating the Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Creating the Initial JFrame Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Working with the F
orm Editor
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Using FreeTTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
Using the Swing Application Framework . . . . . . . . . . . . . . . . . . . . . . . . . . 420
Crea
ting a Java Desktop Application Project
. . . . . . . . . . . . . . . . . . 420
Using Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Working with the Application Actions Window . . . . . . . . . . . . . . . . 428
Using Beans Binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Creating the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Crea
ting the Project
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
Exploring the Generated Application . . . . . . . . . . . . . . . . . . . . . . . . . 435
Understanding the “Update Source When” Field . . . . . . . . . . . . . . 439
Writing a Custom Validator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
■CHAPTER 16 Developing Rich Client Applications . . . . . . . . . . . . . . . . . . . . . 445
Features Provided by the NetBeans Platform . . . . . . . . . . . . . . . . . . . . . . 446
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
447
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
NetBeans Pla
tform SDK
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
448
Project Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
File Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
NetBeans Platform Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Project Properties Dialogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Context Menu Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
Meeting the APIs Outside of the Platform . . . . . . . . . . . . . . . . . . . . . . . . . . 456
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
458
Using the Explorer & Property Sheet API . . . . . . . . . . . . . . . . . . . . . 458
Using the Nodes API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Running the Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
■CONTENTS xv
8954FM.qxp 1/28/08 11:44 AM Page xv
Assembling a NetBeans Platform Application . . . . . . . . . . . . . . . . . . . . . . 463
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Using the Window System API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
Branding the Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Running the Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Distributing the Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Updating the Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Summary of the Main NetBeans APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
■INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
■CONTENTSxvi
8954FM.qxp 1/28/08 11:44 AM Page xvi
About the Author
■ADAM MYATT currently works as the Principal Technologist of Software Development for GE
Global Research, the worldwide R&D headquarters of General Electric, located in Niskayuna,
New York. Adam is an experienced Java developer and a Sun Microsystems Certified Java
Programmer. His work entails leading globally developed Java software and web applications
through a rigorous software development life-cycle process, researching new technologies,
and setting long-term strategies.
He is an active participant in a local Java users’ group and is an avid enthusiast of open
source software. Adam has previously published the book
Pro NetBeans IDE 5.5 Enterprise
Edition
(Apress, 2007), which focuses on Java EE 5 technology and its use in NetBeans. He
recently served on the Tools & Languages Track Committee for selecting presenters for
JavaOne 2008.
Adam has also worked for several area software firms prior to joining General Electric. He
is a graduate of the Computer Science Department at the State University of New York College
at Potsdam.
In what little free time he has, Adam enjoys traveling to new and interesting places, fishing,
and playing poker. Recently, Adam and his wife drove back and forth across the United States,
covering 6,500 miles and 20 states, all with zero speeding tickets and zero traffic accidents.
xvii
8954FM.qxp 1/28/08 11:44 AM Page xvii
8954FM.qxp 1/28/08 11:44 AM Page xviii
剩余521页未读,继续阅读
wang_jie_jie
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- C++标准程序库:权威指南
- Java解惑:奇数判断误区与改进方法
- C++编程必读:20种设计模式详解与实战
- LM3S8962微控制器数据手册
- 51单片机C语言实战教程:从入门到精通
- Spring3.0权威指南:JavaEE6实战
- Win32多线程程序设计详解
- Lucene2.9.1开发全攻略:从环境配置到索引创建
- 内存虚拟硬盘技术:提升电脑速度的秘密武器
- Java操作数据库:保存与显示图片到数据库及页面
- ISO14001:2004环境管理体系要求详解
- ShopExV4.8二次开发详解
- 企业形象与产品推广一站式网站建设技术方案揭秘
- Shopex二次开发:触发器与控制器重定向技术详解
- FPGA开发实战指南:创新设计与进阶技巧
- ShopExV4.8二次开发入门:解决升级问题与功能扩展
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功