|
Sponsored Links
Resources
Enterprise Java Research Library
Get Java white papers, product information, case studies and webcasts
|
News
News
News
|
Messages: 6
Messages: 6
Messages: 6
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
RESTEasy 1.2 Released
After a few months RESTEasy 1.2.GA is finally ready. This is mostly a cleanup, bug fix, and refactoring release, but here are some features of note:
I'd also like to thank Attila Kiraly for fixing some bugs that cropped up in Multipart and XOP support. Pascal de Kloe, a new committer, also helped refactor content negotiation to support charset variants. Solomon Duskis continues to be a seasoned veteran and helps with bugs and features here and there.
What's next? I'd like to focus next on getting complete OAuth support in. I think it will help out our REST-* efforts as we look to secure the services we're defining there. RESTEasy is also going to expand beyond a simple JAX-RS implementation. As JBoss projects like HornetQ, jBPM, Drools, Transactions, and Infinispan obtain RESTful interfaces, I'll be creating a REST profile under the RESTEasy umbrella.
Useful links:
|
|
Message #328921
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Congratulations
Congratulations on the JBoss RestEasy team for another great release. Using it and addicted to it ! :D
|
|
Message #328926
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Forgot to thank Lincoln Baxter!!!
Forgot to thank Lincoln Baxter for adding client-side exception handling support!
|
|
Message #328952
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Apache Client 4.0
> Added Apache Client 4.0 support. It seems a bit quirky and slow compared to 3.1
Based on feedback of our users and our own benchmark results HttpClient 4.0 is known to be faster than 3.1 for small to medium messages, but not by much. HttpCore is _significantly_ faster than both if performance matters to you more than features.
Could you please expand on being "a bit quirky"?
Full disclaimer: I am one of Apache HttpClient developers
Oleg
|
|
Message #328958
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Apache Client 4.0
> Added Apache Client 4.0 support. It seems a bit quirky and slow compared to 3.1
Based on feedback of our users and our own benchmark results HttpClient 4.0 is known to be faster than 3.1 for small to medium messages, but not by much. HttpCore is _significantly_ faster than both if performance matters to you more than features.
Could you please expand on being "a bit quirky"?
Full disclaimer: I am one of Apache HttpClient developers
Oleg
I should both a) look into it a bit more and b) take this offline. I switched out 3.1 for 4.0 and RESTEasy testsuite ran 4-10 times slower (I forget the number but it was significant enough to rollback to 3.1). I really didn't have the cycles to look into it much, but it seemed that POSTs were really slow at times. Just a wild guess, but connection cleanup might be the issue because it seemed intermittent.
I want to use 4.0 so I'll probably ping you sometime in the near future.
Also, it would be cool to merge some RESTEasy client work with Apache Client. Have something JAX-RS friendly that doesn't have the overhead of wrapping a JAX-RS client api on top of Apache Client. I also have a bunch of ideas for asychronicity. Anyways...Thats a few months off for me.
-- Bill
|
|
Message #328959
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Apache Client 4.0
> I switched out 3.1 for 4.0 and RESTEasy testsuite ran 4-10 times slower (I forget the number but it was significant enough to rollback to 3.1).
The only plausible explanation for such a massive performance degradation could be improper configuration of the connection pool leading to worker threads spending most the time blocked waiting for a connection to become available.
You are very welcome to let us know about ideas at dev@hc.apache.org
Oleg
|
|
Message #328973
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
upgraded on thursday
I updated our code base on Thursday to Resteasy 1.2 and httpclient 4.0 (somebody 'accidentally' added httpclient 4 dependency elsewhere and I decided to just go ahead and get rid of 3.1. It was relatively straightforward to do. I might have delayed if I'd known about the potential issues with httpclient 4.0. Anyway, so far so good and I can always roll back to 3.1 if we run into any issues. I haven't done any load tests with this so far.
I did go for the threadsafe connection manager btw with some reasonable settings suggested in the httpclient tutorial. Using the default connection manager would not be appropriate on an application server probably and might explain the slowdown.
|
|
 |
New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com |
 |
 |
Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6.
(November 2, Article)
SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options.
(September 28, Article)
Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team.
(September 22, Article)
Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies.
(July 14, Article)
JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags.
(June 29, Article)
In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project.
(June 23, Tech Talk)
Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now.
(June 15, Tech Talk)
In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements.
(June 15, Tech Talk)
In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls.
(June 4, Tech Talk)
Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable.
(May 28, Tech Talk)
This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work.
(May 26, Tech Talk)
Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers.
(May 21, Tech Talk)
Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application.
(May 19, Article)
In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources.
(May 19, Tech Talk)
Download the entire book of Jakarta-Struts Live and learn about Struts MVC, Tiles, the Validator, DynaActionForms, plug-ins, internationalization, and more.
(Book PDF Download)
The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)
|
|