I'm currently developing a program that has a lot of different, say, components to it that have to be linked together in some sort of manner. Now, what I wanted to ask is, is it viable to create all of the components as separate executables and access them programmatically?

Recommended Answers

All 3 Replies

What exactly do you mean by "executables" in a Java context? Java will link to classes in other jars at run time without any difficulty.

Java will link to classes in other jars at run time without any difficulty.

That solves my problem, thank you. :)

OK, great! Just put your jars in the classpath and the runtime will find and use the classes in them without you having to do anything other than get the folder structure lined up with the package structure.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.