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

Tuesday, July 22, 2008

Aspect-Oriented Programming with AspectJ














Aspect-Oriented Programming with AspectJ


In a November 2001 Java Pro magazine article, noted Java pundit Daniel Savarese states, "The days of Object-Oriented Programming may be numbered, One day we may all be using Aspect-Oriented Programming ." While this may be hyperbole, the AOP bring certain needed improvements to the OOP. AspectJ is a Java-based tool that allows developers to apply standard Java syntax to AOP principles, much as C allowed C programmers to use C syntax in an object-oriented manner. There are AspectJ add-ons available for Borland's JBuilder, Sun's Forte for Java and for the EMACS text editor. Aspect-Oriented Programming with AspectJ introduces AOP and the AspectJ tool. The book also shows how, by using existing Java programming knowledge, the developer can use AOP in meaningful development work.

Sunday, July 13, 2008

O'Reilly Java Swing














O'Reilly Java Swing

Java Swing, long regarded as the authoritative book on using the Swing classes, is available in a new edition that builds on a solid foundation in exploring the Java 2 Swing additions and modifications. This is a big, tremendously detailed, exhaustively researched, and ultimately authoritative reference that pushes the limits of what a book can do toward eliminating the necessity of writing experimental programs to see how Swing classes work in practice. You'll find in these pages bits of software that show how most of Swing works: all of the major features get lavish attention, while most of the minor classes are demonstrated adequately, as well.
You could probably find demonstrations free of charge on the Internet, however. The true value of this work is in the comments its five authors have attached to their copious examples. They can be quite specific: at least one such segment warns that default Swing behavior violates Mac OS X user interface guidelines and explains how to work around the problem. Another section explains how the methods of the UndoableEdit class can be used in various ways, to implement different user interface behavior options. Some readers will head straight to the O'Reilly Web site, where they can grab the code and examine it in an editor rather than in print--code listings take up a lot of space here--but everyone will appreciate the concise hierarchy, method, and property documentation, as well as the wisdom contained in the prose.

Next Generation Java Testing: Testing and Advanced Concepts














Next Generation Java Testing: Testing and Advanced Concepts


Enterprise Java developers must achieve broader, deeper test coverage, going beyond unit testing to implement functional and integration testing with systematic acceptance. Next Generation Java™ Testing introduces breakthrough Java testing techniques and TestNG, a powerful open source Java testing platform.

Cédric Beust, TestNG's creator, and leading Java developer Hani Suleiman, present powerful, flexible testing patterns that will work with virtually any testing tool, framework, or language. They show how to leverage key Java platform improvements designed to facilitate effective testing, such as dependency injection and mock objects. They also thoroughly introduce TestNG, demonstrating how it overcomes the limitations of older frameworks and enables new techniques, making it far easier to test today's complex software systems.

Pragmatic and results-focused, Next Generation Java™ Testing will help Java developers build more robust code for today's mission-critical environments.

This book

  • Illuminates the tradeoffs associated with testing, so you can make better decisions about what and how to test
  • Introduces TestNG, explains its goals and features, and shows how to apply them in real-world environments
  • Shows how to integrate TestNG with your existing code, development frameworks, and software libraries
  • Demonstrates how to test crucial code features, such as encapsulation, state sharing, scopes, and thread safety
  • Shows how to test application elements, including JavaEE APIs, databases, Web pages, and XML files
  • Presents advanced techniques: testing partial failures, factories, dependent testing, remote invocation, cluster-based test farms, and more
  • Walks through installing and using TestNG plug-ins for Eclipse, and IDEA
  • Contains extensive code examples

Whether you use TestNG, JUnit, or another testing framework, the testing design patterns presented in this book will show you how to improve your tests by giving you concrete advice on how to make your code and your design more testable.








Jdbc Java Database Connectivity














Jdbc Java Database Connectivity

This valuable guide provides both the academic side--designing databases--and the practical side--coding interfaces--of enterprise applications involving JDBC. Van Haecke goes into much detail on designing database applications, a process he calls identifying the "business logic" of a program. He talks a little bit about three-tier database design (though dbAnywhere and similar programs get glossed over) and discusses CORBA from a conceptual point of view. Van Haecke also covers Remote Method Invocation (RMI) and security in more depth than most books offer; the automotive-flavored sample application included for RMI is hardly typical of the usual dry fare employed to explain the subject. Van Haecke, a Sun Microsystems consultant, shines when he explains complicated database topics. This book includes a great discussion of serving multimedia from a database, including a complete sample application for that purpose. All the source code appears on the companion CD-ROM along with Bongo 1.0, JDK 1.1.1, and some other tools. If you already have a decent grasp of JDBC and want guidance through the hairier aspects of Java database work, this is the book for you.

