Search This Blog

Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Tuesday, 29 November 2011

Beginning Java 7 - Jeff Friesen

Beginning Java 7 
                                 - Jeff Friesen
Beginning Java 7 guides you through this language and a huge assortment of platform APIs according to the following table of contents:

Chapter  1: Getting Started with Java
Chapter  2: Discovering Classes and Objects
Chapter  3: Exploring Advanced Language Features
Chapter  4: Touring Language APIs
Chapter  5: Collecting Objects
Chapter  6: Touring Additional Utility APIs
Chapter  7: Creating and Enriching Graphical User Interfaces
Chapter  8: Interacting with Filesystems
Chapter  9: Interacting with Networks and Databases
Chapter 10: Parsing, Creating, and Transforming XML Documents
Chapter 11: Working with Web Services
Chapter 12: Java 7 Meets Android
Appendix A: Solutions to Exercises
Appendix B: Scripting API and Dynamically Typed Language Support
Appendix C: Odds and Ends
Appendix D: Applications Gallery

Chapter 1 introduces you to Java and begins to cover the Java language by focusing on fundamental concepts such as comments, identifiers, variables, expressions, and statements.

Chapter 2 continues to explore this language by presenting all of its features for working with classes and objects. You learn about features related to class declaration and object creation, encapsulation, information hiding, inheritance, polymorphism, interfaces, and garbage collection.

Chapter 3 focuses on the more advanced language features related to nested classes, packages, static imports, exceptions, assertions, annotations, generics, and enums. Additional chapters will introduce you to the few features not covered in Chapters 1 through 3.

Chapter 4 largely moves away from covering language features (although it does introduce class literals and strictfp) while focusing on language-oriented APIs. You learn about Math, StrictMath, Package, Primitive Type Wrapper Classes, Reference, Reflection, String, StringBuffer and StringBuilder, Threading, BigDecimal, and BigInteger in this chapter.

Chapter 5 begins to explore Java's utility APIs by focusing largely on the Collections Framework. However, it also discusses legacy collection-oriented APIs and how to create your own collections.

Chapter 6 continues to focus on utility APIs by presenting the concurrency utilities along with the Objects and Random classes.

Chapter 7 moves you away from the command-line user interfaces that appear in previous chapters and toward graphical user interfaces. You first learn about the Abstract Window Toolkit foundation, and then explore the Java Foundation Classes in terms of Swing and Java 2D. Appendix C explores Accessibility and Drag and Drop.

Chapter 8 explores filesystem-oriented I/O in terms of the File, RandomAccessFile, stream, and writer/reader classes. New I/O is covered in Appendix C.

Chapter 9 introduces you to Java's network APIs, such as sockets. It also introduces you to the JDBC API for interacting with databases.

Chapter 10 dives into Java's XML support by first presenting an introduction to XML (including DTDs and schemas). It next explores the SAX, DOM, StAX, XPath, and XSLT APIs. It even briefly touches on the Validation API. While exploring XPath, you encounter namespace contexts, extension functions and function resolvers, and variables and variable resolvers.

Chapter 11 introduces you to Java's support for SOAP-based and RESTful web services. In addition to providing you with the basics of these web service categories, Chapter 11 presents some advanced topics, such as working with the SAAJ API to communicate with a SOAP-based web service without having to rely on JAX-WS. You will appreciate having learned about XML in Chapter 10 before diving into this chapter.

Chapter 12 helps you put to use some of the knowledge you've gathered in previous chapters by showing you how to use Java to write an Android app's source code. This chapter introduces you to Android, discusses its architecture, shows you how to install necessary tools, and develops a simple app.

Appendix A presents the solutions to the programming exercises that appear near the end of Chapters 1 through 12.

Appendix B introduces you to Java's Scripting API along with Java 7's support for dynamically typed languages.

Appendix C introduces you to additional APIs and architecture topics: Accessibility, ByteArrayOutputStream and ByteArrayInputStream, classloaders, Console, Desktop, Drag and Drop, Dynamic Layout, Extension Mechanism and ServiceLoader, File Partition-Space, File Permissions, Formatter, Image I/O, Internationalization, Java Native Interface, NetworkInterface and InterfaceAddress, New I/O (including NIO.2), PipedOutputStream and PipedInputStream, Preferences, Scanner, Security, Smart Card, Splash Screen, Stream Tokenizer, StringTokenizer, SwingWorker, System Tray, Timer and TimerTask, Tools and the Compiler API, Translucent and Shaped Window, and XML Digital Signature.

Appendix D presents a gallery of significant applications that demonstrate various aspects of Java.

