{"id":20227674,"url":"https://github.com/panga/java-beans-lite","last_synced_at":"2025-04-10T17:25:09.547Z","repository":{"id":57721982,"uuid":"136381197","full_name":"panga/java-beans-lite","owner":"panga","description":"Lightweight and fast java.beans.Introspector implementation","archived":false,"fork":false,"pushed_at":"2018-07-10T02:50:37.000Z","size":38,"stargazers_count":6,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T15:04:01.858Z","etag":null,"topics":["java","jdk9","jigsaw","jpms"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/panga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-06T20:12:39.000Z","updated_at":"2021-10-29T21:33:12.000Z","dependencies_parsed_at":"2022-09-26T21:50:25.391Z","dependency_job_id":null,"html_url":"https://github.com/panga/java-beans-lite","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Fjava-beans-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Fjava-beans-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Fjava-beans-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Fjava-beans-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panga","download_url":"https://codeload.github.com/panga/java-beans-lite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261967,"owners_count":21074229,"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":["java","jdk9","jigsaw","jpms"],"created_at":"2024-11-14T07:26:02.076Z","updated_at":"2025-04-10T17:25:09.498Z","avatar_url":"https://github.com/panga.png","language":"Java","readme":"# Java Beans Lite\n\nLightweight and fast `java.beans.Introspector` reimplementation used to remove dependency on `java.desktop` module for Bean Introspection.\n\n## Problem\n\nThe [java.desktop](https://docs.oracle.com/javase/9/docs/api/java.desktop-summary.html) module introduced in JDK 9 encapsulates all AWT, Swing, Image and Sound packages from Java standard libraries.\n\nIn addition to that, it contains the `java.beans` package with helper classes to interact with *Java Beans*, specifically doing introspection.\n\nDue to its tight dependency with AWT, it cannot be easily removed from `java.desktop` module, causing any thirdparty library that uses `java.beans` package to be dependent of all `java.desktop` classes, adding extra `12mb` of size overhead into the JVM installation and some extra memory usage.\n\n## Solution\n\nReimplemented `java.beans.Introspector` class to do analysis of Java Beans in a very lightweight and super fast way (analysis results are cached automatically) with only `java.base` module packages dependency.\n\nThe initial implementation is a small subset of `Introspection` class methods, it doesn't implement the full interface.\n\n## Usage\n\n### Using as a `java.beans` replacement\n\n1. Add a Maven Dependency\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.panga\u003c/groupId\u003e\n    \u003cartifactId\u003ejava-beans-lite\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n2. Find all ocurrences of `import java.beans` and replace with `import lite.beans`.\n\n## Contributors\n\n* Leonardo Zanivan \u003cpanga@apache.org\u003e\n\n## License\n\n[Apache License 2.0](LICENSE)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanga%2Fjava-beans-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanga%2Fjava-beans-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanga%2Fjava-beans-lite/lists"}