Monday, February 11, 2013

Sample Apps: Spring data MongoDB and JSF Integration tutorial (PART 1)

In this year, I will start a new series of “Sample application Tutorials”. In this series of tutorial, a sample case study application will be built with different technologies. In this tutorial, sample JSF application with Spring Data MongoDB will be covered.


Table of Contents:
1. Introduction to sample application (MongoShop Product Catalog)
2. MongoDB schema design and data preparation
3. JSF (PrimeFaces) and Spring data MongoDB Integration
4. Enquriy data with spring data repository and mongotemplate
5. Create, Edit and delete data


Introduction to sample application
(MongoShop Product Catalog)


After this tutorial, a sample application (MongoShop Product Catalog) with the following functional requirement will be built:
1. Searching product with different criteria (e.g. sku, product type, title, stc)



2. Create a new product with different category.


3. Edit selected product details


4. Delete selected product from the enquiry screen.



Presentation Layer:
JSF is used as presentation layer technology in this sample application. PrimeFaces is a one of lightweight component for enhancing the JSF UI. Frontend interaction is controlled by JSF backing bean in this layer.

Service Layer:
Spring managed singleton service object is used. Business service and application logic are written in this layer

Data Layer:
Spring data MongoDB component is used. It provides integration with the MongoDB document-oriented database. It provides MongoTemplate so that MongoDB operation could be performed easily. Moreover, Spring repository style data access layer could be easily written with spring data MongoDB.

Part 2 of the tutorial ...


17 comments:

markson said...

Result – Unlike information mining, DA does not rotate around the ID of unfamiliar examples and shrouded connections; rather, it centers around the determination of an end. data science course in pune

ExcelR Solutions said...

I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
data science

seoexpert said...

Nice Post...I have learn some new information.thanks for sharing.
ExcelR data analytics course in Pune | business analytics course | data scientist course in Pune

seoexpert said...

Such a very useful article. I have learn some new information.thanks for sharing.
data scientist course in mumbai

Manikanta said...

Such a very useful article. Very interesting to read this article. I have learn some new information.thanks for sharing. ExcelR

ExcelR Pune said...

Very nice blog here and thanks for post it.. Keep blogging...
ExcelR data science training

Data Science Courses In Mumbai said...

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
data analytics courses

Excelrsolutions said...

Nice information, valuable and excellent work, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here. data science course

Techdatasolutionsblog said...

Nice Blog Thank you for share

Data science Training in Mumbai

Techdatasolutionsblog said...

Nice Blog Thank you for share

Data science Training in Mumbai

Techdatasolutionsblog said...

Nice Blog Thank you for share

Data science Training in Mumbai

Techdatasolutionsblog said...



Very Good Information...

Data science Course in Pune


Thank You Very Much For Sharing These Nice Tips..

Techdatasolutionsblog said...



Very Good Information...

Data science Course in Pune


Thank You Very Much For Sharing These Nice Tips..

python training in vijayawada said...

This is a wonderful article, Given so much info in it, Thanks for sharing. CodeGnan offers courses in new technologies and makes sure students understand the flow of work from each and every perspective in a Real-Time environmen python training in vijayawada. , data scince training in vijayawada . , java training in vijayawada. ,

Priyanka said...

Attend The Business Analytics Courses From ExcelR. Practical Business Analytics Courses Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Data Analytics Courses.
ExcelR Business Analytics Courses
Data Science Interview Questions

Data Science Course said...

Impressive! I finally found great post here. Nice article on data science . It's really a nice experience to read your post. Thanks for sharing your innovative ideas to our vision.
Data Science Course Training in Bangalore

Unknown said...

The information provided on the site is informative. Looking forward more such blogs. Thanks for sharing .
Artificial Inteligence course in Faridabad
AI Course in Faridabad