Why isn’t Java being used for web multimedia applications? [closed]

I’ve been focusing on multimedia applications and I’ve noticed that most applications don’t use Java in the back end. Instead, I see solutions with PHP/ROR/Python and Flash/Silverlight without any trace of Java in the application stack.

What part of Java is either limiting or constrained – or perceived as limiting or constrained – when building multimedia applications?

Let me clarify, when I said Java, I meant Java EE. Of course on the client side people will use flash or html5 for audio/video. But what I am trying is that, why is most multimedia platforms backend is created with PHP/ROR/Python(Django)? There are many audio distribution platforms out there. soundcloud.com (uses go lang), tunrtable.fm (uses Python) youtube.com (uses PHP), is Java EE not capable of doing those?

16

I think all you have to do is look at the industry all around and you’ll see the same pattern. PHP, Ruby, and Python are the preferred languages these days for building web applications. This is largely due to their interpreted nature and low barrier to entry (compared to Java) making development fast, easy, and cheap. This makes it ideal for somebody to hit the ground running when they have an idea.

Java EE is absolutely capable of handling the same tasks as any of those languages, whether the application is multi-media or otherwise. Java however, is compiled, verbose, and expensive (developers). This makes it not an ideal solution that everybody runs to when they want to rapidly prototype something. Java’s limelight has been in the enterprise where companies are willing to shell out hundreds of thousands for developers, who quite honestly, are *usually better trained than the majority of PHP devs.


*= That’s not to say that PHP devs are untrained, but rather by sheer numbers and barrier to entry means you’ll encounter a lot MORE untrained/undertrained PHP programmers that you have to weed through. (Source: the last company I worked at was looking for an additional full time PHP dev. We interviewed a lot of amateurs.)

7

If by multi-media you mean things like video sites, Java is a reasonably common, albeit not the most common choice; it is certainly capable of doing it though. One of the nicest multi-media servers I have come across in common use is Wowza which is written in Java and is very performant and easily extensible.

Youtube is actually Python, not PHP. The google stack is C++ / Java / Python. Very nearly everything they do is in one of those 3 primarily.

Well apart from the fact that Java EE started as an interface to CORBA and as such will always be tainted with the dreaded “curse of CORBA”.

There are a number of anomilies with java EE servers. Yes they should be faster and yes they should be easier to use and yes they should be more reliable — but for the most part they are not. If you are stuck waiting for minutes at a time for an e-Commerce server to respond (Air France and BBVA come to mind) then the chances are that the back end was built with Java EE.

There are reasons for this.

The early Java EE APIs were awful (EJBs in particular) ate up enormous amounts of programmers time and created thousands of lines of technical code that had nothing to do with the business application in hand. Programmers were so pleased to get anything appearing on the browser they did care how clunky it was.

Then there is the Java culture of over engineering — why define Pi as a constant when you can have an abstract constant factory which reads an XML configuration file telling it where to find the XML file with the value of Pi.

Proprietary hardware, most enterprises had standardized on Solaris or AIX when Java EE came along and so built the new web based infrastructure on what they were familiar with. Nice though these machines are they cost at least twice as much as commodity x86 so most of these sites cannot take advantage of high perfomance, cheap x86 linux systems without significant re-engineering.

PHP works! Like COBOL or VB before it, it is intensely disliked by language purists but tens of thousands of successful business applications have been built using these “ugly” languages.

The surprise is not why more sites use Java but why more sites do not use Python. Even though there is a proliferation of web servers and frameworks they are pretty much all excellent. YouTube, Google etc are pretty impressive as reference customers. Not to mention it has a serious kool factor.

Actually, the answer is simple. If you use Java to compare, the answer will be the development cost.

Let me make it easier, PHP/Python are used as server side scripting when Flash/Silverlight are used as client side scripting. If you want to utilize java for this purpose, you will need learn how to handle java servlet, inside an application server, and also properly design an applet or JavaFX component. By using Java, it already gives you additional burden to learn more about programming.

On the other hand, PHP/Python allows you to start everything with instant result, without necessity to learn everything properly. But please don’t get me wrong. I’m not saying Java is more powerful. PHP can be used to create something big.

At this moment Java is used when there is a need to protect some commercial code that can be done without any cost (Open Source). If you want to use PHP to achieve the same result as Java, you can have a look at Zend framework as an example.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật