Question: create a file named jfm 3 3 5 . properties with a single line: validateuserstrategy.property = where is the fully qualified implementation class ( i

create a file named jfm335.properties with a single line:
validateuserstrategy.property=
where is the fully qualified implementation class (i.e. edu.jfm.[StrictValidateUserStrategy | ModerateValidateUserStrategy | NullValidateUserStrategy].
The Factory (call it ValidateUserFactory) should read in this property file, create an instance of an object of the classname type it reads in, and will return that to the caller (the main body of JFM)
If the Factory fails to create a strategy object from the properties file due to an error (e.g. cannot find the property file) or any other reason, have it choose the most appropriate implementation class from #2 above to use as a default (which one is based on one of your security architecture principles, review!)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!