{"id":22611268,"url":"https://github.com/bzdgn/class-loader-examples-iii-hot-deployment","last_synced_at":"2025-03-28T23:20:52.828Z","repository":{"id":81112547,"uuid":"62699393","full_name":"bzdgn/class-loader-examples-iii-hot-deployment","owner":"bzdgn","description":"my notes and code stuff on a video lesson of Kevin Jones","archived":false,"fork":false,"pushed_at":"2016-07-06T07:22:14.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T09:47:48.323Z","etag":null,"topics":["class-loader","java","jvm","reflection"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bzdgn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-06T07:11:42.000Z","updated_at":"2017-02-28T16:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"4df88a0c-ef6e-4356-8cbf-3749b7a95395","html_url":"https://github.com/bzdgn/class-loader-examples-iii-hot-deployment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzdgn%2Fclass-loader-examples-iii-hot-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzdgn%2Fclass-loader-examples-iii-hot-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzdgn%2Fclass-loader-examples-iii-hot-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzdgn%2Fclass-loader-examples-iii-hot-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bzdgn","download_url":"https://codeload.github.com/bzdgn/class-loader-examples-iii-hot-deployment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246112659,"owners_count":20725302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["class-loader","java","jvm","reflection"],"created_at":"2024-12-08T16:10:05.178Z","updated_at":"2025-03-28T23:20:52.822Z","avatar_url":"https://github.com/bzdgn.png","language":"Java","readme":"Based on my notes while I study lessons of Kevin Jones, this is an example of Hot Deployment with the use of class loaders\nMain purpose of this demo is to demostrate switching implementation classes while the application is in running state without any interruption\n*********\n\n\tsrc\t\t-\u003e classes\n\tserver\t-\u003e serverclasses\n\nbuildClient scenario;\n\n\tcompile code on src directory and output binaries: classes\n\nbuildServer scenario;\n\n\tcompile code on server directory and output binaries: serverclasses\n\nScenario;\n*********\nOn command line, run the Client code as;\n\n\tclass-loader-examples-iii-hot-deployment\u003ejava -cp classes com.levo.Client\n\nFollow the steps;\n\n\ta) get quote with command 'QUOTE'\n\tb) switch the return message of the ServerImpl.getQuote() method\n\td) run buildServer task so that hot deployment occurs, serverclass ServerImpl.class file will be updated\n\td) reload server class with command 'RELOAD'\n\te) get quote with command 'QUOTE' and verify that quote message has updated","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzdgn%2Fclass-loader-examples-iii-hot-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbzdgn%2Fclass-loader-examples-iii-hot-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzdgn%2Fclass-loader-examples-iii-hot-deployment/lists"}