Beginning Java™ EE 6 Platform with GlassFish™ 3: From Novice to Professional

Posted by Admin on December 19th, 2009 at 08:09am

Beginning Java™ EE 6 Platform with GlassFish™ 3: From Novice to Professional

Sun’s enterprise Java™ platform, Java EE (Enterprise Edition), is getting a facelift! Beginning Java EE 6 Platform with GlassFish 3 is one of the first tutorial books on the forthcoming Java EE 6 Platform. Step–by–step and easy to follow, this book describes many of the Java EE 6 specifications and reference implementations and shows them in action using practical examples. This book uses the new version of GlassFish™ 3 to deploy and administer the code examples.
Buy Beginning Java™ EE 6 Platform with GlassFish™ 3: From Novice to Professional at Amazon

Under Webmaster

3 Comments for Beginning Java™ EE 6 Platform with GlassFish™ 3: From Novice to Professional

  • 1. Anonymous  |  December 19th, 2009 at 8:50 am

    Antonio Goncalves, if you do not know him yet, is the co-founder of the Paris JUG and is a member of the experts committees regarding the following JSRs : JSR-316 (Java EE 6), JSR-317 (JPA 2.0) et JSR-318 (EJB 3.1). This is his second book. He has been recently awarded the title of Java champion.
    Alexis Moussine-Pouchkine (GlassFish team) wrote the foreword.

    The 1st chapter enumerates a list of new features introduced in Java EE 6. An e-commerce application (CDs and books sales) is developed in the chapters. And the installation of the used softwares is described.
    The chosen application server is GlassFish v3 of course, the first one to support Java EE 6 and also the only one at the moment.

    Chapters 2 to 5 deal with the Java Persistence API (JPA), in its version 2.0. As a reminder, the JPA version in Java EE 5 is 1.0 .

    The 2nd chapter offers a small sample of persistance of an entity bean, with the help of JUnit for the tests, Maven for the compilation and the execution, Derby for the database.

    In the 3rd chapter the author explains numerous ORM annotations of the version 1.0 of the JPA but also the new annotations of the JPA 2.0 (@ElementCollection, @MapKeyColumn, …). The section on the mapping of relations between entities is well detailed and is certainly very useful for anyone who has forgotten these annotations and wishes to quickly learn them again. rapidement.

    Same thing for the 4th chapter, it is very exhaustive in its explications of the persistance. The new features of JPA 2.0 are of course introduced (second-level caching, pessimistic locking …).

    The 5th chapter also gives exhaustive explanations on callback methods and entity listeners.

    Chapters 6 to 9 focus on session beans and EJB timer services. The author shows the use of an embedded container, a new feature in the 3.1 version.

    Chapter 6 is a very short chapter which explains briefly the new features in EJB 3.1. These new features are used in the next chapters.
    A first small example shows the user of the embedded container and the JNDI lookup JNDI through a standard name.

    Chapter 7 does a description of stateless and stateful session beans, with examples.
    Session beans singletons are explained in details, with a lot of code to illustrate the features around them (initialisation, chaining, concurrence). The other features (standardized JNDI, dependency injection, asynchrones calls with session beans, embedded container, improved timer service) are also rich in examples of code.

    Nothing particular to mention about chapter 8. The author does a classical description of the lifecycles of session beans and singletons, callback methods and interceptors (chaining, exclusion).

    Chapitre 9 : Once again, a classical and exhaustive description of the 2 transaction modes (container or bean) in EJBs is done. And it also provides good explanations about security-related annotations.

    Chapitre 10 : presentation of JSF 2.0. An example shows the development of a JSF 2.0 web application using a business tier based on EJB 3.1 and a persistence layer based on JPA 2.0.

    In chapter 11, the author writes some reminders about HTML, CSS, JSP, EL and JSTL.
    Facelets are favored against JSP as PDL (Presentation Declaration Language) for JSF. The author also tells us about the JSF HTML components and shows the creation and use of components / widgets with JSF 2.0.

    Chapter 12 : a lot of explanations support the presentation of the capabilities in JSF 2.0 regarding the treatment of requests (lifecycle), the navigation, conversion and validation of data, as well as AJAX support.

    Chapter 13 : The JMS API is explained in details before the use of MDB EJBs with OpenMQ, the default messaging provider for GlassFish, and their compilation and deployment with Maven.

    Chapter 14 : Main features of Web Services (WSDL, SOAP …) are explained. The author shows the use of annotations of the JAX-WS model, according to the JSR-181 specification, for the creation and the call of web services by a consumer.

    Chapter 15 : this last chapter does not lack any interest since it introduces the new type of Web Service, RESTful.
    It is detailed using the annotations of the JAX-RS API which is part of Java EE 6.

    Conclusion : The code is available on the Apress editions website.
    I liked the educational approach of the book : in certain chapters, there is a “Putting it all together” section which makes use of the notions explained previously.

  • 2. Adair  |  December 19th, 2009 at 10:29 am

    I have perhaps almost 200 books on computer programming and IT (I began programming in 1962). Rarely have I seen a book that is as clear and concise as this one. Goncalves gives a deep and thorough introduction to each of the main topics. His writing style is excellent prose and easy to follow. If his future books are as valuable as this one, I’ll place him among the ten best programming technology writers we have today. I look forward to his next book.

  • 3. Ketill  |  December 19th, 2009 at 11:20 am

    This book gives you a very good intro on all aspects of latest Java enterprise tools/technology.Points are very clear and samples are easy to follow. I hope this author will write another book titled “Advanced Java EE6 Platform”.

Leave a Comment for Beginning Java™ EE 6 Platform with GlassFish™ 3: From Novice to Professional

Required

Required, hidden

Trackback this post  |  Subscribe to the comments via RSS Feed


Recent Blog Posts

Categories

Posts by Month

Blogroll