Java Web Services in a Nutshell














Java Web Services in a Nutshell

Java Web Services in a Nutshell is a high-speed tutorial and a quick reference for the technologies that Sun Microsystems is creating for implementing web services with Java. This book is a succinct introduction and handy reference to the Java/XML APIs, more commonly known as the JWSDP or "Java Web Services Development Pack." These APIs are taking the Java world by storm, as they are capable of handling everything from simple XML to SOAP to full ebXML vocabularies. Although "web services" technology has suffered from much hype and overly grand expectations, there is plenty of solid development going on, especially in extending enterprise applications, and a huge amount of this development is being done in Java. As a result, the J2EE APIs for web services are evolving rapidly, and this new "in a Nutshell" book covers them all in depth. One of the most important APIs in the JWSDP is JAX-RPC (Java API for XML-based RPC). It's also the API that developers most consistently post questions about. Java Web Services in a Nutshell covers all aspects of JAX-RPC in detail, with tutorial coverage alone exceeding 150 pages. This book offers developers everything they need to program with JAX-RPC. Java Web Services in a Nutshell begins with an introduction to Java web services, including a discussion of how they differ from web applications. The author looks at the protocols and interfaces that underpin web services, the J2EE technologies that address web services, WSDL as the means for describe web services, and more. Subsequent chapters cover:


  • JAX-RPC
  • SOAP and the SOAP with Attachments API for Java (SAAJ)
  • Reliable SOAP messaging with JAXM
  • WSDL
  • Advanced JAX-RPC
  • JAXR, the XML-based registry API
  • Web Services Tools


The balance of the book is made up of an API Quick Reference containing documentation for the various API packages. Intended for Java developers who need to implement Java services or who need their applications to access existing web services, Java Web Services in a Nutshell delivers practical information to help developers make sense of the rapidly changing and poorly organized official documentation. If web services and Enterprise Java are any part of your job description -- of if you'd like them to be -- you'll want this book close beside as you work.






Java Threads, Second Edition














Java Threads, Second Edition

Building sophisticated Java applets means learning about threading--if you need to read data from a network, for example, you can't afford to let a delay in its delivery lock up your entire applet. Java Threads introduces the Java threading API and uses non-computing analogies--such as scenarios involving bank tellers--to explain the need for synchronization and the dangers of deadlock. Scott Oaks and Henry Wong follow up their high-level examples with more detailed discussions on building a thread scheduler in Java, dealing with advanced synchronization issues, and handling exceptions.






Java Secrets (Secrets S.)













Java Secrets (Secrets S.)


Java is generally a well-documented language, but not every language feature is fully specified, documented, or identical across all platforms. Java Secrets takes you into this Java twilight zone and introduces you to the language's hidden power. The book's first section explores the inner workings of many Java mechanisms, including representation of data types in memory, argument passing, and the implementation of strings and arrays. The author also investigates niceties of threading models and garbage collection as implemented on different Java platforms.

A large group of undocumented classes (the sun.* packages) constitute what amounts to an undocumented Java application programming interface (API). The next large section of Java Secrets details these classes and how to use them safely. Although these classes ostensibly exist to support the Java environment, you'll learn how to use many of their interfaces for a variety of tasks including layout management; FTP, HTTP, mail, and news communication; data encoding; and character conversion. A final big chunk of the book is devoted to techniques for adding platform-dependent features to Java applications. This is a controversial subject for a supposedly platform-independent programming system, but the author provides a balanced assessment of the benefits and drawbacks.

All in all, this is one of the most interesting, unusual, and engagingly written books on Java programming we've seen. It's hard to imagine a serious Java programmer who wouldn't find it well worth his or her time.

Saturday, July 12, 2008

Java Programming for the Absolute Beginner














Java Programming for the Absolute Beginner

Java is an object-oriented language that is extremely popular with programmers and Web developers. This beginner-level book teaches readers the fundamental programming concepts they need to grasp in order to learn any computer language. The unique approach covers the versatility and extensibility of Java using game creation as a teaching tool. The author starts with the basics of Java, assuming that the reader is truly a beginner with no programming experience. This non-intimidating guide to Java will be a welcome addition to the library of any aspiring programmer.

Java Pocket Guide (Pocket Guides)














Java Pocket Guide (Pocket Guides)

Java Open Source Programming: with XDoclet, JUnit, WebWork, Hibernate














Java Open Source Programming: with XDoclet, JUnit, WebWork, Hibernate

