Java编程入门:实战ATM与数据库技术

需积分: 10 5 下载量 20 浏览量 更新于2024-07-29 2 收藏 14.74MB PDF 举报
"Java for Programmers(第二版)" 是一本针对初学者的Java编程书籍,它以易懂且详细的方式介绍了Java编程语言。本书的核心是面向对象编程概念的讲解,并通过ATM机的实例来深入浅出地阐述这些概念。此外,书中还涵盖了数据库交互(如JDBC)以及Java Server Faces (JSF)等Web开发技术。读者可以在配套网站上下载源代码以辅助学习和实践。 在JavaSE7部分,本书会详细介绍Java标准版7的关键特性,包括语法、类库更新以及如何利用新功能编写更高效和可靠的代码。面向对象编程是Java的核心,书中会详细讲解类、对象、封装、继承和多态等基本概念。通过ATM机的例子,读者将能够理解如何在实际项目中应用这些概念,从而更好地掌握面向对象设计原则。 JDBC(Java Database Connectivity)是Java与数据库交互的标准接口。在这一部分,本书将教授读者如何创建数据库连接、执行SQL查询、处理结果集以及事务管理。读者将学会如何使用JDBC进行数据的增删改查操作,这对于任何涉及数据库的Java应用开发都是至关重要的。 JSF(JavaServerFaces)是Java EE平台的一部分,用于构建用户界面。JSF提供了一种组件化的方式来构建Web应用程序,简化了前端和后端的交互。这部分内容会涵盖JSF的基本组件、事件处理、数据绑定以及与后台bean的交互。了解JSF能帮助开发者更有效地构建基于Java的Web应用程序。 GUI(Graphical User Interface)在Java中通常指的是Swing或JavaFX。虽然书中没有明确指出是哪一个,但讨论GUI开发时可能涉及窗口组件、布局管理、事件处理等方面。这部分内容将帮助读者创建具有吸引力的桌面应用程序,提升用户体验。 这本书不仅提供了理论知识,还提供了实用的代码示例,使读者能够在实践中学习。作者和出版商明确表示,他们尽力确保内容的准确性,但不承担任何错误或遗漏的责任。对于批量购买或特殊销售,出版社还提供折扣和定制服务。 "Java for Programmers(第二版)" 是一本全面的Java入门教材,适合想要学习Java编程、理解和应用面向对象概念、数据库交互以及Web开发的初学者。通过阅读和实践,读者将能够建立起坚实的基础,进一步发展自己的Java编程技能。
168 浏览量
PRACTICAL, EXAMPLE-RICH COVERAGE OF: * Classes, Objects, Encapsulation, Inheritance, Polymorphism, Interfaces, Nested Classes * Integrated OOP Case Studies: Time, GradeBook, Employee * Industrial-Strength, 95-Page OOD/UML 2 ATM Case Study * JavaServer Faces, Ajax-Enabled Web Applications, Web Services, Networking * JDBC, SQL, Java DB, MySQL * Threads and the Concurrency APIs * I/O, Types, Control Statements, Methods * Arrays, Generics, Collections * Exception Handling, Files * GUI, Graphics, GroupLayout, JDIC * Using the Debugger and the API Docs * And more… VISIT WWW.DEITEL.COM * For information on Deitel’s Dive Into Series corporate training courses offered at customer sites worldwide (or write to deitel@deitel.com) * Download code examples * Check out the growing list of programming, Web 2.0, and software-related Resource Centers * To receive updates for this book, subscribe to the free DEITEL BUZZ ONLINE e-mail newsletter at www.deitel.com/newsletter/subscribe.html * Read archived issues of the DEITEL BUZZ ONLINE The practicing programmer’s DEITEL guide to Java development and the Powerful Java Platform Written for programmers with a background in high-level language programming, this book applies the Deitel signature live-code approach to teaching programming and explores the Java language and Java APIs in depth. The book presents the concepts in the context of fully tested programs, complete with syntax shading, code highlighting, line-by-line code descriptions and program outputs. The book features 220 Java applications with over 18,000 lines of proven Java code, and hundreds of tips that will help you build robust applications. Start with an introduction to Java using an early classes and objects approach, then rapidly move on to more advanced topics, including GUI, graphics, exception handling, generics, collections, JDBC, web-application development with JavaServer Faces, web services and more. You’ll enjoy the Deitels’ classic treatment of object-oriented programming and the OOD/UML ATM case study, including a complete Java implementation. When you’re finished, you’ll have everything you need to build object-oriented Java applications. The DEITEL Developer Series is designed for practicing programmers. The series presents focused treatments of emerging technologies, including Java, C++, .NET, web services, Internet and web development and more.