This article is taken from a blog by an American developer. The author nirav has observed some interesting changes in the Java World. A single Java Development cannot meet the complex requirements of the current software, more and more JVM-based language development is applied to software projects, and multi-language hybrid programming on the Java platform is becoming the mainstream.
During the javaone Conference, several major trends in the Java field were reported. The development of multi-language and hybrid programming was the focus. JVM-based languages are gaining popularity, which provides the technical foundation for the development of multi-language hybrid programming on the Java platform. in practical applications, each language can better solve the problem based on what it is good at. The increasingly complex software requirements also make the application scenarios of hybrid programming more frequent. For Java programmers, the singularity of technology is changing because the world around you has become complicated. The era of mixed programming has arrived. Are you ready?
In recent years, the JVM-based platform has undergone great changes in programming languages. For example, dynamic languages (such as JavaScript, jruby, Jython, groovy) and functional styles and object-oriented Scala. I'm glad that we have a lot of options now. So far, I don't think a single language can monopolize JVM Like java.
To some extent, coexistence of multiple languages on the JVM is a good thing, and a tool cannot apply to all requirements. We cannot expect Java to be good enough in gui. Just like the C language, Java has never been designed to develop dynamic web applications, however, we still try to use JSP, JSF, and a large number of frameworks to combat the Web productivity of PHP, rails, and python. Fortunately, Java has a high abstraction level for platform details and memory management. These new JVM-based languages can be further abstracted in their respective fields.
In the near future, we will see that in our project, parallel processes are written in clojure, the presentation layer uses jruby/rails, and the middle layer is Java. Each application layer is implemented in different programming languages. However, interfaces are transparent to developers at each layer. This is a major event. The client and server will use different runtime and programming languages, as never before on the previous Java platform.
What does this mean for Java developers?
◆ For Web developers, you will learn a lot different from struts, JSF, and JSP. Our development is no longer model1, model2, or MVC.
◆ For non-web developers, the code you write is more readable and can be used in any of the languages mentioned above to create a DSL suitable for your project. Moreover, you don't have to worry about occasional complexity and framework impact on your project.
The life (or resume) of Java platform developers will change, and they will be excited that more than one programming language is available now, not just the framework. I never think that the Java language will perish, not because a large number of existing API libraries are written in Java, but because there are too many programmers who know Java on the earth. Tools support Java and local JVM support Java (Note: refers to the basic software running on JVM ). Java will be like the C language, and everything you can do will be potentially supported and become a basic platform.
Postscript: This article provides some experiences and opinions on the changing trend of mixed programming on the Java platform. In fact, hybrid programming has been widely applied to us. Enabling each language to be used in its own field is a more direct way for software development to respond to increasingly complex project requirements.
In the article "finding the key to becoming a developer", we have emphasized the "breadth" and "depth" of technology ", the breadth means that there are a wide range of tools, skills, and methods at the technical level. This also affirmed the role of multi-language mixed programming in improving developers' technical level.