The Java language itself is not strictly open-source (Sun has held onto control, albeit with lots of public input). There is, however, a large open-source development community around this highly capable language. Java Open Source Programming describes and provides tutorials on some of the most interesting public Java projects, and is designed to enable a Java programmer (who's worked through the basic language's initial learning curve) to take on more ambitious assignments. The authors generally treat the covered open-source packages as resources to be used, rather than projects to be contributed to, and so it's fair to think of this volume as the "missing manual" for downloaded code. In that spirit, the authors devote many sections to "how to" subjects (addressing, for example, a good way to retrieve stored objects from a database and the procedure for calling an action in XWork).

Java Open Source Programming takes a bit of a risk by devoting a lot of space to the development of a complex application (an online pet shop), as such a didactic strategy can be hard to follow. The authors pull it off, though, and manage to show that their covered technologies can be used to create a feature-rich and robust application that uses the versatile model-view-controller (MVC) pattern. This book will suit you well if you're planning an MVC Java project and want to take advantage of open-source packages. --David Wall

Topics covered: The most popular open-source Java packages, particularly those concerned with Web applications and the model-view-controller (MVC) pattern. Specific packages covered include JUnit and Mocks (code testing), Hibernate (persistent storage of objects in databases), WebWork (MVC), SiteMesh (Web page layout), Lucene (site searching), and WebDoclet (configuration file generation).

Java Network Programming, Third Edition














Java Network Programming, Third Edition

Thoroughly revised to cover all the 100+ significant updates to Java Developers Kit (JDK) 1.5, Java Network Programming is a complete introduction to developing network programs (both applets and applications) using Java, covering everything from networking fundamentals to remote method invocation (RMI). It includes chapters on TCP and UDP sockets, multicasting protocol and content handlers, servlets, and the new I/O API. This is the essential resource for any serious Java developer.

Java In A Nutshell, Fifth Edition














Java In A Nutshell, Fifth Edition

With more than 700,000 copies sold to date, Java in a Nutshell from O'Reilly is clearly the favorite resource amongst the legion of developers and programmers using Java technology. And now, with the release of the 5.0 version of Java, O'Reilly has given the book that defined the "in a Nutshell" category another impressive tune-up. In this latest revision, readers will find Java in a Nutshell, 5th Edition does more than just cover the extensive changes implicit in 5.0, the newest version of Java. It's undergone a complete makeover-- in scope, size, and type of coverage--in order to more closely meet the needs to the modern Java programmer.

To wit, Java in a Nutshell, 5th Edition now places less emphasis on coming to Java from C and C++, and adds more discussion on tools and frameworks. It also offers new code examples to illustrate the working of APIs, and, of course, extensive coverage of Java 5.0. But faithful readers take comfort: it still hasn't lost any of its core elements that made it such a classic to begin with.

This handy reference gets right to the heart of the program with an accelerated introduction to the Java programming language and its key APIs--ideal for developers wishing to start writing code right away. And, as was the case in previous editions, Java in a Nutshell, 5th Edition is once again chock-full of poignant tips, techniques, examples, and practical advice.

For as long as Java has existed, Java in a Nutshell has helped developers maximize the capabilities of the program's newest versions. And this latest edition is no different.






Java How To Program, Fourth Edition














Java How To Program, Fourth Edition

The authoritative DEITEL LIVE-CODE introduction to programming with the Java 2 Platform, Standard Edition (J2SE)

Java has revolutionized software development with multimedia-intensive, platform-independent, object-oriented code for conventional, Internet-, Intranet- and Extranet-based applications and applets. This exciting new Fourth Edition of the world's best-selling Java textbook now has a companion volume Advanced Java 2 Platform How to Program which focuses on the Java 2 Platform, Enterprise Edition (J2EE), presents advanced J2SE features and introduces the Java 2 Platform, Micro Edition (J2ME).

Dr. Harvey M. Deitel and Paul J. Deitel are the founders of Deitel & Associates, Inc., the internationally recognized corporate training and content-creation organization specializing in Java, C++, C, Visual C#, Visual Basic, Visual C++, .NET, XML, Python, Perl, Internet, Web and object technologies. The Deitels are also the authors of the world's #1 C++ textbook C++ How to Program, 3/e and many other best sellers.

In Java How to Program, Fourth Edition the Deitels introduce the fundamentals of object-oriented programming in Java. The 4th edition includes an optional 180-page case study that introduces object-oriented design with the UML

Java How to Program (6th Edition) (How to Program (Deitel))













Java How to Program (6th Edition) (How to Program (Deitel))

