FJ-26 icon

MVC Workshop with Hibernate and JSF

For advanceds students who has already a good experience with Java and Web applications. FJ-26 serves like a complementing to introduce more advanced topics and allows the students reach the necessary productivity to develop a complex web application.

FJ::26 - Workshop of MVC with Hibernate and JSF to Web(40 hours)


Requirements: FJ::21 or : MVC, JSP, basic JSTL, basic Hibernate, basic java 5, dao and factory patterns

IDE and others tools used on course

logo eclipe logo hibernate logo tomcat jfreechart logo logo hsql mysql logo myfaces logo apachederby logo jasperreports logo

We will build a complete expenses control web application in only 40 hours, initially using Apache Derby as the database, and then migrating to MySQL.

For java developers that wish to get a more advanced , like Reflection, Generics, Anotations, Design Patterns, MVC, this is the course that will make the difference! For example, the students will develop a single generic DAO that will be used for all our entities, through reflection and generics.

The application to be developed consists in a database access layer with tables, cache, Criteria usage, reports in pdf, 3D charts, validation, inversion of control, a log system and complex forms full of javascript and ajax through JSF components.


Contents

  1. Apache Derby - EmbeddedDriver, SquirrelSQL
  2. Hibernate 3.2 - anotations, session, EntityManager, SchemaExport
  3. Creating our model - Employer, Supplies, Expense
  4. Important Details - sessions, lazyness, schema
  5. DAO - generic dao with java 5, others options
  6. Criteria API - Criterions, Projections, ResultTransformers, Joins, native queries
  7. HQL - Queries like the Criteria
  8. Relations - ordered, lazyness, associations tables
  9. Important Details - Statistics, SchemaUpdate, Connection Pool, Second level cache
  10. Creating a Web project - Tomcat, Amateras, configurations, MyFaces JSF
  11. JavaServer Faces - movimentation, components
  12. Managed Beans
  13. A little bit of theory - life cycle, component tree
  14. Business logic
  15. Navegation - outcomes
  16. Components
  17. Validation - Error messages, validators
  18. Internationalization
  19. Tomahawk - new components
  20. completing the view layer of our application - panes, combo box, lists and dataList
  21. Integration with hibernate - open session in view, ThreadLocal, migrating to MySQL
  22. Modifing the business logic to use the DAOs
  23. AJAX - calling our dao by a XML request with javascript
  24. Charts with JFreeChart
  25. appendix A: Lucene (optional)
  26. appendix B: the new frameworks on JBoss Seam and Apache Shale (optional)