Practical Database Programming with Java - Ying Bai - E-Book

Practical Database Programming with Java E-Book

Ying Bai

0,0
96,99 €

oder
-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

Covers fundamental and advanced Java database programming techniques for beginning and experienced readers This book covers the practical considerations and applications in database programming using Java NetBeans IDE, JavaServer Pages, JavaServer Faces, and Java Beans, and comes complete with authentic examples and detailed explanations. Two data-action methods are developed and presented in this important resource. With Java Persistence API and plug-in Tools, readers are directed step by step through the entire database programming development process and will be able to design and build professional data-action projects with a few lines of code in mere minutes. The second method, runtime object, allows readers to design and build more sophisticated and practical Java database applications. Advanced and updated Java database programming techniques such as Java Enterprise Edition development kits, Enterprise Java Beans, JavaServer Pages, JavaServer Faces, Java RowSet Object, and Java Updatable ResultSet are also discussed and implemented with numerous example projects. Ideal for classroom and professional training use, this text also features: * A detailed introduction to NetBeans Integrated Development Environment * Java web-based database programming techniques (web applications and web services) * More than thirty detailed, real-life sample projects analyzed via line-by-line illustrations * Problems and solutions for each chapter * A wealth of supplemental material available for download from the book's ftp site, including PowerPoint slides, solution manual, JSP pages, sample image files, and sample databases * Coverage of two popular database systems: SQL Server 2008 and Oracle This book provides undergraduate and graduate students as well as database programmers and software engineers with the necessary tools to handle the database programming issues in the Java NetBeans environment. To obtain instructor materials please send an email to: [email protected]

Sie lesen das E-Book in den Legimi-Apps auf:

Android
iOS
von Legimi
zertifizierten E-Readern

Seitenzahl: 1463

Veröffentlichungsjahr: 2011

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Cover

Title

Copyright

Dedication

Preface

Acknowledgments

Chapter 1: Introduction

WHAT THIS BOOK COVERS

HOW THIS BOOK IS ORGANIZED AND HOW TO USE THIS BOOK

HOW TO USE THE SOURCE CODE AND SAMPLE DATABASES

INSTRUCTOR AND CUSTOMER SUPPORT

Chapter 2: Introduction to Databases

2.1 WHAT ARE DATABASES AND DATABASE PROGRAMS?

2.2 DEVELOP A DATABASE

2.3 SAMPLE DATABASE

2.4 IDENTIFYING KEYS

2.5 DEFINE RELATIONSHIPS

2.6 ER NOTATION

2.7 DATA NORMALIZATION

2.8 DATABASE COMPONENTS IN SOME POPULAR DATABASES

2.9 CREATE MICROSOFT ACCESS SAMPLE DATABASE

2.10 CREATE MICROSOFT SQL SERVER 2008 SAMPLE DATABASE

2.11 CREATE ORACLE 10G XE SAMPLE DATABASE

2.12 CHAPTER SUMMARY

Chapter 3: JDBC API and JDBC Drivers

3.1 WHAT ARE JDBC AND JDBC API?

3.2 JDBC COMPONENTS AND ARCHITECTURE

3.3 HOW DOES JDBC WORK?

3.4 JDBC DRIVER AND DRIVER TYPES

3.5 JDBC STANDARD EXTENSION API

3.6 CHAPTER SUMMARY

Chapter 4: JDBC Application Design Considerations

4.1 JDBC APPLICATION MODELS

4.2 JDBC APPLICATIONS FUNDAMENTALS

4.3 CHAPTER SUMMARY

Chapter 5: Introduction to NetBeans IDE

5.1 OVERVIEW OF THE NETBEANS IDE 6.8

5.2 INSTALLING AND CONFIGURING THE NETBEANS IDE 6.8

5.3 EXPLORING NETBEANS IDE 6.8

5.4 CHAPTER SUMMARY

PART I: Building Two-Tier Client–Server Applications

Chapter 6: Query Data from Databases

SECTION I: QUERY DATA USING JAVA PERSISTENCE API WIZARDS

6.1 JAVA PERSISTENCE APIS

6.2 QUERY DATA USING JAVA PERSISTENCE API WIZARDS (JPA)

