Does the Netbeans Rich-Client Platform Development provide the same in Java as MEF in .NET?
Is there is any other built-in easy way in JAVA to do pluggable applications?
Thanks
NET platforms. Java has its own virtual machine, the Java Virtual Machine (JVM) which is similar to . NET CLR. Java's execution engine (the JVM) and a Java compiler with a set of libraries constitute the Java Platform.
What is MEF? The Managed Extensibility Framework or MEF is a library for creating lightweight, and extensible applications. It allows application developers to discover and use extensions with no configuration required. It also lets extension developers easily encapsulate code and avoid fragile hard dependencies.
MEF is an integral part of the . NET Framework 4, and is available wherever the . NET Framework is used. You can use MEF in your client applications, whether they use Windows Forms, WPF, or any other technology, or in server applications that use ASP.NET.
The main contender is probably OSGi. Can't say I've developed with it myself, but it's what Eclipse uses:
The OSGi Alliance is a worldwide consortium of technology innovators that advances a proven and mature process to create open specifications that enable the modular assembly of software built with Java technology. The OSGi Service Platform facilitates the componentization of software modules and applications and assures interoperability of applications and services over a variety of networked devices. The OSGi Service Platform is delivered in many Fortune Global 100 company products and services and in diverse markets including enterprise, mobile, home, telematics and consumer.
That's a huge amount of buzzword bingo, but I think it provides functionality broadly like MEF.
EDIT: OSGi specifications are available here, as per the comment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With