Saturday, 24 August 2013

Languages that don't have the single classpath issue in Java

Languages that don't have the single classpath issue in Java

I started to write a piece of software with a group of friends and chose
the Java language since we were all familiar with it. In order to solve
the single classpath problem in Java, we chose to use OSGi. We used Spring
DM, Hibernate and CXF DOSGi for the project.
It took a lot of effort to get things working. For example, we wanted to
use Spring annotations to mark transactions and it was quite a difficult
task. We got a lot of "ClassNotFoundException"s and in order to solve
them, added imports to the import-package section without knowing exactly
why they were needed(These were mainly spring packages).
After going through the process we thought that maybe we have chosen the
wrong language?
So my questions are,
what are the languages that do not have the single classpath problem like
in Java?
How does those languages solve the problem?
Are there any cons in using any of those languages rather than using
Java(except for the fact that we will have to learn them)?

No comments:

Post a Comment