The Deitels' groundbreaking How to Program series offers unparalleled breadth and depth of programming concepts and intermediate-level topics for further study. The books in this series feature hundreds of complete, working programs with thousands of lines of code. This edition is completely up-to-date with The Java 2 Platform Standard Edition (J2SE) 1.5. Now includes topics such as autoboxing, enumerations, enhanced for loops, static import statements, variable-length argument lists, and much more. Presents each new concept in the context of a complete, working program, immediately followed by one or more windows showing the program's input/output dialog. Enhances the Live-Code Approach with syntax coloring. Provides Helpful Programming Tips, all marked by icons: Good Programming Practices, Common Programming Errors, Error-Prevention Tips, Performance Tips, Portability Tips, Software Engineering Observations, Look and Feel Observations. Includes CD-ROM with every book that contains JavaTM 2 Platform, Standard Edition 1.5, Netbeans, Apache Tomcat, JCreator LE version, jEdit, jGRASP, BlueJ, MySQL, source code for all the book's examples, and Hyperlinks to valuable Java demos and Internet resources. A valuable reference for programmers and anyone interested in learning the Java programming language.

Java GUI Programmers' Primer, A














Java GUI Programmers' Primer, A

This book contains an introduction to the systematic development of Graphical User Interfaces (GUIs) using the Java environment. It does not attempt to introduce the Java language and it is assumed that the reader has some familiarity with Object Oriented Development (OOD) and its practical expression in Java. Suitable resources to assist with obtaining this knowledge are given in Appendix A. However, a brief explanation of some aspects of Java will be presented where appropriate, particularly where the aspect differs significantly from C .

The Java Development Kit (JDK), also known as the Java environment, consists of a Java compiler producing Java bytecode which can be interpreted by a run time engine, for example Sun's appletviewer, to run Java programs. However the substantive part of the environment consists of the extensive collection of packages, classes and interfaces collectively known as the Java Application Programmer Interface (API). The most important part of the API, so far as this book is concerned, is the Abstract Windowing Toolkit (AWT) containing the user interface components from which GUIs are constructed.

Java Generics and Collections













Java Generics and Collections

This comprehensive guide shows you how to master the most important changes to Java since it was first released. Generics and the greatly expanded collection libraries have tremendously increased the power of Java 5 and Java 6. But they have also confused many developers who haven't known how to take advantage of these new features.

Java Generics and Collections covers everything from the most basic uses of generics to the strangest corner cases. It teaches you everything you need to know about the collections libraries, so you'll always know which collection is appropriate for any given task, and how to use it.

Topics covered include:


  • Fundamentals of generics: type parameters and generic methods
  • Other new features: boxing and unboxing, foreach loops, varargs
  • Subtyping and wildcards
  • Evolution not revolution: generic libraries with legacy clients and generic clients with legacy libraries
  • Generics and reflection
  • Design patterns for generics
  • Sets, Queues, Lists, Maps, and their implementations
  • Concurrent programming and thread safety with collections
  • Performance implications of different collections


Generics and the new collection libraries they inspired take Java to a new level. If you want to take your software development practice to a new level, this book is essential reading.






Java for Bioinformatics and Biomedical Applications














Java for Bioinformatics and Biomedical Applications






Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming













Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming

Java For Artists: The Art, Philosophy, and Science of Object-Oriented Programming is a Java programming language text/tradebook that targets beginner and intermediate Java programmers.

Friday, July 11, 2008

Java Enterprise Design Patterns: Patterns in Java














Java Enterprise Design Patterns: Patterns in Java

A how-to guide for Java programmers who want to use design patterns when developing real-world enterprise applications.

This practical book explores the subject of design patterns, or patterns that occur in the design phase of a project's life cycle. With an emphasis on Java for the enterprise, Mark Grand guides Java programmers on how to apply traditional and new patterns when designing a large enterprise application. The author clearly explains how existing patterns work with the new enterprise design patterns and demonstrates through case studies how to use design patterns in the real world. Features include over 50 design patterns, each mapped out by UML, plus an overview of UML 1.4 and how it fits in with the different phases of a project's life cycle.

Java Distributed Computing (O'Reilly Java)













Java Distributed Computing (O'Reilly Java)


This thorough guide explains how to harness the power of Java to create distributed systems, which the author defines as a group of "agents" working together across multiple systems.

In order to create distributed applications, Java programmers need to be familiar with a host of technologies and language features in Java. These include Java's networking capabilities, its threading model, CORBA, Java Remote Method Invocation (RMI), and the JDBC standard for connecting to databases. Java Distributed Computing is a step-by-step guide to all of these pieces of the puzzle, presented in a concise, usable format.

The author presents each topic in digestible increments with some illustrative Java code, including a distributed game of chess, a chat application, and a whiteboard application. Advanced chapters cover security issues and dealing with "limited bandwidth" applications (such as pagers or Web browsers). Useful appendices list the fundamentals of CORBA, RMI, and JavaSpaces to make it easy for the working developer to look them up. --Richard Dragan

Chitika

Chitika list ads

Mobile Ads