DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Coding
  3. Frameworks
  4. Learning Spring A Sample Invoice Application Using Various Tools

Learning Spring A Sample Invoice Application Using Various Tools

Satish Ab user avatar by
Satish Ab
·
Oct. 17, 12 · Interview
Like (0)
Save
Tweet
Share
11.34K Views

Join the DZone community and get the full member experience.

Join For Free

As part of learning Spring framework, I started making a simple invoice application using Spring Framework components, Spring MVC, Spring Security, Spring data and various other tools like Query DSL, Maven, Ext JS/Charts, Cloud foundry to implement and deploy the application. Application is posted to github for your reference.

Sample Invoice application allows, to create users/customers/vendors, create products, create purchase orders, create sales orders, and allows to display basic charts of sales/purchases over a period of time.

In this tutorial I like to explain different parts/tiers of the application. Following is the list of posts explaining different tiers of application structure.

Configuring Sample Invoice Spring Application - Maven & Application Configuration
This post focuses on bootstrapping the spring application. Details about maven dependencies for the Spring Framework, Hibernate, Query DSL and other dependencies are discussed. And also explains about configuration details for Spring Framework, Spring MVC, Spring Data/Hibernate and Spring Security.

Persistence Layer with Hibernate, Spring Data JPA and Query DSL
This post talks about persistent details of application like, data model, JPA/Hibernate entities & relations, Spring Data JPA introduction & the Spring Data repositories and Query DSL querying usages.

Web Layer using Spring MVC and Services
This post describes application web layer and details about Spring MVC & various web controllers used in the application. Also describes the view technology used in the application, various spring framework annotations used like @service and the trace interceptor used for logging purposes.

Securing web application with Spring Security ajax form based authentication
This post talks about configuring and securing the application using Spring Security with form based authentication. Also details about configuration details of Spring Security for supporting AJAX based login.

ExtJS Forms, Grids & Charts for Web UI
This post describes about the application Web UI. JSP & EXTJS are used extensively to develop the Web UI. All the forms, grids, and various charts are implemented using EXT JS and all these details will be discussed in this post.

Deploying application to cloud foundry
Cloudfoundry by VmWare provides very easy way of deploying the application to the cloud.

Cloudfoundry has an excellent article detailing about each and every step to create, deploy, install and operate on the services in cloud. Please check here for the documentation. This post details the steps involved for deploying the application to cloud foundry, cloud service by VmWare. Also describes about the newly introduced tunnelling service for connecting to the database service defined in the cloud.

Wrapup:
This prototype application has enabled me in learning an end-to-end use case development of a web application using Spring technologies, integration of EXTJS with Spring MVC and finally deploying an application in cloud using Cloudfoundry.

Spring Framework application

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • GPT-3 Playground: The AI That Can Write for You
  • Agile Scrum and the New Way of Work in 2023
  • Implementing Infinite Scroll in jOOQ
  • Learning by Doing: An HTTP API With Rust

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: