Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

answer need in JAVA8. Don't need briefly explain.kindly give proper code You are writing a new service for your e-commerce site. Your task is to

image text in transcribed

image text in transcribed

answer need in JAVA8. Don't need briefly explain.kindly give proper code

You are writing a new service for your e-commerce site. Your task is to write a Spring Framework configuration class. The class that you need to create will be called systemConfig. All required classes have already been imported for you. You are working with the Spring Framework version 5.1.8 and Java 8. Requirements 1. Make it a Spring Framework Java-based Container configuration class. 2. Create a usersRepository bean. It has a no args constructor. Additionally, you should make sure that the method UsersRepository. inttia11ze() is called right after construction of the bean. 3. Create a LegacypaymentsService bean. It has a no args constructor. It should be available under the name paymentsservice. 4. Enable auto-scanning for beans in the com codi11ty. utils package. 2. Create a usersRepository bean. It has a no args constructor. Additionally, you should make sure that the method UsersRepository. initialize() is called right after construction of the bean. 3. Create a LegacyPaymentsservice bean. It has a no args constructor. It should be available under the name paymentsservice. 4. Enable auto-scanning for beans in the com. codility, utils package. 5. The application contains another configuration class that has already been prepared: MaintenanceConfig. However, it's not being picked up by the Spring Context. You should make sure its beans are also created by configuring the systemiconfig class appropriately. 6. Ensure that properties defined in the production properties file are available in the Spring Context. If you would like to solve the task locally you can use this pom, x l file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

Explain all drawbacks of the application procedure.

Answered: 1 week ago

Question

Determine Leading or Lagging Power Factor in Python.

Answered: 1 week ago

Question

2. What is the business value of security and control?

Answered: 1 week ago