The first project:
JSF 2.0 Mojarra, MySQL, Hibernate  JPA using JTA, Glassfish 3.0, REST,  SOAP, Primefaces 2.2, AJAX, JUnit  4.3, EJB 3.0, developed in NetBeans.
JRE 6.x : http://www.java.com/en/download/manual.jsp
JDK 7.x : http://www.oracle.com/technetwork/java/javase/downloads/index.html
Glassfish v3.x : http://glassfish.java.net/public/downloadsindex.html#top
MySql v5.x : http://dev.mysql.com/downloads/
NetBeans v7.x : http://netbeans.org/downloads/
Overcast theme for Primefaces: http://repository.primefaces.org/org/primefaces/themes/
JSF, AJAX, Primefaces, JUnit, Hibernate, EJB, REST, SOAP are all included in the above.
I will take a top  down approach.  We have a finished application that incorporates the  features above.  We will explore each subject and cross reference them to  the files or parts that are relevant. Any area you see the ... symbol will  simply be where I modified the file and removed the code for brevity.   You can see the whole context by downloading the source code and  reviewing the files.
The easiest way to navigate  through the tutorial will be to use the navigation buttons at the bottom of each post for Next, Previous, and Index.  The Index will take you to the Project 1 Table of Contents page  under the PAGES heading.  I will not be posting the topics in the order  of the Table of Contents, so if you wish to follow a more logical flow,  or wish to view a particular topic, you should use the TOC and link to the finished posts.  There is also a blog search that you scan for a term and give links back to the documents that discuss it. 
Although I  will try and be as thorough as I can, this is not a replacement for the  many wonderful books out there.  This is simply a place to tie it all  together.  It is left to you the reader to go and review the rest of the  topic.  I also will not be giving instruction on where to download or how to install the component pieces.  (i.e. Glassfish, MySQL, etc.)  Although I will demonstrate how to configure them.
For the sake of brevity, if I discuss a topic  in one place, I will not code it in another unless, I already did so and  didn't want to remove the code, it annoyed me not to code it, or I was  forced to do it to get the task completed.  Therefor, be advised that  the code is explicitly written to demonstrate the topics at hand and not  to be complete throughout.  i.e.  In a production environment, javadocs  should be completed, or the EntityFacades would have all the  functionality, etc.  These and many other areas are intentionally not  done.
 
 
No comments:
Post a Comment