Coder Social home page Coder Social logo

Comments (8)

ChrisLMerrill avatar ChrisLMerrill commented on May 29, 2024

I should add - it would not be as bad if update4j was the only dependency, but since it also drags along 3 JAXB dependencies and javax.activation, it is that much uglier.

from update4j.

mordechaim avatar mordechaim commented on May 29, 2024

from update4j.

ChrisLMerrill avatar ChrisLMerrill commented on May 29, 2024

Thanks for considering it.

The app I'm working on uses Reflection heavily to allow end-users to drop a JAR into their project to extend the tool when that project is opened. The power this gives them is a beautiful thing. I need to learn more about module loading because I think that and/or services might be a better alternative.

But I think this specific case makes a good argument for reflection.

And thanks for the tip - I figured out that I didn't really need a Delegate...instead running my own main method.

from update4j.

mordechaim avatar mordechaim commented on May 29, 2024

from update4j.

ChrisLMerrill avatar ChrisLMerrill commented on May 29, 2024

Thanks for that suggestion. I have it working that way, without any dependencies in my app on update4j :)

You can close this issue if you'd like. But I still think it would be nice to provide the ability launch a specific class via main(), as a built-in part of update4j. This seems, to me, like a pretty common use-case -- most apps are already started via a main(). The code itself is simple (mine is 5 lines not including exception handling), but I expect that the design of how to expose/configure that behavior is a little harder.

Thanks again!

from update4j.

mordechaim avatar mordechaim commented on May 29, 2024

I'm currently working on a micro-implementation of an xml parser, so to reduce dependecies to zero!

Btw what's your thoughts on #19 ?

from update4j.

ChrisLMerrill avatar ChrisLMerrill commented on May 29, 2024

That would be nice!

I seem to need stuff like this all the time (usually JSON more than XML). I know why it isn't included in the standard libs, but it pains me when I look at a large dependency tree and see 3 different libs included for reading JSON :(

I will comment on #19.

from update4j.

mordechaim avatar mordechaim commented on May 29, 2024

Feature complete

from update4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.