TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Oracle Killed Java

20 点作者 dmxt超过 11 年前

14 条评论

tptacek超过 11 年前
Oracle&#x27;s got nothing to do with the failure of the Java applet sandbox. The problem with the applet sandbox is simple: it was designed before anybody really understood modern secure C programming --- integer handling, memory lifecycle, concurrency.<p>The major browser projects all host a very similar attack surface --- a programming language with content&#x2F;attacker- controlled code hooked up to a whole bunch of crazy bells and whistles. The browsers barely, just barely, have a handle on that attack surface. And the modern browsers have all rearchitected in the last 5 years specifically to address the problem, which is something the Java applet maintainers have not done. Who in the world is surprised that <i>doubling</i> the browser attack surface creates problems?<p>It&#x27;s long past time we put Java applets out to pasture.
jbuzbee超过 11 年前
I tend to agree if we&#x27;re talking about client-side Java served up through a browser. But client-side Java has been going downhill for years. Server-side Java on the other-hand is alive and well.
grimlck超过 11 年前
Yet another link-bait title...<p>It should be &#x27;Oracle killed Java APPLETS&#x27;
评论 #7122955 未加载
评论 #7123299 未加载
betterunix超过 11 年前
Java applets were dead before Oracle acquired Sun. Too heavy, too slow, and by the time they stopped being too slow it was too late.
jfoutz超过 11 年前
I&#x27;ve never used python for anything serious. I&#x27;m shocked to learn about this python functionality that duplicates webstart or applets. Being able to hand out a link that will download an interpreter and then run my script in a secure way (with self signed code no less) is a really slick feature.<p>That or the author is playing a dirty rhetorical trick.
RyanZAG超过 11 年前
<i>&quot;While this is great in theory, for java its pointless. The contents of a jar can be extracted just the same as any zip format, signatures removed and resigned all without any issue.</i>&quot;<p>Completely false? Resigning a jar with authenticated signature will turn it into a self-signed jar and will then display the nasty warning as it should. This security measure works very well: if you want to run stuff in the browser, use js+HTML5 (or GWT). If you have legacy java code that you must run in the browser, get it signed properly and it will run. This is universally an incredibly good thing given how flakey java applets are.
skybrian超过 11 年前
Applets were invented at a time when there was competition between language-level sandboxing (Java) versus code signing (Active X).<p>Today we understand that you need language-level sandboxing, OS-level sandboxing, permissions enforcement, code signing, and a way to revoke bad apps. (Android store, for example.) And it&#x27;s not really enough.<p>Most of us have moved on, but I think Oracle deserves some credit for doing <i>something</i> to protect the people who still must rely on applets for some reason (probably legacy apps).
JetSpiegel超过 11 年前
Can&#x27;t believe the author mistook &#x27;effected&#x27; with &#x27;affected&#x27;. Never had seen that happening in the wild.
Hermel超过 11 年前
Orcale does not care about the desktop - and Sun never managed to make it user-friendly (e.g. annoying Java Updater popups on every start, trying to install the ask toolbar, etc). However, Java will stay significant on servers and on Android (as Dalvik).
评论 #7123182 未加载
synchronise超过 11 年前
Would it be a possibility of having a 3rd party Java app registrar which isn&#x27;t Oracle, using OpenJDK?<p>Because $300 a year is a little steep, the open source community could do this much more efficiently.
评论 #7123428 未加载
skywhopper超过 11 年前
Java in the browser has been dead for years, or should&#x27;ve been. Sure, lots of people are still stuck with it for legacy apps, but no one likes having to use it. Good riddance.
negamax超过 11 年前
I thought applets were buried almost half a decade back.
0x0超过 11 年前
When the author claims self-signed applets run in a sandbox, I believe that&#x27;s incorrect. Even the warning shows the sandbox becomes disabled.
评论 #7123404 未加载
pan69超过 11 年前
Shame on you for writing applets. Personally I&#x27;m glad this cr*p is being killed off. Java belongs on a server.