How to import this project to eclipse
- First you need to have maven installed already in your PC
- open you console and in this root project (under spring_helloword_maven folder where pom.xml is located), execute mvn eclipse:eclipse
- Open your eclipse
- Click File--> Import--> Project-->General and select Existing Project into workspace
- Select Root folder where spring_helloword_maven is located
Development Guide
- Follow Java naming convention for Class Name
- New Domain should extends BaseEntity to let you have standard PK
- New Service by extends GenericDaoHibernate and GenericDao. By this way, developer can have basic dao for CRUD
- Define error message, label in message.properties
- Point 2 and 3 to make any developer focus on his business process
Running the application
- Change file configuration.properties for database username/password
- Create Database schema by execute helloworld.sql
- No open your console, goto spring_helloword_maven folder where pom.xml is located
- execute mvn jetty:run
- point your browser http://localhost:9957/hello
You will create example test Data Sources:
a. CSV file.
b. Database.
c. API call / Java Bean.
Target Format: The generated files can be stored in a directory / sub directory or in the database as a BLOB (configurable). Here are some:
a. Pdf.
b. CSV
c. XML (if possible).