TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Blade: a Java Web Framework

85 pointsby colundover 9 years ago

13 comments

reactorover 9 years ago
Looks like simpler Java frameworks are on the rise now (<a href="http:&#x2F;&#x2F;www.pippo.ro&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.pippo.ro&#x2F;</a>, <a href="http:&#x2F;&#x2F;sparkjava.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;sparkjava.com&#x2F;</a>, <a href="http:&#x2F;&#x2F;www.rapidoid.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.rapidoid.org&#x2F;</a>)
评论 #10777614 未加载
评论 #10777056 未加载
评论 #10776670 未加载
评论 #10776638 未加载
cryptosover 9 years ago
I&#x27;m a bit tired of these sinatra like web frameworks these days. Repetitive url patterns are not that elegant. Why not simply building the API around the fundamental REST concept, the resource? And what about proper content negotiation?<p>JAX-RS has a nice API without much boilerplate and it is more powerful than most &quot;micro web frameworks&quot;.
评论 #10776848 未加载
评论 #10777108 未加载
评论 #10778304 未加载
评论 #10777499 未加载
评论 #10777922 未加载
dodygover 9 years ago
hmmm...<p>public User signin(String username, String password) {<p><pre><code> String pwd = EncrypKit.md5(username + password); return model.select().eq(&quot;username&quot;, username) .eq(&quot;password&quot;, pwd).fetchOne(); }</code></pre>
评论 #10777041 未加载
评论 #10776615 未加载
评论 #10776591 未加载
xaduhaover 9 years ago
I&#x27;m always puzzled when no one mentions Undertow in this sort of threads<p>I got my eye on it ever since it appeared in those Techempower benchmarks<p><a href="https:&#x2F;&#x2F;www.techempower.com&#x2F;benchmarks&#x2F;#section=data-r11&amp;hw=peak&amp;test=json" rel="nofollow">https:&#x2F;&#x2F;www.techempower.com&#x2F;benchmarks&#x2F;#section=data-r11&amp;hw=...</a><p><a href="http:&#x2F;&#x2F;undertow.io" rel="nofollow">http:&#x2F;&#x2F;undertow.io</a>
dmacvicarover 9 years ago
I fail to see the difference with <a href="http:&#x2F;&#x2F;sparkjava.com" rel="nofollow">http:&#x2F;&#x2F;sparkjava.com</a><p>We are using Spark four new code in our product and we are happy with it.
评论 #10777137 未加载
评论 #10776636 未加载
评论 #10776945 未加载
alimbadaover 9 years ago
Looks like NancyFx. After having worked a little with Java&#x2F;Spring recently and coming from a C#&#x2F;.NET background it&#x27;s nice to see the Java world is finally starting to discover the benefits of Keeping It Simple...
cnameover 9 years ago
&gt; REST style routing interface<p>I&#x27;m fairly certain there is no such thing, and parsing parameters out of the URL path has nothing to do with REST either.
评论 #10781665 未加载
mindcrashover 9 years ago
If you&#x27;d like a micro framework with batteries included, but still want to be able to completely switch stuff around as you go <a href="http:&#x2F;&#x2F;jodd.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jodd.org&#x2F;</a> is really worth a look, I think.
gd78over 9 years ago
Could someone please explain me where the benefit is over using some embedded tomcat&#x2F;jetty, weld, jersey, hibernate&#x2F;jdbc? Setting up such a project cost me 30 min and gives me full flexibility choosing the stack I need for my project.
评论 #10777987 未加载
评论 #10777231 未加载
sscarduzioover 9 years ago
No offence, but this is basically the poor man&#x27;s Finagle. Except Finagle is Netty based, and this is Jetty based.<p>Anyway, this API is really as terse as one can get with Java. Great developer-UX job!
评论 #10777535 未加载
ilamparithiover 9 years ago
It&#x27;s good that they are targeting from Java 6. Most of these latest micro frameworks only supports Java 8. Will be really helpful for people who are stuck with Java 6&#x2F;7.
memonkeyover 9 years ago
I love Java and I love playing with lightweight Java frameworks.
eitlandover 9 years ago
Seems nice. Apparently Apache Licensed as well.