SECTION II: QUERY DATA USING JAVA RUNTIME OBJECTS METHOD

6.3 INTRODUCTION TO RUNTIME OBJECT METHOD

6.4 CREATE A JAVA APPLICATION PROJECT TO ACCESS THE SQL SERVER DATABASE

6.5 CREATE A JAVA APPLICATION PROJECT TO ACCESS THE ORACLE DATABASE

6.6 CHAPTER SUMMARY

Chapter 7: Insert, Update, and Delete Data from Databases

SECTION I: INSERT, UPDATE AND DELETE DATA USING JAVA PERSISTENCE API WIZARDS

7.1 PERFORM DATA MANIPULATIONS TO SQL SERVER DATABASE USING JPA WIZARDS

7.2 PERFORM DATA MANIPULATIONS TO ORACLE DATABASE USING JPA WIZARDS

SECTION II: INSERT, UPDATE AND DELETE DATA USING JAVA RUNTIME OBJECTS METHOD

7.3 PERFORM DATA MANIPULATIONS TO SQL SERVER DATABASE USING JAVA RUNTIME OBJECT

7.4 PERFORM DATA MANIPULATIONS TO ORACLE DATABASE USING JAVA RUNTIME OBJECT

7.5 PERFORM DATA MANIPULATIONS USING UPDATABLE RESULTSET

7.6 PERFORM DATA MANIPULATIONS USING CALLABLE STATEMENTS

7.7 CHAPTER SUMMARY

PART II: Building Three-Tier Client–Server Applications

Chapter 8: Developing Java Web Applications to Access Databases

8.1 A HISTORICAL REVIEW ABOUT JAVA WEB APPLICATION DEVELOPMENT

8.2 JAVA EE WEB APPLICATION MODEL

8.3 THE ARCHITECTURE AND COMPONENTS OF JAVA WEB APPLICATIONS

8.4 GETTING STARTED WITH JAVA WEB APPLICATIONS USING NETBEANS IDE

8.5 BUILD JAVA WEB PROJECT TO ACCESS SQL SERVER DATABASE

8.6 BUILD JAVA WEB PROJECT TO ACCESS AND MANIPULATE ORACLE DATABASE

8.7 CHAPTER SUMMARY

Chapter 9: Developing Java Web Services to Access Databases

9.1 INTRODUCTION TO JAVA WEB SERVICES

9.2 THE STRUCTURE AND COMPONENTS OF SOAP-BASED WEB SERVICES

9.3 THE PROCEDURE OF BUILDING A TYPICAL SOAP-BASED WEB SERVICE PROJECT

9.4 GETTING STARTED WITH JAVA WEB SERVICES USING NETBEANS IDE

9.5 BUILD JAVA WEB SERVICE PROJECTS TO ACCESS SQL SERVER DATABASE

9.6 BUILD A WINDOWS-BASED WEB CLIENT PROJECT TO CONSUME THE WEB SERVICE

9.7 BUILD A WEB-BASED CLIENT PROJECT TO CONSUME THE WEB SERVICE

9.8 BUILD JAVA WEB SERVICE TO INSERT DATA INTO THE SQL SERVER DATABASE

9.9 BUILD A WINDOWS-BASED WEB CLIENT PROJECT TO CONSUME THE WEB SERVICE

9.10 BUILD A WEB-BASED CLIENT PROJECT TO CONSUME THE WEB SERVICE

9.11 BUILD JAVA WEB SERVICE TO UPDATE AND DELETE DATA FROM THE SQL SERVER DATABASE

9.12 BUILD A WINDOWS-BASED WEB CLIENT PROJECT TO CONSUME THE WEB SERVICE

9.13 BUILD A WEB-BASED CLIENT PROJECT TO CONSUME THE WEB SERVICE

9.14 BUILD JAVA WEB SERVICE PROJECTS TO ACCESS ORACLE DATABASES

9.15 BUILD A WINDOWS-BASED WEB CLIENT PROJECT TO CONSUME THE WEB SERVICE

9.16 BUILD A WEB-BASED WEB CLIENT PROJECT TO CONSUME THE WEB SERVICE

9.17 CHAPTER SUMMARY

Index

About the Author

End User License Agreement

Pages

cover

contents

ii

iii

