YOUR FEEDBACK
E-Commerce 2.0
Brian wrote: I think we're heading in the right direction, but we've still...


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
TOP THREE LINKS YOU MUST CLICK ON


Comments Pour in As Nexaweb Founder Asks "Why Isn't Facebook Built in Java?"
Coach Wei's Question Strikes a Chord in Javaland

Digg This!

Coach Wei, whose Java credentials are impeccable, opened up a can of worms by raising the issue of why Java's not in favor any more for building web sites, even complex ones. Even a complex site like Facebook, Wei noted, is not written in Java. 'Why do 'cool kids' choose Ruby or PHP to build websites instead of Java? I have to admit that I do not have an answer ... the power of Java is a perfect fit for the areas where websites may need more than markups or scripting, such as middleware logic,' Wei argued.

"Java did indeed suffer from obscure over complications for some time but it has come a long way," wrote Sam D. "People that are throwing stones are talking about Java in its previous life. To them I say you are not keeping up with the latest technology advancements and in the IT industry that is not very good practice."

But venkat thought the explanation was simpler: "Most of the startups have very limited financial capablity up front. And Java hosting is never free while PHP hosting is free almost everywhere.. It's all about money. Nothing else."

The hosting issue resonated with Drazen Gemic, who wrote:

"Many people mentioned hosting, and it probably is a part of a problem. Hosting companies often use Tomcat which is not very suitable to the task, because of remote administration problems. Some kind of "hot deployment" (JRun like) would help. I believe that a servlet can be developed that could watch the file system changes and restart contexts with short delays, without meddling with Tomcat source code. I am thinking of starting some kind of open source project for that purpose.

Scripting languages require less effort to start with. I know web designer who used PHP elements without even being aware of the fact that PHP executes on server, while HTML renders in client. It was trial and error a bit, but it worked in the end.

Scripting languages for JVM exist, and they are quite ok. In fact they are very ones that are "easier than Java". One can build an application in scripting language that make use of Java middle layer (maybe even third party) with no problem. They are not popular and not advertised enough. The question is why, and I'd like to know the answer."

And Adomo Btwitti had suggestions, too: "Perhaps what is needed is a Java-based interpreter that processes a simple markup script as PHP does. For example, if it's called jphp: <? include('myapp.MyApp'); write(MyApp.getSomething()); ?> some html." 

"Does this exist already?' he added.

Eric S chipped in with this insight:
"Just like C/C++ have found their niche forever in system software, so is Java converging on its niche: frameworks.

What everyone has pointed out here is that PHP is practical for someone building a startup like Facebook and Java is not. You can assume that in the architecture meetings they are now feeling growing pains and plotting changes-- but that doesn't mean it was the wrong decision-- it was a MULTIBILLION $$$ very right decision! Think about that next time you are fretting correct architecture vs. technology fads!

Truth is PHP is a technology fad thats very useful for hacking things together. But don't believe that Java will "win" in the long run. It is getting boxed into enterprise application frameworks. Where the industry is headed is highly modeled applications and Java frameworks are but one of several commodity backends that can be targeted.

Java was a big step forward but it doesn't stop there. You can bet though that Microsoft is overjoyed that facebook is NOT in Java and any big move for them will be all .NET.

But why be hung up on Java? The minute you code your business logic in Java you have thrown away the semantics to be forever understood only by a virtual machine. May as well be COBOL. End to end modeling is where its going and Java will be a great back end for platform-agnostic execution of the models."
Shane Montgomery asked "Why not ColdFusion?" while Sam D. added "I would like to hear some feedback from the PHP and Ruby enthusiasts on what they think of Groovy."

Last word in this brief round-up of the 58 comments so far goes to JulesLt:
"Partly, it's a circular definition - they are the 'cool kids' because they're using Ruby - if they were using Java they wouldn't be the cool kids (although the same fault lines exist in the Java world too).

To follow up some other points - Ruby wasn't designed as a Web programming language, it's a general programming language like Java - or indeed Smalltalk (Ruby's Dad and Java's Great Uncle).

And to concur with others here, I'm guessing a large part of the attraction is that there is a single popular framework to learn. Rails and Ruby are nearly synonymous. You're not plugging Hibernate and Velocity and Spring in a stack. Of course that only explains why people are learning it, not why Java developers might switch over."
About Jeremy Geelan
Jeremy Geelan is Sr. Vice-President of SYS-CON Media & Events. He is Conference Chair of the AJAXWorld Conference & Expo series, of the 3rd International Virtualization Conference & Expo and founder of Web 2.0 Journal, AJAXWorld Magazine and other major SYS-CON titles. From 2000-6, as first editorial director and then group publisher of SYS-CON Media, he was responsible for the development of all new titles and i-Technology portals for the firm, and regularly represents SYS-CON at conferences and trade shows, speaking to technology audiences both in North America and overseas. He is executive producer and presenter of "Power Panels with Jeremy Geelan" on SYS-CON.TV.

LATEST JAVA STORIES & POSTS
Case Study: Java and the Mac
This is the story of a Mac application developer (okay - it's about two of them) who set out on a quest to find an application development tool based on Java so his boss would let him develop on the Mac platform, which he loved. There was only one catch - he had to find a tool th
A Lightweight Approach to SOA and BPM in Java Using jBPM
SOA is mostly associated with technologies such as BPEL, SCA and Web Services. But does SOA really imply these technologies? In this session we will show how you can use the service oriented approach while staying inside the Java world. jBPM is a powerful lightweight framework th
JavaOne 2008: Uncommon Java Bugs
Any large Java source base can have insidious and subtle bugs. Every experienced Java programmer knows that finding and fixing these bugs can be difficult and costly. Fortunately, there are a large number of free open source Java tools available that can be used to find and fix d
The 4 Core Principles of Agile Programming
One of the things I really enjoy at the moment is the recognition and adoption of agile programming as a fully fledged powerful way to deliver quality software projects. As its figurehead is a group of very talented individuals who have created the agile manifesto (http://agilema
JavaOne 2008: Sun Adds Comprehensive Video Capabilities to JavaFX
Sun Microsystems announced it has entered into a multi-year agreement with On2 Technologies to add comprehensive video capabilities, using On2 Technologies TrueMotion video codecs, to Sun's JavaFX, a family of products for creating Rich Internet Applications (RIAs) with immersive
JavaOne Archives - Dvorak Comments on AMD Intel Lawsuit on SYS-CON.TV
Conference in San Francisco. Dvorak held forth on a number of topics, including the new AMD/Intel lawsuit, the viability of Java and Sun, the value of (or lack thereof) of corporate PR, and whether or not a new book about Silicon Valley is really worth reading.
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE
BREAKING JAVA NEWS
KongZhong Corporation Reports Unaudited First Quarter 2008 Financial Results
KongZhong Corporation , a leading wireless value-added services (WVAS) and wireless media co