文档介绍:Java EE 6 Development with
NetBeans 7
Develop professional enterprise Java EE applications
quickly and easily with this popular IDE
David R. Heffelfinger
BIRMINGHAM - MUMBAI
Java EE 6 Development Beans 7
Copyright © 2011 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
First published: June 2011
Production Reference: 1130611
Published by Packt Publishing Ltd.
32 Lincoln Road
Olton
Birmingham, B27 6PA, UK.
ISBN 978-1-849512-70-1
Cover Image by Asher Wishkerman (wishkerman@)
Table of Contents
Chapter 1: Getting Started Beans 7
Introduction 7
Beans 8
Beans 12
Microsoft Windows 12
Mac OS X 12
Linux and Solaris 13
Other platforms 13
Installation procedure 13
Beans for the first time 20
Beans for Java EE development 21
Beans with a third party application server 21
Beans with a third party RDBMS 25
Adding a JDBC driver Beans 25
Connecting to a third party RDBMS 27
Deploying our first application 29
NetBeans tips for effective development 33
pletion 33
Code templates 37
Keyboard shortcuts 39
Beans visual cues 43
Summary 45
Chapter 2: Develop