iv

v

xxiii

xxiv

xxv

1

2

3

4

5

6

7

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

291

292

293

294

295

296

297

298

299

300

301

302

303

304

305

306

307

308

309

310

311

312

313

314

315

317

319

320

321

322

323

324

325

326

327

328

329

330

331

332

333

334

335

336

337

338

339

340

341

342

343

344

345

346

347

348

349

350

351

352

353

354

355

356

357

358

359

360

361

362

363

364

365

366

367

368

369

370

371

372

373

374

375

376

377

378

379

380

381

382

383

384

385

386

387

388

389

390

391

392

393

394

395

396

397

398

399

400

401

402

403

404

405

406

407

408

409

410

411

412

413

414

415

416

417

418

419

420

421

422

423

424

425

426

427

428

429

430

431

432

433

434

435

436

437

438

439

440

441

442

443

444

445

446

447

448

449

450

451

452

453

454

455

456

457

458

459

460

461

463

464

465

466

467

468

469

470

471

472

473

474

475

476

477

478

479

480

481

482

483

484

485

486

487

488

489

490

491

492

493

494

495

496

497

498

499

500

501

502

503

504

505

506

507

508

509

510

511

512

513

514

515

516

517

518

519

520

521

522

523

524

525

526

527

528

529

530

531

532

533

534

535

536

537

538

539

540

541

542

543

544

545

546

547

548

549

550

551

552

553

554

555

557

558

559

560

561

562

563

564

565

566

567

568

569

570

571

572

573

574

575

576

577

578

579

580

581

582

583

584

585

586

587

588

589

590

591

592

593

594

595

596

597

598

599

600

601

602

603

604

605

606

607

608

609

610

611

612

613

614

615

616

617

618

619

620

621

622

623

624

625

626

627

628

629

630

631

632

633

634

635

636

637

638

639

640

641

642

643

644

645

646

647

648

649

650

651

652

653

654

655

656

657

658

659

660

661

662

663

664

665

666

667

668

669

670

671

672

673

674

675

676

677

678

679

680

681

682

683

684

685

686

687

688

689

690

691

692

693

694

695

696

697

698

699

700

701

702

703

704

705

706

707

708

709

710

711

712

713

714

715

716

717

718

719

720

721

722

723

724

725

726

727

728

729

730

731

732

733

734

735

736

737

738

739

740

741

742

743

744

745

746

747

748

749

750

751

752

753

754

755

756

757

758

759

760

761

762

763

764

765

766

767

769

770

771

772

773

774

775

776

777

778

779

780

781

782

783

784

785

786

787

788

789

790

791

792

793

794

795

796

797

798

799

800

801

802

803

804

805

806

807

808

809

810

811

812

813

814

815

816

817

818

819

820

821

822

823

824

825

826

827

828

829

830

831

832

833

834

835

836

837

838

839

840

841

842

843

844

845

846

847

848

849

850

851

852

853

854

855

856

857

858

859

860

861

862

863

864

865

866

867

868

869

870

871

872

873

874

875

876

877

878

879

880

881

882

883

884

885

886

887

888

889

890

891

892

893

894

895

896

897

898

899

900

901

902

903

904

905

906

907

909

910

911

912

913

914

915

916

917

918

919

Guide

Cover

Table of Contents

Begin Reading

List of Illustrations

Chapter 1: Introduction

Figure 1.1. Two levels in this book.

Figure 1.2. Book related materials on the Web sites.

Chapter 2: Introduction to Databases

Figure 2.1. Records and fields in a table.

Figure 2.2. One to one relationship in the LogIn and the Student tables.

Figure 2.3. One-to-many relationship between Faculty and Course tables.

Figure 2.4. Many-to-many relationship between Student and Course tables.

Figure 2.5. Relationships in CSE_DEPT database.

Figure 2.6. Relationships are illustrated using MS Access in the CSE_DEPT database.

Figure 2.7. Commonly used symbols for ER notation.

Figure 2.8. Converting Faulty table into 2NF by decomposing the old table in two, Faculty and Office.

Figure 2.9. Microsoft Access database illustration.

Figure 2.10. SQL Server database structure.

Figure 2.11. Syntax for creating a stored procedure in Oracle.

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!