-
The discussion about .NET and Java development costs has been hot recently. Adam Bien, a professional consultant, lecturer, software architect and developer in the field of enterprise Java, believes that there are at least 9 reasons why Java EE 6 can save you investment. For the specific situation of Java EE 6, you can refer to the main goals of the Java EE 6 platform introduced before by 51CTO, as well as the new JAX-RS and dependency injection functions in Java EE 6.
1. Prototype construction
Generally speaking, the earliest stage of an enterprise Java project is to evaluate which framework to use. This work can take a long or short time, from a few hours to a few months. Java EE 6 features "one-stop shopping". You can download Java EE 6, which includes IDEs (Eclipse, NetBeans, Jdeveloper, and commercial IntelliJ), and start developing. You can install and develop a prototype in minutes. Also, the kit is not bulky.
2. Development
Java EE 6 implementation is lightweight. The size of GlassFish including the Web Profile is only 30MB, and the full-featured version is 70MB. Deployment time is also very short, and incremental deployment is supported out of the box. All you need to do is save the corresponding file. Other application servers, such as JBoss, Caucho's Resin, and Geronimo/openEJB, are also lightweight. Since most libraries and frameworks are already included on the server, you only need to deploy the application code. Deployment archives contain mostly your application code and are therefore very small.
3. Production
GlassFish, JBoss, Geronimo and possibly other tools are open source. It's up to you to decide whether you need commercialization support. You can choose to start small and then expand over time.
4. Authorization
Java EE 5/6 applications are surprisingly portable and no longer require vendor-specific deployment descriptions. You can easily port your application from one server to another by copying the WAR/EAR archive from one directory to another. Since the introduction of Java EE 5, we have actually adopted this approach to ensure application server independence. Remember, you are in a good position to get better licensing/support services. You don't need to be tied to a particular manufacturer, you can choose the one that interests you the most.
5. Training/Knowledge
You "just" need to learn Java EE 6 and its API, and getting started is very easy. And this knowledge is universal and can be applied to any other application server on the market. If you already use Java EE 5, you will really like Java EE 6.
6. Portability
The original old J2EE 1.X project can be easily ported to Java EE 5/6. Java EE 6 containers still support older programming models. Migrating your application is a lot of fun, it's mostly about removing stuff that was previously redundant. J2EE 1.X and Java EE 6 can even coexist peacefully.
7. Popularization
Java EE 6 is developed using JCP. Its developers are not so much Sun, but rather the community and all mainstream manufacturers. IBM, Oracle, SAP, Red Hat, Google, and Spring Source/VMWare have all contributed APIs. The popularity of the Java EE 6 specification is expected to be no worse than that of Java EE 5. There are currently about 14 different certified Java EE 5 servers.
8. Freedom of choice/investment protection
Since Java EE 6 is being developed by the community, not a single vendor, it will remain stable. It is impossible for a single manufacturer to modify/break this specification without authorization. This is a huge advantage of Java/Java EE compared to other languages. Your old J2EE 1.4 applications can still run on today's Java EE 5/6 servers without any modifications. (Of course, the standard setting of Java EE is not without controversy. Readers can refer to the article "Java EE 6, hypocritical fairness under the appearance of democracy" previously reported by 51CTO.)
9. Risk transplant/alternative plan
If for some reason you find that Java EE 6 isn't for you, porting to alternative technologies like Spring is relatively easy. Their composition patterns (EJB, CDI/Spring) are very similar.