Java and WordPress are very different, so this is an attempt to compare and see where they intersect each other.

Java

Java is an enterprise Language, what that means is, Java is used to build enterprise applications.

· A variety of clients can interact with applications like browsers, smart tablets, B2B applications, .NET and other language apps.

· High Security to support the standards.

· Highly Scalable to support the growing traffic.

· Performance – Begin compile time performance is high.

· E.g applications are Gaming, E-commerce websites, Billing, Retail, CRM and tons of others

Java can be used to create blogging CMS like WordPress. There are CMS’s like alfresco, Plone, JRoller who attempt to do that, but none has been able so popular as WordPress itself.

WordPress

Very specialized CMS/blogging engine build on top of PHP.

· It is very easy to learn software, compare it to learning MS Word.

· You don’t need to know PHP/programming to be WordPress website developer.

· It has a themes concept, which allows a developer to configure website pages with easy.

· Supports thousands of plugins, almost easy to find any kind of functionality a website needs.

· Installs on Apache Server with PHP engine.

· Many hosting sites support 1 click install.

· Uses MySQL as the backend engine.

As you see, WordPress and Java cannot be compared as one is a language where another is a software built on PHP language.

Had WordPress been written in Java

Many Java developer no doubt wish WordPress was built on Java, as it would have given

1. Java applications a web flair, we would have to see all together new set of applications /widgets/ plugins.

2. Designers would have not been scared of the language at all.

3. Applications could have used the WordPress database, which has a very simple schema.

WordPress And Java Together

Resin Quercus

Resin is a Java Application server, but with a twist, it has a Quercus engine which allow PHP applications to installed as Java applications.

What does this mean, if a WordPress can be installed on Resin will run as a Java application and also take advantage of libraries like Spring, Hibernate,SOA.

Also, will definitely perform way better as it will be compiled only once and not be interpreted with every request like it does now

To have this integration working has its own challenges but good news is there is a way.

TL;DR

For creating CMS websites with blog functionality, WordPress is king. But, when it comes to creating highly scalable enterprise applications, Java is the preferred platform.