Configuring end to end to web application using Java Server Faces, Spring, Hibernate and MySQL
Java Server Faces:
JSF can be used for UI layer. The configuration file used is jfaces-config.xml. Here we can define the navigation rules for the JSP files. Easy to access to spring beans by writing the backingbean, this can be directly access thru jsp.
Spring Layer
Spring can be used as business layer, service layer and db layer. The configuration file used is applicationContext.xml. Service layer can call the dao layers for direct JDBC calls / hibernate calls.
ORM Layer
Hibernate – orm layer, for all the objects. DAO layer used for all the data access.(*.hbm.xml for any database tables)
Database Layer
The configuration required for MySQL, in spring context, (applicationContext.xml). We can define an properties file, which has all the database information.
Digital Library
Digital library for IT Professionals :
http://nexus.realtimepublishers.com/
Groovy – First steps
This article will explain the download, install of Groovy and executing “hello World” program in Groovy..
1. Download Groovy
Jar Finder
There is a search engine to find the jar names of a given class. The common problem of Class not found exception can be resolved quickly.
You can give the class name, this website will give the jar file name. If the class file exists in onre or more jar files, it will list all the jar file names.
Leave a Comment
Leave a Comment
Leave a Comment