Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7868129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:54:14+00:00 2026-06-03T00:54:14+00:00

I want to modify an existing java shopping cart app to make it work

  • 0

I want to modify an existing java shopping cart app to make it work with a nosql database like Amazon Dynamo DB or Mongo DB… But the traditional MySQL db is a relational db- it has composite keys/primary/foreign keys– In contrast, in Amazon Dynamo DB there is either a single primary key, or a composite primary key comprised of 2 fields…

I have the detailed data model of the relational database…Now how do I go about converting it so that I have a database in Amazon Dynamo DB that is able to make the app work with Dynamo DB(i.e. no Sql database)? Are there any best practices/precautions that have to be kept in mind when doing this? Will this involve lot of work rewriting the application code as well? or can i handle all changes at database level itself, without modifying app’s logic?
Also, is there any tool that does most/large part of this work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:54:16+00:00Added an answer on June 3, 2026 at 12:54 am

    There is no automated way for this. NoSQL databases like MongoDB do not map data structures in the same way as MySQL. There are different performance characteristics and different ways how you can store data. In some cases you’d coalesce two SQL tables into one collection where you simply include the joined data in the same document.

    How and when you’d do that, all depends on how you logically would group data, but just as much on the sort of workload you’re putting on your data. For example, for heavy reads and little writes, you might store the data differently than in the case where you have heavy writes and a few reads.

    Besides having to redo the interface from your application to the database, you will also have to re-architecture your data model. That’s going to be as much work as designing your SQL structure and it works best not thinking of how you would do it in SQL. NoSQL vs SQL are two totally different beasts, which needs to be treated just as different!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I writing a dynamic HTML parsers functionality. I will want to modify existing parsers
I want to modify the existing Android demo application 3D Rubik cube that uses
I want to modify a connection string that's hard-coded in a Java application (jar
I want to modify an existing Perforce label using a script that I can
I need to modify an existing Perl program. I want to pipe a string
I want to know I can dynamically modify an existing Crystal Report (using C#
I want to modify an existing XML-File. I used a DataSet to load the
How can I modify an existing *.gem file? I want to modify a Rakefile
I want to modify an Eclipse workspace programatically from within a plugin (adding existing
I want to modify an existing mask for further use in my code according

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.