Unfortunately, there are limits to how much knowledge can be crammed into a print book. For this reason, Appendixes A, B, C, and D are not included in this book's pages. Instead, these appendixes are freely distributed as PDF files. Appendixes A and B are bundled with the book's associated code file at the Apress website (http://www.apress.com).

Appendixes C and D are bundled with their respective code files on my TutorTutor.ca website at http://tutortutor.ca/cgi-bin/makepage.cgi?/books/bj7. Appendixes C and D are "living documents" in that I'll occasionally add new material to them. For example, I plan to expand Appendix C by also covering Java Naming and Directory Interface, Java Sound, Remote Method Invocation and Corba, Robot, Runtime and Process, Swing Timer, and many other APIs/architecture topics (including a complete tour of Swing components). Of course, it will take time to write about these topics so don't expect all of them to appear at once -- they will slowly emerge in coming months (although smaller topics such as Robot will emerge much faster).

What you’ll learn

  • The entire Java language, including Java 7-specific features such as switch on string, try-with-resources, final rethrow, multicatch, and SafeVarargs
  • A huge assortment of Java 7 APIs, beginning with those APIs oriented toward the language itself, and including Java 7-specific APIs such as the Fork/Join Framework, Objects, JLayer, and NIO.2 
  • Various Java 7 tools, starting with the javac compiler and java application launcher
  • How to create user interfaces, working with web services, and a whole lot more
  • The basics of getting started with Android app development  

Who this book is for

This book targets the following groups of developers:
  • Newcomers, skilled (to some degree) in other programming languages but with no previous exposure to Java
  • Intermediate Java developers, skilled in the fundamentals of Java prior to Java 7 and looking to increase their understanding of Java 7 language/API changes
  • All developers looking beyond standard Java, who want to leverage Java 7 to create mobile apps via Android
  • Even advanced Java developers may find a few items of interest


    Wednesday, 2 November 2011

    Java Servlet & JSP Cookbook - Bruce W. Perry

    Java Servlet & JSP Cookbook 
                                                           - Bruce W. Perry
    With literally hundreds of examples and thousands of lines of code, the Java Servlet and JSP Cookbook yields tips and techniques that any Java web developer who uses JavaServer Pages or servlets will use every day, along with full-fledged solutions to significant web application development problems that developers can insert directly into their own applications.
    Java Servlet and JSP Cookbook presents real-world problems, and provides concise, practical solutions to each. Finding even one tested code "recipe" that solves a gnarly problem in this comprehensive collection of solutions and best practices will save hours of frustration--easily justifying the cost of this invaluable book.
    But "Java Servlet and JSP Cookbook" is more than just a wealth of cut-and-paste code. It also offers clear explanations of how and why the code works, warns of potential pitfalls, and directs you to sources of additional information, so you can learn to adapt the problem-solving techniques to similar situations.
    These recipes include vital topics like the use of Ant to setup a build environment, extensive coverage of the WAR file format and web.xml deployment descriptor, file-uploading, error-handling, cookies, logging, dealing with non-HTML content, multimedia, request filtering, web services, I18N, web services, and a host of other topics that frustrate even the most seasoned developers.
    For Java web developers of all levels who are eager to put into practice the theory presented in other API-focused books, the solutions presented in this practical book will prove invaluable over and over again. This is painless way for less experienced developers who prefer to learn by doing to expand their skills and productivity, while accomplishing practical solutions to the pressing problems they face every day.

    Thursday, 27 October 2011

    Effective Java (2nd Edition) by Joshua Bloch

    Effective Java (2nd Edition) by Joshua Bloch



    Are you looking for a deeper understanding of the Java™ programming language so that you can write code that is clearer, more correct, more robust, and more reusable? Look no further! Effective Java™, Second Edition, brings together seventy-eight indispensable programmer’s rules of thumb: working, best-practice solutions for the programming challenges you encounter every day.

    This highly anticipated new edition of the classic, Jolt Award-winning work has been thoroughly updated to cover Java SE 5 and Java SE 6 features introduced since the first edition. Bloch explores new design patterns and language idioms, showing you how to make the most of features ranging from generics to enums, annotations to autoboxing.

    Each chapter in the book consists of several “items” presented in the form of a short, standalone essay that provides specific advice, insight into Java platform subtleties, and outstanding code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why.

    Highlights include:
    • New coverage of generics, enums, annotations, autoboxing, the for-each loop, varargs, concurrency utilities, and much more
    • Updated techniques and best practices on classic topics, including objects, classes, libraries, methods, and serialization
    • How to avoid the traps and pitfalls of commonly misunderstood subtleties of the language
    • Focus on the language and its most fundamental libraries: java.lang, java.util, and, to a lesser extent, java.util.concurrent and java.io
    Simply put, Effective Java™, Second Edition, presents the most practical, authoritative guidelines available for writing efficient, well-designed programs.


    Monday, 24 October 2011

    Java Programming From Problem Analysis to Program Design 5th Edition - D. S. Malik

    Java Programming From Problem Analysis to Program Design 5th Edition 
                           - D. S. Malik




    Designed for the beginning programming student, this book will motivate learners while teaching fundamental programming concepts. Based on years of classroom testing, this fifth edition of JAVA™ PROGRAMMING: FROM PROBLEM ANALYSIS TO PROGRAM DESIGN approaches programming with a focus on clear explanations and practice - two critical factors in mastering the Java language. Straightforward language is used to explain the reasoning behind each new concept, and numerous examples and exercises allow readers to practice solving problems and writing code. This new edition is fully compliant with the latest version of Java, and includes updated programming exercises and programs.


    Sams Teach Yourself JavaScript in 21 Days - Jonathan A. Watt, Andrew H. Watt, Jinjer Simon

    Sams Teach Yourself JavaScript in 21 Days
                           - Jonathan A. Watt, Andrew H. Watt, Jinjer Simon



    The aim of Sams Teach Yourself JavaScript in 21 Days is to tutor the Web-literate novice JavaScripter through to a high level of competency in applying JavaScript to Web pages.
    In addition to core uses of client-side JavaScript, Sams Teach Yourself JavaScript in 21 Days also covers emerging topics such as the use of JavaScript with PDFs and the scripting of Scalable Vector Graphics (SVG).
    The key principles taught throughout the book are backed up with clear and useful examples. This enables the reader to easily apply what theyƂ¿ve learned with confidence in order to meet their own coding needs.




    Networking, A Beginner's Guide, Fifth Edition - Bruce Hallberg

    Networking, A Beginner's Guide, Fifth Edition 
                                                                               - Bruce Hallberg

    Java Programming From Problem Analysis to Program Design 5th Edition 
                           - D. S. Malik




    Designed for the beginning programming student, this book will motivate learners while teaching fundamental programming concepts. Based on years of classroom testing, this fifth edition of JAVA™ PROGRAMMING: FROM PROBLEM ANALYSIS TO PROGRAM DESIGN approaches programming with a focus on clear explanations and practice - two critical factors in mastering the Java language. Straightforward language is used to explain the reasoning behind each new concept, and numerous examples and exercises allow readers to practice solving problems and writing code. This new edition is fully compliant with the latest version of Java, and includes updated programming exercises and programs.


    Sunday, 23 October 2011

    Data Structures and Algorithms in Java - Robert Lafore

    Data Structures and Algorithms in Java 
                                                                         - Robert Lafore


    Data Structures and Algorithms in Java, Second Edition is designed to be easy to read and understand although the topic itself is complicated. Algorithms are the procedures that software programs use to manipulate data structures. Besides clear and simple example programs, the author includes a workshop as a small demonstration program executable on a Web browser. The programs demonstrate in graphical form what data structures look like and how they operate. In the second edition, the program is rewritten to improve operation and clarify the algorithms, the example programs are revised to work with the latest version of the Java JDK, and questions and exercises will be added at the end of each chapter making the book even more useful.

    Friday, 14 October 2011

    Apache Server 2 Bible guide

    Addson programmer's guide for java

    SAMS Teach Yourself Programming with Java in 24 Hours free ebook pdf



    If you have been wanting to learn Java, check out the newly revised fourth edition of the best-seller Sams Teach Yourself Programming with Java in 24 Hours this a free ebook pdf which will help you to learn java easily. This step-by-step tutorial will teach you how to create simple Java programs and applets. Comprised of 24 one-hour lessons, this new edition focuses on key programming concepts and essential Java basics, has been improved by dozens of reader comments, and is reorganized to better cover the latest developments in Java. The book's coverage of core Java programming topics has also been expanded
    Download

    Java Black Book by Steven Holzner free ebook



    This is a free ebook of Java Black Book by Steven Holzner which is must read book for software engineers to learn the concepts of java programming. This revised edition of the top selling Java book by Paraglyph Press has been updated to reflect changes available in the latest version of Java including drag and drop, security enhancements, the new applet deployment enhancements, and the new Java Naming and Directory Interface. This in-depth guide also includes new features such as the new Java sound API and its use in both applications and applets, plus expanded coverage of Java´s JDBC data access capabilities. This book is a great reference tool-jam-packed with easily accessible information. It provides programming tips on a variety of topics including variables, arrays, and operators; conditionals and loops; object-oriented programming; inheritance and inner classes; and packages and interfaces. Also includes Swing user interface coverage updated to reflect new classes and enhancements as well as labels, buttons, choosers, lists, combo boxes, progress bars, sliders, pluggable look and feel, and much more.
    Download
    Related Posts Plugin for WordPress, Blogger...