electron-java-app | Electron Java application - What if you could build Desktop

 by   jreznot Java Version: 0.1 License: Apache-2.0

kandi X-RAY | electron-java-app Summary

kandi X-RAY | electron-java-app Summary

electron-java-app is a Java library. electron-java-app has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

Electron Java application - What if you could build Desktop applications on Java with HTML 5 UI
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              electron-java-app has a low active ecosystem.
              It has 438 star(s) with 89 fork(s). There are 22 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 9 open issues and 15 have been closed. On average issues are closed in 112 days. There are 20 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of electron-java-app is 0.1

            kandi-Quality Quality

              electron-java-app has 0 bugs and 2 code smells.

            kandi-Security Security

              electron-java-app has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              electron-java-app code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              electron-java-app is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              electron-java-app releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              electron-java-app saves you 92 person hours of effort in developing the same functionality from scratch.
              It has 236 lines of code, 10 functions and 5 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed electron-java-app and discovered the below as its top functions. This is intended to give you an instant insight into electron-java-app implemented functionality, and help decide if they suit your requirements.
            • On attach
            • Initialize the layout
            • Initialize the menu
            • Adds a menu item to a menuBar
            • Start the Jetty server
            • Finds the root of the webapp
            • Called when an app menu item is triggered
            • On menus about menu
            • Called when the application window is exiting
            • On exit dialog
            • Call the Electron Ui API
            Get all kandi verified functions for this library.

            electron-java-app Key Features

            Easy building with Gradle
            Jetty server with Web Sockets enabled
            Vaadin UI code in plain Java
            Bi-directional WebSocket connection with Vaadin Push and Jetty WebSocket module
            Two way communication between Electron and web application using javascript functions
            Auto start / stop of server side on application init / exit
            Custom window header
            Menu option to show developer tools only when running in debug mode

            electron-java-app Examples and Code Snippets

            No Code Snippets are available at this moment for electron-java-app.

            Community Discussions

            Trending Discussions on electron-java-app

            QUESTION

            Play DRM encrypted video stream with "pure" Java
            Asked 2019-Dec-06 at 11:13

            I am investigating whether is it possible (I am sure it is, I mean simple way) to build a Java-based client desktop App to play DRM protected video stream.

            DRM: DASH CENC DRM1, PlayReady, Widevine Classic\Modular, FairPlay.

            VLCJ supports the input-from-memory feature to implement custom protocols or DRM but it looks like a painful digging into DRM specifications.

            There is a Node.js open-source project DOWNstream for Electron which can help with Widevine DRM. The article describes Java and Electron integration (source) but I guess it is accidental complexity in this case.

            Previously I didn't face with video-streaming domain and I wouldn't like to reinvent the wheel so my questions are:

            • It seems that there are no "pure" Java implementations. Why? Because of format wars? security issues?
            • Do you happen to know any simple way (DalvikVM supports Widevine out of the box) to create App without involving "browser techs" like JS?

            Thank you. I would appreciate hearing your thoughts.

            ...

            ANSWER

            Answered 2019-Dec-06 at 11:13

            I think looking at how the DRM's are provided on platforms may help you understand the options and let you think about how you want to approach your solution.

            The DRM client functionality, i.e. the DRM functionality which resides on a phone or tablet or laptop etc as opposed to the DRM server side functionality, is generally built in by the device or OS vendor when it the device or OS is being produced/manufactured. For some DRM's on some devices it is also possible to add it via a SDK.

            Most DRM's are used via 'native' players in mobile devices and tablets and via the browser on PC's, laptops etc so this is the usual default that you can generally rely on to be supported. Smart TV's and games consoles are more varied and can be either via browser or native depending not he device.

            Recently, nearly all mobile and tablet browsers have added support for browser based DRM also, but many DRM's on laptops are restricted to the browser, or more specifically the CDM (Content Decryption Module) browser add on which is DRM specific.

            There are DRM's which are supported outside the browser on PC's and laptops - for example Windows based devices will generally support PlayReady DRM in a way that can be accessed by applications. Microsoft provide more infomrtaiopn on this here:

            There is a nice diagram which summarises different devices at the above link which I've copied below also as it helps explain:

            I am not aware of a similar Widevine or FairPlay support on PC's or laptops although ones may exist or be in development.

            So, going back to your problem, the reason that most cross platform applications use Javascript and browser technology for DRM on laptops and PC's is not really a language issue, rather it is because via the browser is the only way to access the DRM functionality on some laptops and PC's.

            For Windows you have the option to use the Universal Windows Platform API but this still may not give you want you are looking for and is Windows and PlayReady specific.

            Source https://stackoverflow.com/questions/59176140

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install electron-java-app

            You can download it from GitHub.
            You can use electron-java-app like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the electron-java-app component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jreznot/electron-java-app.git

          • CLI

            gh repo clone jreznot/electron-java-app

          • sshUrl

            git@github.com:jreznot/electron-java-app.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link