Abstract Customer Loyalty Selection is a widely known publicizing technique nowadays. In the wake of picking a victor from the game, the association is providing prizes concerning the assurance requirements. It's a game that's been around for a long time. Previously, most associations used a get-together-shaped compartment that contained the names of the up-and-comers. Then, during the assurance event, a facilitator or a revealing individual summons a person to select a name from the compartment. By then, the chosen name will have won the event. With the advancement of modern-day development, the Winner Selection criteria of the associations have also been pushed toward becoming systemized robotized. In contrast to traditional events, most associations use such a program to select a winner among the candidates. The disadvantages of such classic winner selections are as follows: • It is expensive to develop a platform for the selection event. • If those events occur on a regular basis, the cost increases in proportion to the number of times they occur. Because of such issues, most businesses are shifting away from traditional selection methods and toward automated systems. By far the majority of associations are shifting to this type of portal because: • It can be easily streamed live. • Choosing a winner through an automated system is secure and safe. • It is less expensive than traditional winner selection. Because it is extremely expensive to organize such an event. • The application's reusability. Keywords: Loyalty Selection, Desktop Application, Winner Selection, Java application, Desktop-Based. Acknowledgement This project would not have been possible without the assistance of my supervisor, "Mr Chandima Bandara." So, first and foremost, I'd like to take this opportunity to thank my supervisor for his encouragement and help over the preparation of this thesis. His suggestions and encouragement were extremely helpful in writing this research, as well as in all aspects of my project. I am also grateful to “Mrs Dakshika Dissanayaka.” I am extremely grateful and indebted to her for sharing her experience, as well as his genuine and useful advice and encouragement. Next, I want to express my gratitude to my parents, family members, and colleagues, all of whom contributed significantly to the success of this project. Dedication Table of Contents 1.0 Introduction I will provide a summary of the project in this chapter along with the project context. Project goals and project objectives, as well as project functions, are properly defined as non-functional project components. A chapter is also available Describe the project audience as well. Moreover, the scope in this section the project is also defined. 1.1 Project Background "Star City" is a general store with locations in Sri Lanka. The company will have a prize for its clients during the forthcoming Christmas season. The previous year's draws were completed manually. With the majority of the enterprise and up scaling being visible in terms of concern, the management area relevant to playing managerial sectors requires a control operation set up to avoid complications and proficiency. As a result, they intend to automate the drawing system. According to the above condition, the managing director of "Star City" asked that an application be developed to perform the role. Since the proposed application would be spread through several desktop machines within the shop, it was critical to design the application as a distributed application rather than a stand-alone application. As a result, the planned program has both a client-side and a server-side. As a result, the application was created using RMI architecture techniques. The application's basic requirement is to choose a winner from among the consumers who paid a bill in excess of a certain amount, and that customer must also complete the survey provided by the proposed method. 1.2 Project Aim and Project Specific Features 1.2.1 Project Aim and Objectives The project's objectives are as follows. • Using the analyzed data and information, implement an algorithm to find the perfect winner from all competitors. The proposed framework would use a special calculation to determine the fair winner from each and every chosen competitor based on the database esteems. In addition, the victor choice calculation will be implemented as the exploration zone of the proposed framework. • To create software that allows the organization's administrator, rather than the developer, to change database values. The current existing frameworks on the market have hard corded information esteems and each of them should only pick a one-of-a-kind number from a grave rundown. In any case, the proposed framework would select the winner based on the most astonishing imprints gathered from the applicants. Furthermore, the proposed framework enables the client to embed, delete, and update queries, as well as all database values. • To create software capable of selecting more than one winner at a time. Regarding the customer's requirement, the proposed framework is capable of selecting more than one victor from all of the chosen up-and-comers and informing them via email message to the chosen champs. The proposed Java-based desktop application includes several specific features that the client requested. These one-of-a-kind features would address the problems that the client encountered while using the traditional framework. For your convenience, certain system-specific features will be attached below. aaaaa 1.3 Target Audience and Motivation 1.3.1 Motivation With the advancement of software and robotics, everything in the world is becoming more automated. The proposed project idea evolved into a software solution in response to the client's needs. These factors can be referred to as the motives for proposing this form of application. 1.3.1 Who is the intended audience? Customers who have made a bill payment in excess of a certain amount specified by "Star City's" may be identified as the intended audience for the proposed desktop-based application. 1.4 Project Scope The proposed project will be carried out in accordance with the client's specifications. So, for the proposed project, the criteria will be gathered as to the primary data collection, and 4 of the staff members will be chosen to collect data during since the pandemic is ongoing, we are strictly following the health guideline so we collected survey data using google survey (send the survey link to customer mobile). Because the system has a single serverside machine and distributed client-side machines, it is critical to learn more about existing systems. Two existing systems were discovered during the preliminary analysis (Raffle fundraiser, ZillyWin). The requirements will be divided into two categories. For instance, 1. server-side requirement gathering The high center is moving under the basic functionalities of this social affair arrangement. the suggested framework 2. A social event is needed on the client side. At this stage, the entire UI framework will be validated. The effort functionalities are the times where the client makes a large bill, and the client is then a possibility for the decision system. The customer can sign in to the system using the bill number from the client-side computer, which is handled in each branch. When customers sign in, the device will reflect some broad request and, depending on the appropriate responses, a couple of engravings will circulate to all of them. When the time limit expires, the automated structure selects a winner from among all of the contenders, and the device sends an email to regrind the coveted honors. 1.5 Content of the Report This final report of the proposed desktop application includes the following described contents. • Introduction • Literature review • Project Plan • Methodology • Testing and Results • Evaluation and Deployment • Conclusion • Appendices 1.5.1 Introduction The report's introduction portion will include a summary of the project as well as the project context. The goals of the project, priorities of the project, and functional and nonfunctional features of the project will all be properly described. There is also a chapter that describes the project's target audience in depth. Furthermore, the scope of the project will be defined in the report's introduction. 1.5.2 Literature Review The project's literature review will provide information about similar systems and their characteristics, as well as the tools and technology used to build those existing systems. A gap detection table will be used to compare those existing systems to the proposed desktop application. In addition, the report's literature review would provide information about the report's secondary data collection. The secondary data for the proposed application was gathered by reading scholar papers. 1.5.3 Artifact Preparation The strategies used to ensure the project's progress will be discussed in the project planning chapter. Information about the project timetable, for example, will be given in this section. 1.5.4 Methodology This chapter will go into the methods used to design the system, as well as how and stage of the software development life cycle (SDLC) was involved with the proposed system. Information about requirement gathering, design, and implementation, as well as each level, will be described. 1.5.5 Evaluation and Results This is an important section of the study. Furthermore, information on how the system was tested, testing procedures used to test the system, proof results of the test cases, and screenshots will be attached for reference. 1.5.7 Conclusion This is the report's concluding segment. It will include the advantages available from the current project, the project's limitations, as well as future improvements and events. 1.5.8 Appendices This is an excellent place to provide additional system-related details and data that would be too lengthy or comprehensive to include in the main body of the study. 1.6 Research Area When it comes to the project's research area, it can be referred to as the project's center. Because of the project's goal, as stated in the study, "Victor Selection among customers is a popular promoting method nowadays." Following the selection of a winner from the contest, the association is awarding prizes based on the guarantee criteria. It is an old similar as a type of game.” is done as a result of the specially defined algorithm. The collected data was analyzed to obtain precise results. 1.6.1 Establishing and maintaining customer relationships and loyalty Relationships every of formed by voluntary repeat business between a supplier and a client where the action is planned, cooperative, and intended to continue the mutual benefit of each group. To make this semi-permanent partnership work, trust and dedication must be understood. Businesses must demonstrate to consumers that they are dedicated when providing the core service benefit. If these issues are properly handled, the customer will establish semi-permanent relationships with the company, which will result in loyalty (Thompson & Thompson, 2003:23-34). Consumer loyalty can be described as a customer's proclivity to make a particular decision based on previous purchases. This behavioral concept of loyalty encompasses the results of each attitudinal contribution and habitual shopping for. The word "customer loyalty" is used to emphasize that loyalty may be a trait of customers rather than a characteristic of brands (Zhang, Dixit & Friedmann, 2010:128). Effective relationship building methods are critical in cultivating client loyalty in a company (Rootman, 2006:36). 1.6.2 Customer Satisfaction Influencing Factors Customer satisfaction, trusted, Commitment are all important factors that can affect customer loyalty. 1.6.3Hyphothies To assist in achieving the research goals, the following hypotheses were tested: • HA1: There is a connection between consumer satisfaction and loyalty. • HA2: There is a connection between trust and consumer loyalty. • HA3: There is a connection between Commitment and consumer loyalty. 2.0 Literature Review This chapter will provide information about similar systems, including their characteristics, tools, and technology used to build those existing systems, as well as a gap identification table that will compare those existing systems to the proposed desktop application. Furthermore, this chapter will go through the specifics of the report's secondary data collection. The secondary data for the proposed application was gathered by reading scholar papers. The section Reviewing Scholar Papers is further subdivided based on the title of each research paper. Using an expanded RFM and clustering methodology, we can measure customer loyalty. An Iranian researcher investigated Measuring client steadfastness using an all-encompassing RFM and grouping strategy to select a faithfulness client from the organization's client base. As a result, they have a methodology. The following is the arrangement definition. Which of the following demonstrates the characteristics successful in confirming the affiliation's customers' unwavering quality rating using MOGA, and whose characteristics structure the RFM model? When determining consumer dependability, the impact rate of each property is resolved to use the Spearman's association coefficient. This approach has a high degree of precision in determining loyal and double-crossing customers. The work foundation of the technique is based on the Scholar paper, • The K-implies bunching calculation Grouping is a data mining technique that produces large and illuminating amounts of articles with comparable properties in a changed mode ( Garcia-Murillo and Annabi, 2002 ). The primary goal of gathering is to outline different social affairs with similar characteristics, and the proposed study of this paper employs the K-infers gathering. Spearsman's Correlation Coefficient is a measure of how well two variables correlate with one another. The exchange coefficient is a quantifiable framework for determining the type and degree of association between one quantitative variable and another. The Genetic Algorithm The inherited counts complete Darwin's standard decision models, allowing the ideal formula to guess or fit the models to be perceived. The RFM model The RFM models are one of the models used to distinguish the guidelines win on the customers' associations. The most difficult task for the examiners who studied customer-based ads was determining who the target client should be. Finding the most profitable customer is the key to an organization's success. Organizations go to great lengths to find the right customer. Organizations go to great lengths to find the right customer. Because of the difficulty in the showcasing sector these days, clients are constantly drawn to new technologies as well as new labels. As a result, entrepreneurs are constantly looking for new ways to pique the interest of their customers. According to the findings of the investigation, the majority of businesses are aware of how to determine who is the most fair and important client. They don't have a lot of knowledge about how important client appreciation is in making their company a success. The client division plays an important role in the executive's client relationship. This refers to an organization's management abilities. ( L.S. Rahuman:2015) Existing Systems ZillyWin Raffle draw ZillyWin is an easy and exciting app for anyone who uses raffle tickets at an event. It allows you to purchase an unlimited number of raffle tickets without having to sort through ticket numbers during a draw. The winning ticket number is typed in by the event organizer, and the winner is notified by text message! Using an exclusive code that ticket holders use to join the raffle, the event host will create enthusiasm for the event. More tickets can be sold as a result of the simple and entertaining app. LuckyDraw Software by ChangXin Market The trade coefficient is an observable technique for determining the type and strength of a quantitative variable's relationship with another quantitative variable. The framework's Ultimate version includes five distinct draw techniques. For example, flushing, turning over cards, crushing the egg, roulette, and opening the machine are all examples of games. The framework's user interface design is rather basic. For your convenience, some of the system's graphical user interfaces have been attached. T